Parent

Methods

Struct

Public Instance Methods

to_h() click to toggle source
# File lib/backports/2.0.0/struct/to_h.rb, line 3
def to_h
  h = {}
  self.class.members.each{|m| h[m.to_sym] = self[m]}
  h
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.