Class: ReeJson::ToJson
- Inherits:
-
Object
- Object
- ReeJson::ToJson
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_json/package/ree_json/functions/to_json.rb
Instance Method Summary collapse
Instance Method Details
#call(object, **opts) ⇒ Object
33 34 35 36 37 38 |
# File 'lib/ree_lib/packages/ree_json/package/ree_json/functions/to_json.rb', line 33 def call(object, **opts) = DEFAULT_OPTIONS .merge(opts) Oj.dump(object, ) end |