class Struct
Public Instance Methods
to_json(*a)
click to toggle source
# File lib/cricos_scrape/json_struct.rb, line 8 def to_json(*a) to_map.to_json(*a) end
to_map()
click to toggle source
# File lib/cricos_scrape/json_struct.rb, line 2 def to_map map = Hash.new self.members.each { |m| map[m] = self[m] } map end