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.



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