Method: Megam::Error#to_json
- Defined in:
- lib/megam/core/error.rb
#to_json(*a) ⇒ Object
Serialize this object as a hash: called from JsonCompat. Verify if this called from JsonCompat during testing.
54 55 56 |
# File 'lib/megam/core/error.rb', line 54 def to_json(*a) for_json.to_json(*a) end |