Class: Chef::DSL::Toml::Dumper
- Inherits:
-
Object
- Object
- Chef::DSL::Toml::Dumper
- Defined in:
- lib/chef/dsl/toml.rb
Instance Attribute Summary collapse
-
#toml_str ⇒ Object
readonly
Returns the value of attribute toml_str.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Dumper
constructor
A new instance of Dumper.
Constructor Details
#initialize(hash) ⇒ Dumper
Returns a new instance of Dumper.
10 11 12 13 14 |
# File 'lib/chef/dsl/toml.rb', line 10 def initialize(hash) @toml_str = "" visit(hash, []) end |
Instance Attribute Details
#toml_str ⇒ Object (readonly)
Returns the value of attribute toml_str.
8 9 10 |
# File 'lib/chef/dsl/toml.rb', line 8 def toml_str @toml_str end |