Class: Struct

Inherits:
Object show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/json.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/lib/grpc/generic/active_call.rb

Overview

:nodoc:

Direct Known Subclasses

ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher::AttributeMethodMatch, ActiveRecord::Associations::JoinDependency::Aliases::Column, ActiveRecord::Associations::JoinDependency::Aliases::Table, ActiveRecord::ConnectionAdapters::AddColumnDefinition, ActiveRecord::ConnectionAdapters::ChangeColumnDefinition, ActiveRecord::ConnectionAdapters::CheckConstraintDefinition, ActiveRecord::ConnectionAdapters::ColumnDefinition, ActiveRecord::ConnectionAdapters::CreateIndexDefinition, ActiveRecord::ConnectionAdapters::ForeignKeyDefinition, ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Array::Data, ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition, ActiveRecord::Migration::ReversibleBlockHelper, ActiveRecord::MigrationProxy, ActiveRecord::Point, ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds, ActiveSupport::Callbacks::Filters::Environment, ActiveSupport::ExecutionWrapper::CompleteHook, ActiveSupport::ExecutionWrapper::RunHook, ActiveSupport::Testing::SimpleStubs::Stub, Arel::Attributes::Attribute, Arel::Visitors::Dot::Edge, Args, CodeRay::Encoders::Statistic::TypeStats, CodeRay::Scanners::Ruby::StringState, Concurrent::SerializedExecution::Job, Concurrent::Transaction::OpenEntry, Cucumber::Core::Test::Location::Lines, Cucumber::Core::Test::Location::Precise, Cucumber::Core::Test::Location::Wildcard, Cucumber::Formatter::AstLookup::KeywordSearchNode, Cucumber::Formatter::AstLookup::ScenarioOutlineSource, Cucumber::Formatter::AstLookup::ScenarioSource, Cucumber::Formatter::AstLookup::StepSource, Cucumber::Formatter::Progress::TestCaseData, GRPC::RpcDesc, Gherkin::GherkinLine::Span, Gherkin::Token, I18n::Locale::Tag::Rfc4646, NATS::JetStream::API::ConsumerConfig, NATS::JetStream::API::ConsumerInfo, NATS::JetStream::API::RawStreamMsg, NATS::JetStream::API::SequenceInfo, NATS::JetStream::API::StreamConfig, NATS::JetStream::API::StreamCreateResponse, NATS::JetStream::API::StreamInfo, NATS::JetStream::API::StreamState, NATS::JetStream::Msg::Ack::SequencePair, NATS::JetStream::PubAck, NATS::KeyValue::API::KeyValueConfig, NATS::KeyValue::Entry, RSpec::Core::Bisect::ExampleMinimizer::ExampleRange, RSpec::Core::Bisect::ExampleSetDescriptor, RSpec::Core::Formatters::DeprecationFormatter::GeneratedDeprecationMessage, RSpec::Core::Formatters::DeprecationFormatter::SpecifiedDeprecationMessage, RSpec::Core::Hooks::Hook, RSpec::Core::Invocations::PrintHelp, RSpec::Core::Notifications::CustomNotification, RSpec::Core::Notifications::DeprecationNotification, RSpec::Core::Notifications::ExampleNotification, RSpec::Core::Notifications::GroupNotification, RSpec::Core::Notifications::MessageNotification, RSpec::Core::Notifications::SeedNotification, RSpec::Core::Notifications::StartNotification, RSpec::Core::Notifications::SummaryNotification, RSpec::Core::SharedContext::Recording, RSpec::Expectations::BlockSnippetExtractor::BlockLocator, RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor, RSpec::Matchers::BuiltIn::CaptureStreamToTempfile, RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution, RSpec::Matchers::BuiltIn::Exist::ExistenceTest, RSpec::Matchers::Composable::DescribableItem, RSpec::Mocks::Proxy::SpecificMessage, RSpec::Support::InSubProcess::UnmarshableObject, RSpec::Support::ObjectFormatter::BaseInspector, RSpec::Support::ObjectFormatter::InspectableItem, RSpec::Support::ShellOut::FakeProcessStatus, RSpec::Support::Source::Location, Rack::Directory::DirectoryBody, Rack::Multipart::Parser::Collector::MimePart, Rack::Multipart::Parser::MultipartInfo, Sinatra::ExtendedRack, Sinatra::Reloader::Watcher::Element, Sys::Uname::UnameStruct, WEBrick::HTTPAuth::DigestAuth::OpaqueInfo

Defined Under Namespace

Classes: BatchResult

Instance Method Summary collapse

Instance Method Details

#as_json(options = nil) ⇒ Object



69
70
71
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/json.rb', line 69

def as_json(options = nil)
  Hash[members.zip(values)].as_json(options)
end