Module: Jsonorama::Helper

Defined in:
lib/jsonorama/helper.rb

Instance Method Summary collapse

Instance Method Details

#json(object) ⇒ Object



3
4
5
# File 'lib/jsonorama/helper.rb', line 3

def json object
  ActiveSupport::JSON.encode(object)
end