Module: Enumerable
- Included in:
- ActionDispatch::Cookies::CookieJar, ActionDispatch::Flash::FlashHash, ActionDispatch::Http::Headers, ActionDispatch::Journey::Nodes::Node, ActionDispatch::Journey::Routes, ActionDispatch::MiddlewareStack, ActionDispatch::Routing::Mapper::Scope, ActionDispatch::Routing::RouteSet::NamedRouteCollection, ActionView::CollectionRenderer::CollectionIterator, ActionView::PathSet, ActiveModel::Errors, ActiveRecord::Associations::JoinDependency::JoinPart, ActiveRecord::Batches::BatchEnumerator, ActiveRecord::ConnectionAdapters::StatementPool, ActiveRecord::Fixture, ActiveRecord::FixtureSet::File, ActiveRecord::Result, ActiveSupport::Callbacks::CallbackChain, ActiveSupport::DescendantsTracker::DescendantsArray, Mime::Mimes, Rails::Autoloaders, Rails::Engine::Railties, Rails::Paths::Path
- Defined in:
- activesupport/lib/active_support/core_ext/object/json.rb
Instance Method Summary collapse
-
#as_json(options = nil) ⇒ Object
:nodoc:.
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
148 149 150 |
# File 'activesupport/lib/active_support/core_ext/object/json.rb', line 148 def as_json( = nil) # :nodoc: to_a.as_json() end |