32 33 34 35 36 37 38
# File 'lib/fiddle/struct.rb', line 32 def to_h hash = {} each_pair do |name, value| hash[name] = unstruct(value) end hash end