Class: Struct
Overview
:nodoc:
Direct Known Subclasses
ActiveSupport::Callbacks::Filters::Environment, ActiveSupport::ExecutionWrapper::CompleteHook, ActiveSupport::ExecutionWrapper::RunHook, ActiveSupport::Testing::SimpleStubs::Stub
Instance Method Summary collapse
Instance Method Details
permalink #as_json(options = nil) ⇒ Object
[View source]
69 70 71 |
# File 'lib/active_support/core_ext/object/json.rb', line 69 def as_json( = nil) Hash[members.zip(values)].as_json() end |