Class: JSE::ToJsonTransform

Inherits:
Object
  • Object
show all
Defined in:
lib/jse/to_json_transform.rb

Instance Method Summary collapse

Instance Method Details

#apply(obj) ⇒ Object



3
4
5
# File 'lib/jse/to_json_transform.rb', line 3

def apply(obj)
  obj.to_json
end