class Struct

Public Instance Methods

to_h() click to toggle source
# File lib/immutable/core_ext/struct.rb, line 5
def to_h
  Hash[each_pair.to_a]
end