Class: PuppetX::Gitlab::Dumper
- Inherits:
-
Object
- Object
- PuppetX::Gitlab::Dumper
- Defined in:
- lib/puppet_x/gitlab/dumper.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.
33 34 35 36 37 |
# File 'lib/puppet_x/gitlab/dumper.rb', line 33 def initialize(hash) @toml_str = '' visit(hash, []) end |
Instance Attribute Details
#toml_str ⇒ Object (readonly)
Returns the value of attribute toml_str.
31 32 33 |
# File 'lib/puppet_x/gitlab/dumper.rb', line 31 def toml_str @toml_str end |