Class: PuppetX::Gitlab::Dumper

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet_x/gitlab/dumper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_strObject (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