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