Class: OpenStruct
- Inherits:
-
Object
- Object
- OpenStruct
- Defined in:
- lib/marty/monkey.rb
Instance Method Summary collapse
-
#as_json ⇒ Object
the default as_json produces “table”=>h which is quite goofy.
Instance Method Details
#as_json ⇒ Object
the default as_json produces “table”=>h which is quite goofy
280 281 282 |
# File 'lib/marty/monkey.rb', line 280 def as_json(*) self.to_h end |