Method: Ruote::HashDot#dump

Defined in:
lib/ruote/util/hashdot.rb

#dumpObject



45
46
47
48
49
50
51
52
53
54
# File 'lib/ruote/util/hashdot.rb', line 45

def dump

  s = "~~ h ~~\n"
  each do |k, v|
    s << "  * '#{k}' => "
    s << v.inspect
    s << "\n"
  end
  s << "~~ . ~~"
end