Class: Struct
- Defined in:
- activesupport/lib/active_support/core_ext/object/json.rb
Overview
:nodoc:
Direct Known Subclasses
ActionController::ParamsWrapper::Options, ActionDispatch::Journey::Format::Parameter, ActionDispatch::Response::ContentTypeHeader, ActionDispatch::Routing::RouteSet::Config, ActionMailbox::Relayer::Result, ActionView::MissingTemplate::Results::Result, ActionView::Resolver::PathParser::ParsedPath, ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::AttributeMethod, ActiveRecord::Associations::JoinDependency::Aliases::Column, ActiveRecord::Associations::JoinDependency::Aliases::Table, ActiveRecord::ConnectionAdapters::AddColumnDefinition, ActiveRecord::ConnectionAdapters::ChangeColumnDefaultDefinition, ActiveRecord::ConnectionAdapters::ChangeColumnDefinition, ActiveRecord::ConnectionAdapters::CheckConstraintDefinition, ActiveRecord::ConnectionAdapters::ColumnDefinition, ActiveRecord::ConnectionAdapters::CreateIndexDefinition, ActiveRecord::ConnectionAdapters::ForeignKeyDefinition, ActiveRecord::ConnectionAdapters::PostgreSQL::ExclusionConstraintDefinition, ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Array::Data, ActiveRecord::ConnectionAdapters::PostgreSQL::UniqueKeyDefinition, ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition, ActiveRecord::Migration::ReversibleBlockHelper, ActiveRecord::MigrationProxy, ActiveRecord::Point, ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds, ActiveRecord::TokenFor::TokenDefinition, ActiveSupport::Callbacks::Filters::Environment, ActiveSupport::ExecutionWrapper::CompleteHook, ActiveSupport::ExecutionWrapper::RunHook, ActiveSupport::SyntaxErrorProxy::BacktraceLocation, ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report, ActiveSupport::Testing::SimpleStubs::Stub, Arel::Attributes::Attribute, Arel::Visitors::Dot::Edge, Rails::Generators::AppBase::GemfileEntry, Rails::SourceAnnotationExtractor::Annotation, Rails::SourceAnnotationExtractor::ParserExtractor, Rails::SourceAnnotationExtractor::PatternExtractor
Instance Method Summary collapse
Instance Method Details
#as_json(options = nil) ⇒ Object
77 78 79 |
# File 'activesupport/lib/active_support/core_ext/object/json.rb', line 77 def as_json( = nil) to_h.as_json() end |