Class TOML::Generator
In: lib/toml/generator.rb
Parent: Object

Methods

inject!   new  

Attributes

body  [R] 
doc  [R] 

Public Class methods

Inject to_toml methods into the Ruby classes used by TOML (booleans, String, Numeric, Array). You can add to_toml methods to your own classes to allow them to be easily serialized by the generator (and it will shout if something doesn‘t have a to_toml method).

[Validate]