diff --git a/Gemfile b/Gemfile index 0355afcd1..4679cce5c 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gemspec CURRENT_RAILS_VERSION = "7.1" rails_version = ENV.fetch("RAILS_VERSION", CURRENT_RAILS_VERSION) -gem "minitest" +gem "minitest", "< 5.25.0" # minitest 5.25.0+ is incompatible with minitest-hooks gem "minitest-hooks" gem "minitest-reporters" gem "debug" diff --git a/Gemfile.lock b/Gemfile.lock index ca1fa2e21..0f730473e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -376,7 +376,7 @@ DEPENDENCIES json_api_client kramdown (~> 2.4) kredis - minitest + minitest (< 5.25.0) minitest-hooks minitest-reporters mutex_m diff --git a/lib/tapioca/gem/listeners/methods.rb b/lib/tapioca/gem/listeners/methods.rb index 1b3714d6f..4829edfc2 100644 --- a/lib/tapioca/gem/listeners/methods.rb +++ b/lib/tapioca/gem/listeners/methods.rb @@ -71,10 +71,30 @@ def compile_directly_owned_methods( def compile_method(tree, symbol_name, constant, method, visibility = RBI::Public.new) return unless method return unless method_owned_by_constant?(method, constant) - return if @pipeline.symbol_in_payload?(symbol_name) && !@pipeline.method_in_gem?(method) - signature = lookup_signature_of(method) - method = T.let(signature.method, UnboundMethod) if signature + begin + signature = signature_of!(method) + method = T.let(signature.method, UnboundMethod) if signature + + case @pipeline.method_definition_in_gem(method.name, constant) + when nil + # This means that this is a C-method. Thus, we want to + # skip it only if the constant is an ignored one, since + # that probably means that we've hit a C-method for a + # core type. + return if @pipeline.symbol_in_payload?(symbol_name) + when false + # Do not process this method, if it is not defined by the current gem + return + end + rescue SignatureBlockError => error + @pipeline.error_handler.call(<<~MSG) + Unable to compile signature for method: #{method.owner}##{method.name} + Exception raised when loading signature: #{error.cause.inspect} + MSG + + signature = nil + end method_name = method.name.to_s return unless valid_method_name?(method_name) @@ -211,18 +231,6 @@ def initialize_method_for(constant) def ignore?(event) event.is_a?(Tapioca::Gem::ForeignScopeNodeAdded) end - - sig { params(method: UnboundMethod).returns(T.untyped) } - def lookup_signature_of(method) - signature_of!(method) - rescue LoadError, StandardError => error - @pipeline.error_handler.call(<<~MSG) - Unable to compile signature for method: #{method.owner}##{method.name} - Exception raised when loading signature: #{error.inspect} - MSG - - nil - end end end end diff --git a/lib/tapioca/gem/listeners/source_location.rb b/lib/tapioca/gem/listeners/source_location.rb index 9be40669f..d9a77691a 100644 --- a/lib/tapioca/gem/listeners/source_location.rb +++ b/lib/tapioca/gem/listeners/source_location.rb @@ -33,8 +33,13 @@ def on_scope(event) sig { override.params(event: MethodNodeAdded).void } def on_method(event) - file, line = event.method.source_location - add_source_location_comment(event.node, file, line) + definition = @pipeline.method_definition_in_gem(event.method.name, event.constant) + + case definition + when NilClass, FalseClass, TrueClass + else + add_source_location_comment(event.node, definition.first, definition.last) + end end sig { params(node: RBI::NodeWithComments, file: T.nilable(String), line: T.nilable(Integer)).void } diff --git a/lib/tapioca/gem/pipeline.rb b/lib/tapioca/gem/pipeline.rb index 2b1b655d3..91e20ee72 100644 --- a/lib/tapioca/gem/pipeline.rb +++ b/lib/tapioca/gem/pipeline.rb @@ -126,35 +126,38 @@ def symbol_in_payload?(symbol_name) @payload_symbols.include?(symbol_name) end - # this looks something like: - # "(eval at /path/to/file.rb:123)" - # and we are just interested in the "/path/to/file.rb" part - EVAL_SOURCE_FILE_PATTERN = T.let(/\(eval at (.+):\d+\)/, Regexp) - sig { params(name: T.any(String, Symbol)).returns(T::Boolean) } def constant_in_gem?(name) - return true unless Object.respond_to?(:const_source_location) - - source_file, _ = Object.const_source_location(name) - return true unless source_file - # If the source location of the constant is "(eval)", all bets are off. - return true if source_file == "(eval)" + source_file, _ = const_source_location(name) - # Ruby 3.3 adds automatic definition of source location for evals if - # `file` and `line` arguments are not provided. This results in the source - # file being something like `(eval at /path/to/file.rb:123)`. We try to parse - # this string to get the actual source file. - source_file = source_file.sub(EVAL_SOURCE_FILE_PATTERN, "\\1") + # If the source location of the constant isn't available or is "(eval)", all bets are off. + return true if source_file.nil? || source_file == "(eval)" gem.contains_path?(source_file) end - sig { params(method: UnboundMethod).returns(T::Boolean) } - def method_in_gem?(method) - source_location = method.source_location&.first - return false if source_location.nil? + sig { params(method_name: Symbol, owner: Module).returns(T.any([String, Integer], NilClass, T::Boolean)) } + def method_definition_in_gem(method_name, owner) + definitions = Tapioca::Runtime::Trackers::MethodDefinition.method_definitions_for(method_name, owner) + + # If the source location of the method isn't available, signal that by returning nil. + return if definitions.empty? + + # Look up the first entry that matches a file in the gem. + found = definitions.find { |file, _line| @gem.contains_path?(file) } + + unless found + # If the source location of the method is "(eval)", err on the side of caution and include the method. + found = definitions.find { |file, _line| file == "(eval)" } + # However, we can just return true to signal that the method should be included. + # We can't provide a source location for it, but we want it to be included in the gem RBI. + return true if found + end + + # If we searched but couldn't find a source location in the gem, return false to signal that. + return false unless found - @gem.contains_path?(source_location) + found end # Helpers diff --git a/lib/tapioca/runtime/reflection.rb b/lib/tapioca/runtime/reflection.rb index b21032222..71b74262c 100644 --- a/lib/tapioca/runtime/reflection.rb +++ b/lib/tapioca/runtime/reflection.rb @@ -33,6 +33,10 @@ module Reflection UNDEFINED_CONSTANT = T.let(Module.new.freeze, Module) REQUIRED_FROM_LABELS = T.let(["", "
"].freeze, T::Array[String]) + # this looks something like: + # "(eval at /path/to/file.rb:123)" + # and we are just interested in the "/path/to/file.rb" part + EVAL_SOURCE_FILE_PATTERN = T.let(/\(eval at (.+):\d+\)/, Regexp) T::Sig::WithoutRuntime.sig { params(constant: BasicObject).returns(T::Boolean) } def constant_defined?(constant) @@ -129,15 +133,19 @@ def qualified_name_of(constant) end end + SignatureBlockError = Class.new(StandardError) + sig { params(method: T.any(UnboundMethod, Method)).returns(T.untyped) } def signature_of!(method) T::Utils.signature_for_method(method) + rescue LoadError, StandardError + Kernel.raise SignatureBlockError end sig { params(method: T.any(UnboundMethod, Method)).returns(T.untyped) } def signature_of(method) signature_of!(method) - rescue LoadError, StandardError + rescue SignatureBlockError nil end @@ -177,17 +185,49 @@ def descendants_of(klass) T.unsafe(result) end + sig { params(constant_name: T.any(String, Symbol)).returns(T.nilable([String, Integer])) } + def const_source_location(constant_name) + return unless Object.respond_to?(:const_source_location) + + file, line = Object.const_source_location(constant_name) + + # Ruby 3.3 adds automatic definition of source location for evals if + # `file` and `line` arguments are not provided. This results in the source + # file being something like `(eval at /path/to/file.rb:123)`. We try to parse + # this string to get the actual source file. + file = file&.sub(EVAL_SOURCE_FILE_PATTERN, "\\1") + + [file, line] if file && line + end + # Examines the call stack to identify the closest location where a "require" is performed # by searching for the label "". If none is found, it returns the location # labeled "
", which is the original call site. - sig { params(locations: T.nilable(T::Array[Thread::Backtrace::Location])).returns(String) } + sig { params(locations: T.nilable(T::Array[Thread::Backtrace::Location])).returns(T.nilable([String, Integer])) } def resolve_loc(locations) - return "" unless locations + return unless locations + # Find the location of the closest file load, which should give us the location of the file that + # triggered the definition. resolved_loc = locations.find { |loc| REQUIRED_FROM_LABELS.include?(loc.label) } - return "" unless resolved_loc + return unless resolved_loc + + # Find the location of the last frame in this file to get the most accurate line number. + resolved_loc = locations.find { |loc| loc.absolute_path == resolved_loc.absolute_path } + return unless resolved_loc + + # If the last operation was a `require`, and we have no more frames, + # we are probably dealing with a C-method. + return if locations.first&.label == "require" + + file = resolved_loc.absolute_path || "" + # Ruby 3.3 adds automatic definition of source location for evals if + # `file` and `line` arguments are not provided. This results in the source + # file being something like `(eval at /path/to/file.rb:123)`. We try to parse + # this string to get the actual source file. + file = file.sub(EVAL_SOURCE_FILE_PATTERN, "\\1") - resolved_loc.absolute_path || "" + [file, resolved_loc.lineno] end sig { params(constant: Module).returns(T::Set[String]) } diff --git a/lib/tapioca/runtime/trackers.rb b/lib/tapioca/runtime/trackers.rb index d57f087e3..f1f2aa4e0 100644 --- a/lib/tapioca/runtime/trackers.rb +++ b/lib/tapioca/runtime/trackers.rb @@ -56,3 +56,4 @@ def register_tracker(tracker) require "tapioca/runtime/trackers/constant_definition" require "tapioca/runtime/trackers/autoload" require "tapioca/runtime/trackers/required_ancestor" +require "tapioca/runtime/trackers/method_definition" diff --git a/lib/tapioca/runtime/trackers/constant_definition.rb b/lib/tapioca/runtime/trackers/constant_definition.rb index 3ebd83402..93f6ef632 100644 --- a/lib/tapioca/runtime/trackers/constant_definition.rb +++ b/lib/tapioca/runtime/trackers/constant_definition.rb @@ -59,10 +59,10 @@ def disable! end def build_constant_location(tp, locations) - file = resolve_loc(locations) - lineno = File.identical?(file, tp.path) ? tp.lineno : 0 + file, line = resolve_loc(locations) + lineno = file && File.identical?(file, tp.path) ? tp.lineno : (line || 0) - ConstantLocation.new(path: file, lineno: lineno) + ConstantLocation.new(path: file || "", lineno: lineno) end # Returns the files in which this class or module was opened. Doesn't know diff --git a/lib/tapioca/runtime/trackers/method_definition.rb b/lib/tapioca/runtime/trackers/method_definition.rb new file mode 100644 index 000000000..38c975e84 --- /dev/null +++ b/lib/tapioca/runtime/trackers/method_definition.rb @@ -0,0 +1,70 @@ +# typed: true +# frozen_string_literal: true + +module Tapioca + module Runtime + module Trackers + module MethodDefinition + extend Tracker + extend T::Sig + + @method_definitions = T.let( + {}.compare_by_identity, + T::Hash[Module, T::Hash[Symbol, T::Array[[String, Integer]]]], + ) + + class << self + extend T::Sig + + sig { params(method_name: Symbol, owner: Module, locations: T::Array[Thread::Backtrace::Location]).void } + def register(method_name, owner, locations) + return unless enabled? + # If Sorbet runtime is redefining a method, it sets this to true. + # In those cases, we should skip the registration, as the method's original + # definition should already be registered. + return if T::Private::DeclState.current.skip_on_method_added + + loc = Reflection.resolve_loc(locations) + return unless loc + + registrations_for(method_name, owner) << loc + end + + sig { params(method_name: Symbol, owner: Module).returns(T::Array[[String, Integer]]) } + def method_definitions_for(method_name, owner) + definitions = registrations_for(method_name, owner) + + if definitions.empty? + source_loc = owner.instance_method(method_name).source_location + definitions = [source_loc] if source_loc + end + + definitions + end + + private + + sig { params(method_name: Symbol, owner: Module).returns(T::Array[[String, Integer]]) } + def registrations_for(method_name, owner) + owner_lookup = (@method_definitions[owner] ||= {}) + owner_lookup[method_name] ||= [] + end + end + end + end + end +end + +class Module + prepend(Module.new do + def singleton_method_added(method_name) + Tapioca::Runtime::Trackers::MethodDefinition.register(method_name, singleton_class, caller_locations) + super + end + + def method_added(method_name) + Tapioca::Runtime::Trackers::MethodDefinition.register(method_name, self, caller_locations) + super + end + end) +end diff --git a/lib/tapioca/runtime/trackers/mixin.rb b/lib/tapioca/runtime/trackers/mixin.rb index f0c37a84e..c57c70a50 100644 --- a/lib/tapioca/runtime/trackers/mixin.rb +++ b/lib/tapioca/runtime/trackers/mixin.rb @@ -35,7 +35,8 @@ def with_disabled_registration(&block) def register(constant, mixin, mixin_type) return unless enabled? - location = Reflection.resolve_loc(caller_locations) + location, _ = Reflection.resolve_loc(caller_locations) + return unless location register_with_location(constant, mixin, mixin_type, location) end diff --git a/sorbet/rbi/gems/aasm@5.5.0.rbi b/sorbet/rbi/gems/aasm@5.5.0.rbi index 3c35f53a0..1bd0806dc 100644 --- a/sorbet/rbi/gems/aasm@5.5.0.rbi +++ b/sorbet/rbi/gems/aasm@5.5.0.rbi @@ -114,7 +114,7 @@ class AASM::Base # make sure to create a (named) scope for each state # - # source://aasm//lib/aasm/persistence/base.rb#60 + # source://aasm//lib/aasm/persistence/base.rb#67 def state(*args); end # Returns the value of attribute state_machine. @@ -135,7 +135,7 @@ class AASM::Base # [0] state # [1..] state # - # source://aasm//lib/aasm/base.rb#90 + # source://aasm//lib/aasm/persistence/base.rb#66 def state_without_scope(*args); end # source://aasm//lib/aasm/base.rb#173 @@ -788,7 +788,7 @@ class AASM::Core::State # source://aasm//lib/aasm/core/state.rb#72 def for_select; end - # source://aasm//lib/aasm/core/state.rb#67 + # source://aasm//lib/aasm/core/state.rb#70 def human_name; end # source://aasm//lib/aasm/core/state.rb#67 @@ -871,7 +871,7 @@ class AASM::Core::Transition # Returns the value of attribute opts. # - # source://aasm//lib/aasm/core/transition.rb#7 + # source://aasm//lib/aasm/core/transition.rb#8 def options; end # Returns the value of attribute opts. @@ -1288,13 +1288,13 @@ class AASM::StateMachineStore # source://aasm//lib/aasm/state_machine_store.rb#43 def initialize; end - # source://aasm//lib/aasm/state_machine_store.rb#55 + # source://aasm//lib/aasm/state_machine_store.rb#58 def [](name); end # source://aasm//lib/aasm/state_machine_store.rb#47 def clone; end - # source://aasm//lib/aasm/state_machine_store.rb#60 + # source://aasm//lib/aasm/state_machine_store.rb#63 def keys; end # source://aasm//lib/aasm/state_machine_store.rb#55 @@ -1307,13 +1307,13 @@ class AASM::StateMachineStore def register(name, machine, force = T.unsafe(nil)); end class << self - # source://aasm//lib/aasm/state_machine_store.rb#27 + # source://aasm//lib/aasm/state_machine_store.rb#36 def [](klass, fallback = T.unsafe(nil)); end # do not overwrite existing state machines, which could have been created by # inheritance, see AASM::ClassMethods method inherited # - # source://aasm//lib/aasm/state_machine_store.rb#13 + # source://aasm//lib/aasm/state_machine_store.rb#25 def []=(klass, overwrite = T.unsafe(nil), state_machine = T.unsafe(nil)); end # source://aasm//lib/aasm/state_machine_store.rb#27 diff --git a/sorbet/rbi/gems/actioncable@7.1.3.4.rbi b/sorbet/rbi/gems/actioncable@7.1.3.4.rbi index 2befa40c0..ca766ba4c 100644 --- a/sorbet/rbi/gems/actioncable@7.1.3.4.rbi +++ b/sorbet/rbi/gems/actioncable@7.1.3.4.rbi @@ -152,34 +152,34 @@ class ActionCable::Channel::Base # @return [Base] a new instance of Base # - # source://actioncable//lib/action_cable/channel/base.rb#147 + # source://actioncable//lib/action_cable/channel/base.rb#142 def initialize(connection, identifier, params = T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _run_subscribe_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _run_unsubscribe_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _subscribe_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _unsubscribe_callbacks; end - # source://actioncable//lib/action_cable/channel/broadcasting.rb#11 + # source://actioncable//lib/action_cable/channel/base.rb#105 def broadcast_to(model, message, &block); end - # source://actioncable//lib/action_cable/channel/broadcasting.rb#11 + # source://actioncable//lib/action_cable/channel/base.rb#105 def broadcasting_for(model, &block); end - # source://actioncable//lib/action_cable/channel/naming.rb#23 + # source://actioncable//lib/action_cable/channel/base.rb#104 def channel_name(&block); end # Returns the value of attribute connection. @@ -204,126 +204,126 @@ class ActionCable::Channel::Base # that the action requested is a public method on the channel declared by the user (so not one of the callbacks # like #subscribed). # - # source://actioncable//lib/action_cable/channel/base.rb#167 + # source://actioncable//lib/action_cable/channel/base.rb#142 def perform_action(data); end - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers?; end # This method is called after subscription has been added to the connection # and confirms or rejects the subscription. # - # source://actioncable//lib/action_cable/channel/base.rb#182 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscribe_to_channel; end # Called by the cable connection when it's cut, so the channel has a chance to cleanup with callbacks. # This method is not intended to be called directly by the user. Instead, override the #unsubscribed callback. # - # source://actioncable//lib/action_cable/channel/base.rb#193 + # source://actioncable//lib/action_cable/channel/base.rb#142 def unsubscribe_from_channel; end private - # source://actioncable//lib/action_cable/channel/base.rb#281 + # source://actioncable//lib/action_cable/channel/base.rb#142 def action_signature(action, data); end - # source://actioncable//lib/action_cable/channel/base.rb#233 + # source://actioncable//lib/action_cable/channel/base.rb#142 def defer_subscription_confirmation!; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#237 + # source://actioncable//lib/action_cable/channel/base.rb#142 def defer_subscription_confirmation?; end - # source://actioncable//lib/action_cable/channel/base.rb#253 + # source://actioncable//lib/action_cable/channel/base.rb#142 def delegate_connection_identifiers; end - # source://actioncable//lib/action_cable/channel/base.rb#269 + # source://actioncable//lib/action_cable/channel/base.rb#142 def dispatch_action(action, data); end - # source://actioncable//lib/action_cable/channel/base.rb#227 + # source://actioncable//lib/action_cable/channel/base.rb#142 def ensure_confirmation_sent; end - # source://actioncable//lib/action_cable/channel/base.rb#261 + # source://actioncable//lib/action_cable/channel/base.rb#142 def extract_action(data); end - # source://actioncable//lib/action_cable/channel/base.rb#292 + # source://actioncable//lib/action_cable/channel/base.rb#142 def parameter_filter; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#265 + # source://actioncable//lib/action_cable/channel/base.rb#142 def processable_action?(action); end - # source://actioncable//lib/action_cable/channel/base.rb#245 + # source://actioncable//lib/action_cable/channel/base.rb#142 def reject; end - # source://actioncable//lib/action_cable/channel/base.rb#307 + # source://actioncable//lib/action_cable/channel/base.rb#142 def reject_subscription; end # Called once a consumer has become a subscriber of the channel. Usually the place to set up any streams # you want this channel to be sending to the subscriber. # - # source://actioncable//lib/action_cable/channel/base.rb#202 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscribed; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#241 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscription_confirmation_sent?; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#249 + # source://actioncable//lib/action_cable/channel/base.rb#142 def subscription_rejected?; end # Transmit a hash of data to the subscriber. The hash will automatically be wrapped in a JSON envelope with # the proper channel identifier marked as the recipient. # - # source://actioncable//lib/action_cable/channel/base.rb#214 + # source://actioncable//lib/action_cable/channel/base.rb#142 def transmit(data, via: T.unsafe(nil)); end - # source://actioncable//lib/action_cable/channel/base.rb#296 + # source://actioncable//lib/action_cable/channel/base.rb#142 def transmit_subscription_confirmation; end - # source://actioncable//lib/action_cable/channel/base.rb#312 + # source://actioncable//lib/action_cable/channel/base.rb#142 def transmit_subscription_rejection; end # Called once a consumer has cut its cable connection. Can be used for cleaning up connections or marking # users as offline or the like. # - # source://actioncable//lib/action_cable/channel/base.rb#208 + # source://actioncable//lib/action_cable/channel/base.rb#142 def unsubscribed; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/channel/base.rb#101 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _subscribe_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _subscribe_callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _unsubscribe_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/channel/base.rb#101 def _unsubscribe_callbacks=(value); end # A list of method names that should be considered actions. This @@ -338,22 +338,22 @@ class ActionCable::Channel::Base # source://actioncable//lib/action_cable/channel/base.rb#120 def action_methods; end - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers; end - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers=(value); end - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#9 + # source://actioncable//lib/action_cable/channel/base.rb#102 def periodic_timers?; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/channel/base.rb#106 def rescue_handlers?; end private @@ -483,10 +483,10 @@ module ActionCable::Channel::Callbacks::ClassMethods # # after_subscribe :my_method, unless: :subscription_rejected? # - # source://actioncable//lib/action_cable/channel/callbacks.rb#58 + # source://actioncable//lib/action_cable/channel/callbacks.rb#61 def on_subscribe(*methods, &block); end - # source://actioncable//lib/action_cable/channel/callbacks.rb#67 + # source://actioncable//lib/action_cable/channel/callbacks.rb#70 def on_unsubscribe(*methods, &block); end end @@ -518,7 +518,7 @@ module ActionCable::Channel::ChannelStub # Make periodic timers no-op # - # source://actioncable//lib/action_cable/channel/test_case.rb#45 + # source://actioncable//lib/action_cable/channel/test_case.rb#46 def stop_periodic_timers; end # source://actioncable//lib/action_cable/channel/test_case.rb#32 @@ -1154,16 +1154,16 @@ class ActionCable::Connection::Base # source://actioncable//lib/action_cable/connection/base.rb#58 def initialize(server, env, coder: T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _command_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _run_command_callbacks(&block); end # source://actioncable//lib/action_cable/connection/base.rb#134 @@ -1191,13 +1191,13 @@ class ActionCable::Connection::Base # source://actioncable//lib/action_cable/connection/base.rb#98 def handle_channel_command(payload); end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers; end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers=(_arg0); end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers?; end # source://actioncable//lib/action_cable/connection/base.rb#155 @@ -1240,13 +1240,13 @@ class ActionCable::Connection::Base # source://actioncable//lib/action_cable/connection/base.rb#86 def receive(websocket_message); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers?; end # Invoke a method on the connection asynchronously through the pool of thread workers. @@ -1344,37 +1344,37 @@ class ActionCable::Connection::Base def websocket; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/connection/base.rb#52 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _command_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/connection/base.rb#52 def _command_callbacks=(value); end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers; end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers=(value); end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/connection/base.rb#49 def identifiers?; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actioncable//lib/action_cable/connection/base.rb#53 def rescue_handlers?; end end end @@ -2085,12 +2085,7 @@ class ActionCable::Connection::WebSocket end # source://actioncable//lib/action_cable/engine.rb#8 -class ActionCable::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +class ActionCable::Engine < ::Rails::Engine; end # source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#4 module ActionCable::Helpers; end @@ -2196,10 +2191,10 @@ class ActionCable::RemoteConnections::RemoteConnection # source://actioncable//lib/action_cable/remote_connections.rb#61 def identifiers; end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers=(_arg0); end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers?; end protected @@ -2222,13 +2217,13 @@ class ActionCable::RemoteConnections::RemoteConnection def valid_identifiers?(ids); end class << self - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers; end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers=(value); end - # source://actioncable//lib/action_cable/connection/identification.rb#11 + # source://actioncable//lib/action_cable/remote_connections.rb#48 def identifiers?; end end end @@ -2619,16 +2614,16 @@ class ActionCable::Server::Worker # source://actioncable//lib/action_cable/server/worker.rb#19 def initialize(max_size: T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _run_work_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _work_callbacks; end # source://actioncable//lib/action_cable/server/worker.rb#46 @@ -2637,10 +2632,10 @@ class ActionCable::Server::Worker # source://actioncable//lib/action_cable/server/worker.rb#50 def async_invoke(receiver, method, *args, connection: T.unsafe(nil), &block); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection=(obj); end # Returns the value of attribute executor. @@ -2671,25 +2666,25 @@ class ActionCable::Server::Worker def logger; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actioncable//lib/action_cable/server/worker.rb#11 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _work_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actioncable//lib/action_cable/server/worker.rb#14 def _work_callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://actioncable//lib/action_cable/server/worker.rb#13 def connection=(obj); end end end @@ -2770,13 +2765,13 @@ end # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#5 module ActionCable::SubscriptionAdapter::ChannelPrefix - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#25 def broadcast(channel, payload); end - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#11 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#29 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#16 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#33 def unsubscribe(channel, callback); end private @@ -2824,7 +2819,7 @@ class ActionCable::SubscriptionAdapter::Redis < ::ActionCable::SubscriptionAdapt # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#19 def initialize(*_arg0); end - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#6 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#25 def broadcast(channel, payload); end # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#41 @@ -2839,10 +2834,10 @@ class ActionCable::SubscriptionAdapter::Redis < ::ActionCable::SubscriptionAdapt # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#37 def shutdown; end - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#11 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#29 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#16 + # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#33 def unsubscribe(channel, callback); end private diff --git a/sorbet/rbi/gems/actionmailbox@7.1.3.4.rbi b/sorbet/rbi/gems/actionmailbox@7.1.3.4.rbi index b5b556f66..ea6f6c975 100644 --- a/sorbet/rbi/gems/actionmailbox@7.1.3.4.rbi +++ b/sorbet/rbi/gems/actionmailbox@7.1.3.4.rbi @@ -87,13 +87,13 @@ module ActionMailbox # source://actionmailbox//lib/action_mailbox.rb#24 def queues=(val); end - # source://railties/7.1.3.4/lib/rails/engine.rb#412 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def railtie_helpers_paths; end - # source://railties/7.1.3.4/lib/rails/engine.rb#395 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def railtie_namespace; end - # source://railties/7.1.3.4/lib/rails/engine.rb#416 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end # source://actionmailbox//lib/action_mailbox.rb#25 @@ -102,10 +102,7 @@ module ActionMailbox # source://actionmailbox//lib/action_mailbox.rb#25 def storage_service=(val); end - # source://railties/7.1.3.4/lib/rails/engine.rb#401 - def table_name_prefix; end - - # source://railties/7.1.3.4/lib/rails/engine.rb#408 + # source://actionmailbox//lib/action_mailbox/engine.rb#13 def use_relative_model_naming?; end # Returns the currently loaded version of Action Mailbox as a +Gem::Version+. @@ -190,16 +187,16 @@ class ActionMailbox::Base # source://actionmailbox//lib/action_mailbox/base.rb#79 def initialize(inbound_email); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _process_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _run_process_callbacks(&block); end # Immediately sends the given +message+ and changes the inbound email's status to +:bounced+. @@ -240,19 +237,19 @@ class ActionMailbox::Base # source://actionmailbox//lib/action_mailbox/base.rb#96 def process; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers?; end - # source://actionmailbox//lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router; end - # source://actionmailbox//lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router=(val); end private @@ -264,37 +261,37 @@ class ActionMailbox::Base def track_status_of_inbound_email; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _process_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def _process_callbacks=(value); end # source://actionmailbox//lib/action_mailbox/base.rb#75 def receive(inbound_email); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailbox//lib/action_mailbox/base.rb#67 def rescue_handlers?; end - # source://actionmailbox//lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router; end - # source://actionmailbox//lib/action_mailbox/routing.rb#9 + # source://actionmailbox//lib/action_mailbox/base.rb#68 def router=(val); end end end @@ -302,19 +299,14 @@ end class ActionMailbox::BaseController < ::ActionController::Base private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def authenticate_by_password; end def ensure_configured; end def ingress_name; end def password; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -346,7 +338,7 @@ module ActionMailbox::Callbacks end end -# source://actionmailbox//lib/action_mailbox/callbacks.rb#0 +# source://actionmailbox//lib/action_mailbox/callbacks.rb#22 module ActionMailbox::Callbacks::ClassMethods # source://actionmailbox//lib/action_mailbox/callbacks.rb#27 def after_processing(*methods, &block); end @@ -362,12 +354,7 @@ end ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc) # source://actionmailbox//lib/action_mailbox/engine.rb#12 -class ActionMailbox::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +class ActionMailbox::Engine < ::Rails::Engine; end class ActionMailbox::InboundEmail < ::ActionMailbox::Record include ::ActionMailbox::InboundEmail::GeneratedAttributeMethods @@ -377,121 +364,30 @@ class ActionMailbox::InboundEmail < ::ActionMailbox::Record include ::ActionMailbox::InboundEmail::Incineratable extend ::ActionMailbox::InboundEmail::MessageId::ClassMethods - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_raw_email_attachment(*args); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_raw_email_blob(*args); end - def instrumentation_payload; end def mail; end def processed?; end def source; end - - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def bounced(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def delivered(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def failed(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def not_bounced(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def not_delivered(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def not_failed(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def not_pending(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def not_processing(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def pending(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def processing(*args, **_arg1); end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#242 - def statuses; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def with_attached_raw_email(*args, **_arg1); end - end end module ActionMailbox::InboundEmail::GeneratedAssociationMethods - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32 def build_raw_email_attachment(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32 def build_raw_email_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36 def create_raw_email_attachment(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40 def create_raw_email_attachment!(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36 def create_raw_email_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40 def create_raw_email_blob!(*args, &block); end - - # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#99 def raw_email; end - - # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#104 def raw_email=(attachable); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def raw_email_attachment; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def raw_email_attachment=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def raw_email_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def raw_email_blob=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_raw_email_attachment; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_raw_email_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_raw_email_attachment; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_raw_email_blob; end end @@ -542,12 +438,8 @@ class ActionMailbox::IncinerationJob < ::ActiveJob::Base def perform(inbound_email); end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 def rescue_handlers; end - def schedule(inbound_email); end end end @@ -560,19 +452,14 @@ class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailb private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def authenticate; end def authenticated?; end def key; end def mail; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -601,9 +488,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def authenticate; end def authenticated?; end def events; end @@ -611,10 +496,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail def raw_emails; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -640,14 +522,10 @@ class ActionMailbox::Ingresses::Postmark::InboundEmailsController < ::ActionMail private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -659,16 +537,11 @@ class ActionMailbox::Ingresses::Relay::InboundEmailsController < ::ActionMailbox private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def require_valid_rfc822_message; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -680,17 +553,12 @@ class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ::ActionMail private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def envelope; end def mail; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -698,14 +566,6 @@ end class ActionMailbox::Record < ::ActiveRecord::Base include ::ActionMailbox::Record::GeneratedAttributeMethods include ::ActionMailbox::Record::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - end end module ActionMailbox::Record::GeneratedAssociationMethods; end @@ -778,7 +638,7 @@ module ActionMailbox::Routing mixes_in_class_methods ::ActionMailbox::Routing::ClassMethods end -# source://actionmailbox//lib/action_mailbox/routing.rb#0 +# source://actionmailbox//lib/action_mailbox/routing.rb#12 module ActionMailbox::Routing::ClassMethods # source://actionmailbox//lib/action_mailbox/routing.rb#21 def mailbox_for(inbound_email); end @@ -794,7 +654,6 @@ class ActionMailbox::RoutingJob < ::ActiveJob::Base def perform(inbound_email); end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 def queue_name; end end end @@ -911,168 +770,16 @@ ActionMailbox::VERSION::TINY = T.let(T.unsafe(nil), Integer) # source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#3 module Mail class << self - # source://mail/2.8.1/lib/mail/mail.rb#163 - def all(*args, &block); end - - # source://mail/2.8.1/lib/mail/mail.rb#183 - def connection(&block); end - - # source://mail/2.8.1/lib/mail/mail.rb#98 - def defaults(&block); end - - # source://mail/2.8.1/lib/mail/mail.rb#174 - def delete_all(*args, &block); end - - # source://mail/2.8.1/lib/mail/mail.rb#131 - def deliver(*args, &block); end - - # source://mail/2.8.1/lib/mail/mail.rb#103 - def delivery_method; end - - # source://mail/2.8.1/lib/mail.rb#35 - def eager_autoload!; end - - # source://mail/2.8.1/lib/mail/mail.rb#139 - def find(*args, &block); end - - # source://mail/2.8.1/lib/mail/mail.rb#145 - def find_and_delete(*args, &block); end - - # source://mail/2.8.1/lib/mail/mail.rb#151 - def first(*args, &block); end - # source://actionmailbox//lib/action_mailbox/mail_ext/from_source.rb#4 def from_source(source); end - - # source://mail/2.8.1/lib/mail/mail.rb#233 - def inform_interceptors(mail); end - - # source://mail/2.8.1/lib/mail/mail.rb#227 - def inform_observers(mail); end - - # source://mail/2.8.1/lib/mail/mail.rb#157 - def last(*args, &block); end - - # source://mail/2.8.1/lib/mail/mail.rb#50 - def new(*args, &block); end - - # source://mail/2.8.1/lib/mail/mail.rb#243 - def random_tag; end - - # source://mail/2.8.1/lib/mail/mail.rb#168 - def read(filename); end - - # source://mail/2.8.1/lib/mail/mail.rb#179 - def read_from_string(mail_as_string); end - - # source://mail/2.8.1/lib/mail.rb#23 - def register_autoload(name, path); end - - # source://mail/2.8.1/lib/mail/mail.rb#215 - def register_interceptor(interceptor); end - - # source://mail/2.8.1/lib/mail/mail.rb#196 - def register_observer(observer); end - - # source://mail/2.8.1/lib/mail/mail.rb#108 - def retriever_method; end - - # source://mail/2.8.1/lib/mail/mail.rb#252 - def something_random; end - - # source://mail/2.8.1/lib/mail/mail.rb#256 - def uniq; end - - # source://mail/2.8.1/lib/mail/mail.rb#223 - def unregister_interceptor(interceptor); end - - # source://mail/2.8.1/lib/mail/mail.rb#204 - def unregister_observer(observer); end end end # source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#4 class Mail::Address - # source://mail/2.8.1/lib/mail/elements/address.rb#25 - def initialize(value = T.unsafe(nil)); end - # source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#5 def ==(other_address); end - # source://mail/2.8.1/lib/mail/elements/address.rb#65 - def address(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#79 - def address=(value); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#132 - def comments; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#173 - def decoded; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#87 - def display_name(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#99 - def display_name=(str); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#118 - def domain(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#169 - def encoded; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#47 - def format(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#177 - def group; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#164 - def inspect; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#108 - def local(output_type = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#147 - def name; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#36 - def raw; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#156 - def to_s; end - - private - - # source://mail/2.8.1/lib/mail/elements/address.rb#237 - def format_comments; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#254 - def get_comments; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#218 - def get_display_name; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#250 - def get_domain; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#246 - def get_local; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#227 - def get_name; end - - # source://mail/2.8.1/lib/mail/elements/address.rb#183 - def parse(value = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#198 - def strip_all_comments(string); end - - # source://mail/2.8.1/lib/mail/elements/address.rb#207 - def strip_domain_comments(value); end - class << self # source://actionmailbox//lib/action_mailbox/mail_ext/address_wrapping.rb#5 def wrap(address); end @@ -1081,510 +788,24 @@ end # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#4 class Mail::Message - # source://mail/2.8.1/lib/mail/message.rb#107 - def initialize(*args, &block); end - - # source://mail/2.8.1/lib/mail/message.rb#334 - def <=>(other); end - - # source://mail/2.8.1/lib/mail/message.rb#373 - def ==(other); end - - # source://mail/2.8.1/lib/mail/message.rb#1334 - def [](name); end - - # source://mail/2.8.1/lib/mail/message.rb#1316 - def []=(name, value); end - - # source://mail/2.8.1/lib/mail/message.rb#1558 - def action; end - - # source://mail/2.8.1/lib/mail/message.rb#1472 - def add_charset; end - - # source://mail/2.8.1/lib/mail/message.rb#1487 - def add_content_transfer_encoding; end - - # source://mail/2.8.1/lib/mail/message.rb#1465 - def add_content_type; end - - # source://mail/2.8.1/lib/mail/message.rb#1448 - def add_date(date_val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1757 - def add_file(values); end - - # source://mail/2.8.1/lib/mail/message.rb#1438 - def add_message_id(msg_id_val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1458 - def add_mime_version(ver_val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1701 - def add_part(part); end - - # source://mail/2.8.1/lib/mail/message.rb#1927 - def all_parts; end - - # source://mail/2.8.1/lib/mail/message.rb#1918 - def attachment; end - - # source://mail/2.8.1/lib/mail/message.rb#1913 - def attachment?; end - - # source://mail/2.8.1/lib/mail/message.rb#1626 - def attachments; end - - # source://mail/2.8.1/lib/mail/message.rb#500 - def bcc(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#512 - def bcc=(val); end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#21 def bcc_addresses; end - # source://mail/2.8.1/lib/mail/message.rb#1306 - def bcc_addrs; end - - # source://mail/2.8.1/lib/mail/message.rb#1251 - def body(value = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1237 - def body=(value); end - - # source://mail/2.8.1/lib/mail/message.rb#1260 - def body_encoding(value = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1268 - def body_encoding=(value); end - - # source://mail/2.8.1/lib/mail/message.rb#1554 - def bounced?; end - - # source://mail/2.8.1/lib/mail/message.rb#1583 - def boundary; end - - # source://mail/2.8.1/lib/mail/message.rb#541 - def cc(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#553 - def cc=(val); end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#17 def cc_addresses; end - # source://mail/2.8.1/lib/mail/message.rb#1300 - def cc_addrs; end - - # source://mail/2.8.1/lib/mail/message.rb#1497 - def charset; end - - # source://mail/2.8.1/lib/mail/message.rb#1506 - def charset=(value); end - - # source://mail/2.8.1/lib/mail/message.rb#557 - def comments(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#561 - def comments=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#565 - def content_description(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#569 - def content_description=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#573 - def content_disposition(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#577 - def content_disposition=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#581 - def content_id(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#585 - def content_id=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#589 - def content_location(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#593 - def content_location=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#597 - def content_transfer_encoding(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#601 - def content_transfer_encoding=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#605 - def content_type(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#609 - def content_type=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1523 - def content_type_parameters; end - - # source://mail/2.8.1/lib/mail/message.rb#1773 - def convert_to_multipart; end - - # source://mail/2.8.1/lib/mail/message.rb#613 - def date(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#617 - def date=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1907 - def decode_body; end - - # source://mail/2.8.1/lib/mail/message.rb#1886 - def decoded; end - - # source://mail/2.8.1/lib/mail/message.rb#1204 - def default(sym, val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#250 - def deliver; end - - # source://mail/2.8.1/lib/mail/message.rb#267 - def deliver!; end - - # source://mail/2.8.1/lib/mail/message.rb#199 - def delivery_handler; end - - # source://mail/2.8.1/lib/mail/message.rb#199 - def delivery_handler=(_arg0); end - - # source://mail/2.8.1/lib/mail/message.rb#274 - def delivery_method(method = T.unsafe(nil), settings = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1543 - def delivery_status_part; end - - # source://mail/2.8.1/lib/mail/message.rb#1538 - def delivery_status_report?; end - - # source://mail/2.8.1/lib/mail/message.rb#1282 - def destinations; end - - # source://mail/2.8.1/lib/mail/message.rb#1570 - def diagnostic_code; end - - # source://mail/2.8.1/lib/mail/message.rb#1803 - def encoded; end - - # source://mail/2.8.1/lib/mail/message.rb#418 - def envelope_date; end - - # source://mail/2.8.1/lib/mail/message.rb#414 - def envelope_from; end - - # source://mail/2.8.1/lib/mail/message.rb#1566 - def error_status; end - - # source://mail/2.8.1/lib/mail/message.rb#471 - def errors; end - - # source://mail/2.8.1/lib/mail/message.rb#1923 - def filename; end - - # source://mail/2.8.1/lib/mail/message.rb#1562 - def final_recipient; end - - # source://mail/2.8.1/lib/mail/message.rb#1931 - def find_first_mime_type(mt); end - - # source://mail/2.8.1/lib/mail/message.rb#658 - def from(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#670 - def from=(val); end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#5 def from_address; end - # source://mail/2.8.1/lib/mail/message.rb#1288 - def from_addrs; end - - # source://mail/2.8.1/lib/mail/message.rb#1630 - def has_attachments?; end - - # source://mail/2.8.1/lib/mail/message.rb#1423 - def has_charset?; end - - # source://mail/2.8.1/lib/mail/message.rb#1428 - def has_content_transfer_encoding?; end - - # source://mail/2.8.1/lib/mail/message.rb#1418 - def has_content_type?; end - - # source://mail/2.8.1/lib/mail/message.rb#1408 - def has_date?; end - - # source://mail/2.8.1/lib/mail/message.rb#1402 - def has_message_id?; end - - # source://mail/2.8.1/lib/mail/message.rb#1414 - def has_mime_version?; end - - # source://mail/2.8.1/lib/mail/message.rb#443 - def header(value = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#428 - def header=(value); end - - # source://mail/2.8.1/lib/mail/message.rb#1396 - def header_fields; end - - # source://mail/2.8.1/lib/mail/message.rb#448 - def headers(hash = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1635 - def html_part(&block); end - - # source://mail/2.8.1/lib/mail/message.rb#1655 - def html_part=(msg); end - - # source://mail/2.8.1/lib/mail/message.rb#674 - def in_reply_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#678 - def in_reply_to=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#240 - def inform_interceptors; end - - # source://mail/2.8.1/lib/mail/message.rb#236 - def inform_observers; end - - # source://mail/2.8.1/lib/mail/message.rb#1873 - def inspect; end - - # source://mail/2.8.1/lib/mail/message.rb#1877 - def inspect_structure; end - - # source://mail/2.8.1/lib/mail/message.rb#1960 - def is_marked_for_delete?; end - - # source://mail/2.8.1/lib/mail/message.rb#682 - def keywords(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#686 - def keywords=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1513 - def main_type; end - - # source://mail/2.8.1/lib/mail/message.rb#1947 - def mark_for_delete=(value = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#703 - def message_id(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#712 - def message_id=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1377 - def method_missing(name, *args, &block); end - - # source://mail/2.8.1/lib/mail/message.rb#1492 - def mime_type; end - - # source://mail/2.8.1/lib/mail/message.rb#729 - def mime_version(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#739 - def mime_version=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1528 - def multipart?; end - - # source://mail/2.8.1/lib/mail/message.rb#1533 - def multipart_report?; end - - # source://mail/2.8.1/lib/mail/message.rb#1722 - def part(params = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1588 - def parts; end - - # source://mail/2.8.1/lib/mail/message.rb#223 - def perform_deliveries; end - - # source://mail/2.8.1/lib/mail/message.rb#223 - def perform_deliveries=(_arg0); end - - # source://mail/2.8.1/lib/mail/message.rb#230 - def raise_delivery_errors; end - - # source://mail/2.8.1/lib/mail/message.rb#230 - def raise_delivery_errors=(_arg0); end - - # source://mail/2.8.1/lib/mail/message.rb#410 - def raw_envelope; end - - # source://mail/2.8.1/lib/mail/message.rb#397 - def raw_source; end - - # source://mail/2.8.1/lib/mail/message.rb#1899 - def read; end - - # source://mail/2.8.1/lib/mail/message.rb#1791 - def ready_to_send!; end - - # source://mail/2.8.1/lib/mail/message.rb#743 - def received(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#751 - def received=(val); end - # source://actionmailbox//lib/action_mailbox/mail_ext/recipients.rb#5 def recipients; end # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#9 def recipients_addresses; end - # source://mail/2.8.1/lib/mail/message.rb#755 - def references(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#759 - def references=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1574 - def remote_mta; end - - # source://mail/2.8.1/lib/mail/message.rb#282 - def reply(*args, &block); end - - # source://mail/2.8.1/lib/mail/message.rb#788 - def reply_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#800 - def reply_to=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#829 - def resent_bcc(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#841 - def resent_bcc=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#870 - def resent_cc(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#882 - def resent_cc=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#886 - def resent_date(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#890 - def resent_date=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#919 - def resent_from(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#931 - def resent_from=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#935 - def resent_message_id(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#939 - def resent_message_id=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#958 - def resent_sender(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#968 - def resent_sender=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#997 - def resent_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1009 - def resent_to=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1578 - def retryable?; end - - # source://mail/2.8.1/lib/mail/message.rb#1014 - def return_path(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1019 - def return_path=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1037 - def sender(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1047 - def sender=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#402 - def set_envelope(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1939 - def skip_deletion; end - - # source://mail/2.8.1/lib/mail/message.rb#1067 - def smtp_envelope_from(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1081 - def smtp_envelope_from=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1100 - def smtp_envelope_to(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1117 - def smtp_envelope_to=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1518 - def sub_type; end - - # source://mail/2.8.1/lib/mail/message.rb#1142 - def subject(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1152 - def subject=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1964 - def text?; end - - # source://mail/2.8.1/lib/mail/message.rb#1644 - def text_part(&block); end - - # source://mail/2.8.1/lib/mail/message.rb#1679 - def text_part=(msg); end - - # source://mail/2.8.1/lib/mail/message.rb#1181 - def to(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#1193 - def to=(val); end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#13 def to_addresses; end - # source://mail/2.8.1/lib/mail/message.rb#1294 - def to_addrs; end - - # source://mail/2.8.1/lib/mail/message.rb#1869 - def to_s; end - - # source://mail/2.8.1/lib/mail/message.rb#1823 - def to_yaml(opts = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#621 - def transport_encoding(val = T.unsafe(nil)); end - - # source://mail/2.8.1/lib/mail/message.rb#629 - def transport_encoding=(val); end - - # source://mail/2.8.1/lib/mail/message.rb#1811 - def without_attachments!; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#29 def x_forwarded_to_addresses; end @@ -1593,154 +814,11 @@ class Mail::Message private - # source://mail/2.8.1/lib/mail/message.rb#2067 - def add_boundary; end - - # source://mail/2.8.1/lib/mail/message.rb#2032 - def add_encoding_to_body; end - - # source://mail/2.8.1/lib/mail/message.rb#2062 - def add_multipart_alternate_header; end - - # source://mail/2.8.1/lib/mail/message.rb#2079 - def add_multipart_mixed_header; end - - # source://mail/2.8.1/lib/mail/message.rb#2048 - def add_required_fields; end - - # source://mail/2.8.1/lib/mail/message.rb#2056 - def add_required_message_fields; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#34 def address_list(obj); end - - # source://mail/2.8.1/lib/mail/message.rb#2025 - def allowed_encodings; end - - # source://mail/2.8.1/lib/mail/message.rb#1990 - def body_lazy(value); end - - # source://mail/2.8.1/lib/mail/message.rb#2152 - def decode_body_as_text; end - - # source://mail/2.8.1/lib/mail/message.rb#2142 - def do_delivery; end - - # source://mail/2.8.1/lib/mail/message.rb#2124 - def find_attachment; end - - # source://mail/2.8.1/lib/mail/message.rb#2038 - def identify_and_set_transfer_encoding; end - - # source://mail/2.8.1/lib/mail/message.rb#2086 - def init_with_hash(hash); end - - # source://mail/2.8.1/lib/mail/message.rb#2116 - def init_with_string(string); end - - # source://mail/2.8.1/lib/mail/message.rb#384 - def initialize_copy(original); end - - # source://mail/2.8.1/lib/mail/message.rb#1979 - def parse_message; end - - # source://mail/2.8.1/lib/mail/message.rb#2005 - def process_body_raw; end - - # source://mail/2.8.1/lib/mail/message.rb#1985 - def raw_source=(value); end - - # source://mail/2.8.1/lib/mail/message.rb#2021 - def separate_parts; end - - # source://mail/2.8.1/lib/mail/message.rb#2013 - def set_envelope_header; end - - class << self - # source://mail/2.8.1/lib/mail/message.rb#232 - def default_charset; end - - # source://mail/2.8.1/lib/mail/message.rb#233 - def default_charset=(charset); end - - # source://mail/2.8.1/lib/mail/message.rb#1865 - def from_hash(hash); end - - # source://mail/2.8.1/lib/mail/message.rb#1843 - def from_yaml(str); end - end -end - -module Rails - class << self - # source://railties/7.1.3.4/lib/rails.rb#42 - def app_class; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def app_class=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#43 - def application; end - - # source://railties/7.1.3.4/lib/rails.rb#41 - def application=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#123 - def autoloaders; end - - # source://railties/7.1.3.4/lib/rails.rb#54 - def backtrace_cleaner; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def cache; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def cache=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#50 - def configuration; end - - # source://railties/7.1.3.4/lib/rails/deprecator.rb#4 - def deprecator; end - - # source://railties/7.1.3.4/lib/rails.rb#72 - def env; end - - # source://railties/7.1.3.4/lib/rails.rb#79 - def env=(environment); end - - # source://railties/7.1.3.4/lib/rails.rb#90 - def error; end - - # source://railties/7.1.3.4/lib/rails/gem_version.rb#5 - def gem_version; end - - # source://railties/7.1.3.4/lib/rails.rb#103 - def groups(*groups); end - - # source://railties/7.1.3.4/lib/rails.rb#47 - def initialize!(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.3.4/lib/rails.rb#47 - def initialized?(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def logger; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def logger=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#119 - def public_path; end - - # source://railties/7.1.3.4/lib/rails.rb#63 - def root; end - - # source://railties/7.1.3.4/lib/rails/version.rb#7 - def version; end - end end +module Rails; end module Rails::Conductor; end module Rails::Conductor::ActionMailbox; end module Rails::Conductor::ActionMailbox::InboundEmails; end @@ -1751,11 +829,9 @@ class Rails::Conductor::ActionMailbox::InboundEmails::SourcesController < ::Rail private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1768,15 +844,12 @@ class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conduc private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def create_inbound_email(mail); end def mail_params; end def new_mail; end class << self - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1786,11 +859,9 @@ class Rails::Conductor::ActionMailbox::IncineratesController < ::Rails::Conducto private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1800,13 +871,10 @@ class Rails::Conductor::ActionMailbox::ReroutesController < ::Rails::Conductor:: private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def reroute(inbound_email); end class << self - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -1814,22 +882,13 @@ end class Rails::Conductor::BaseController < ::ActionController::Base private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def ensure_development_env; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 def _layout; end - - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 def _layout_conditions; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end diff --git a/sorbet/rbi/gems/actionmailer@7.1.3.4.rbi b/sorbet/rbi/gems/actionmailer@7.1.3.4.rbi index b33d25caa..1617f23c0 100644 --- a/sorbet/rbi/gems/actionmailer@7.1.3.4.rbi +++ b/sorbet/rbi/gems/actionmailer@7.1.3.4.rbi @@ -544,55 +544,55 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#644 def initialize; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actionmailer//lib/action_mailer/base.rb#477 def _deliver_callbacks; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods=(_arg0); end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods?; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#216 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actionmailer//lib/action_mailer/base.rb#493 def _process_action_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actionmailer//lib/action_mailer/base.rb#477 def _run_deliver_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actionmailer//lib/action_mailer/base.rb#493 def _run_process_action_callbacks(&block); end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies; end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies=(_arg0); end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir=(value); end # Allows you to add attachments to an email, like so: @@ -627,10 +627,10 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#761 def attachments; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol=(value); end # source://actionmailer//lib/action_mailer/base.rb#502 @@ -642,46 +642,46 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#502 def default_params?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension=(value); end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name; end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name=(_arg0); end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name?; end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job; end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job=(_arg0); end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job?; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method=(_arg0); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method?; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods=(_arg0); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods?; end # Returns an email in the format "Name ". @@ -691,28 +691,28 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#685 def email_address_with_name(address, name); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings?; end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys; end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys=(_arg0); end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys?; end # Allows you to pass random and unusual headers to the new +Mail::Message+ @@ -753,16 +753,16 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#723 def headers(args = T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger=(value); end # The main method that creates the message and renders the email templates. There are @@ -862,105 +862,105 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#678 def mailer_name; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionmailer//lib/action_mailer/base.rb#642 def message; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionmailer//lib/action_mailer/base.rb#642 def message=(_arg0); end - # source://actionmailer//lib/action_mailer/parameterized.rb#95 + # source://actionmailer//lib/action_mailer/base.rb#481 def params; end - # source://actionmailer//lib/action_mailer/parameterized.rb#93 + # source://actionmailer//lib/action_mailer/base.rb#481 def params=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries=(val); end - # source://actionmailer//lib/action_mailer/preview.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_interceptors; end - # source://actionmailer//lib/action_mailer/preview.rb#14 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_paths; end # source://actionmailer//lib/action_mailer/base.rb#650 def process(method_name, *args, **_arg2); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors=(val); end - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions; end - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions=(val); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers?; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings?; end - # source://actionmailer//lib/action_mailer/preview.rb#22 + # source://actionmailer//lib/action_mailer/base.rb#482 def show_previews; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings?; end private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout(lookup_context, formats); end # source://actionmailer//lib/action_mailer/base.rb#1071 @@ -1031,91 +1031,91 @@ class ActionMailer::Base < ::AbstractController::Base def wrap_inline_attachments(message); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/base.rb#477 def __callbacks?; end - # source://actionmailer//lib/action_mailer/form_builder.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#483 def _default_form_builder; end - # source://actionmailer//lib/action_mailer/form_builder.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#483 def _default_form_builder=(value); end - # source://actionmailer//lib/action_mailer/form_builder.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#483 def _default_form_builder?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actionmailer//lib/action_mailer/base.rb#477 def _deliver_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actionmailer//lib/action_mailer/base.rb#477 def _deliver_callbacks=(value); end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#494 def _helper_methods; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods=(value); end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helper_methods?; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#490 def _helpers; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout=(value); end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout?; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions=(value); end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://actionmailer//lib/action_mailer/base.rb#496 def _layout_conditions?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actionmailer//lib/action_mailer/base.rb#493 def _process_action_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actionmailer//lib/action_mailer/base.rb#493 def _process_action_callbacks=(value); end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies; end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies=(value); end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 + # source://actionmailer//lib/action_mailer/base.rb#494 def _view_cache_dependencies?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def asset_host=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def assets_dir=(value); end # Returns the name of the current mailer. This method is also being used as a path for a view lookup. # If this is an anonymous mailer, this method will return +anonymous+ instead. # - # source://actionmailer//lib/action_mailer/base.rb#570 + # source://actionmailer//lib/action_mailer/base.rb#575 def controller_path; end # Sets the defaults through app configuration: @@ -1127,10 +1127,10 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#582 def default(value = T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def default_asset_host_protocol=(value); end # Sets the defaults through app configuration: @@ -1142,7 +1142,7 @@ class ActionMailer::Base < ::AbstractController::Base # # config.action_mailer.default_options = { from: "no-reply@example.org" } # - # source://actionmailer//lib/action_mailer/base.rb#582 + # source://actionmailer//lib/action_mailer/base.rb#589 def default_options=(value = T.unsafe(nil)); end # source://actionmailer//lib/action_mailer/base.rb#502 @@ -1154,19 +1154,19 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#502 def default_params?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def default_static_extension=(value); end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name; end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name=(value); end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#9 + # source://actionmailer//lib/action_mailer/base.rb#479 def deliver_later_queue_name?; end # Wraps an email delivery inside of ActiveSupport::Notifications instrumentation. @@ -1179,31 +1179,31 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#597 def deliver_mail(mail); end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job; end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job=(value); end - # source://actionmailer//lib/action_mailer/queued_delivery.rb#8 + # source://actionmailer//lib/action_mailer/base.rb#479 def delivery_job?; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#19 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_method?; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#18 + # source://actionmailer//lib/action_mailer/base.rb#478 def delivery_methods?; end # Returns an email in the format "Name ". @@ -1213,40 +1213,40 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#607 def email_address_with_name(address, name); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def enable_fragment_cache_logging=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def file_settings?; end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys; end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys=(value); end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#494 def fragment_cache_keys?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def javascripts_dir=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#489 def logger=(value); end # Returns the name of the current mailer. This method is also being used as a path for a view lookup. @@ -1260,40 +1260,40 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#574 def mailer_name=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#494 def perform_caching=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#16 + # source://actionmailer//lib/action_mailer/base.rb#478 def perform_deliveries=(val); end - # source://actionmailer//lib/action_mailer/preview.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_interceptors; end - # source://actionmailer//lib/action_mailer/preview.rb#25 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_interceptors=(val); end - # source://actionmailer//lib/action_mailer/preview.rb#14 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_paths; end - # source://actionmailer//lib/action_mailer/preview.rb#14 + # source://actionmailer//lib/action_mailer/base.rb#482 def preview_paths=(val); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#478 def raise_delivery_errors=(val); end - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions; end - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 + # source://actionmailer//lib/action_mailer/base.rb#493 def raise_on_missing_callback_actions=(val); end # Register an Interceptor which will be called before mail is sent. @@ -1320,49 +1320,49 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#511 def register_observers(*observers); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def relative_url_root=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/base.rb#480 def rescue_handlers?; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def sendmail_settings?; end - # source://actionmailer//lib/action_mailer/preview.rb#22 + # source://actionmailer//lib/action_mailer/base.rb#482 def show_previews; end - # source://actionmailer//lib/action_mailer/preview.rb#22 + # source://actionmailer//lib/action_mailer/base.rb#482 def show_previews=(val); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def smtp_settings?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionmailer//lib/action_mailer/base.rb#492 def stylesheets_dir=(value); end # Emails do not support relative path links. @@ -1372,13 +1372,13 @@ class ActionMailer::Base < ::AbstractController::Base # source://actionmailer//lib/action_mailer/base.rb#943 def supports_path?; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings; end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings=(value); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#53 + # source://actionmailer//lib/action_mailer/base.rb#478 def test_settings?; end # Unregister a previously registered Interceptor. @@ -1423,16 +1423,16 @@ class ActionMailer::Base < ::AbstractController::Base end end -# source://actionmailer//lib/action_mailer/base.rb#0 +# source://actionmailer//lib/action_mailer/base.rb#490 module ActionMailer::Base::HelperMethods include ::ActionMailer::MailHelper include ::ActionText::ContentHelper include ::ActionText::TagHelper - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#33 + # source://actionmailer//lib/action_mailer/base.rb#494 def combined_fragment_cache_key(*args, **_arg1, &block); end - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#43 + # source://actionmailer//lib/action_mailer/base.rb#494 def view_cache_dependencies(*args, **_arg1, &block); end end @@ -1526,7 +1526,7 @@ class ActionMailer::Collector # @raise [ArgumentError] # - # source://actionmailer//lib/action_mailer/collector.rb#18 + # source://actionmailer//lib/action_mailer/collector.rb#23 def all(*args, &block); end # @raise [ArgumentError] @@ -1742,7 +1742,7 @@ class ActionMailer::LogSubscriber < ::ActiveSupport::LogSubscriber def process(event); end class << self - # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87 + # source://actionmailer//lib/action_mailer/log_subscriber.rb#35 def log_levels; end end end @@ -1772,10 +1772,10 @@ class ActionMailer::MailDeliveryJob < ::ActiveJob::Base def mailer_class; end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 + # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#14 def queue_name; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#19 def rescue_handlers; end end end @@ -2292,7 +2292,7 @@ module ActionMailer::Rescuable end end -# source://actionmailer//lib/action_mailer/rescuable.rb#0 +# source://actionmailer//lib/action_mailer/rescuable.rb#14 module ActionMailer::Rescuable::ClassMethods # source://actionmailer//lib/action_mailer/rescuable.rb#15 def handle_exception(exception); end @@ -2319,7 +2319,7 @@ class ActionMailer::TestCase < ::ActiveSupport::TestCase def _mailer_class?; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionmailer//lib/action_mailer/test_case.rb#42 def __callbacks; end # source://actionmailer//lib/action_mailer/test_case.rb#41 diff --git a/sorbet/rbi/gems/actionpack@7.1.3.4.rbi b/sorbet/rbi/gems/actionpack@7.1.3.4.rbi index dda6ed43b..87a48b2fa 100644 --- a/sorbet/rbi/gems/actionpack@7.1.3.4.rbi +++ b/sorbet/rbi/gems/actionpack@7.1.3.4.rbi @@ -61,15 +61,15 @@ class AbstractController::Base # Delegates to the class's ::action_methods. # - # source://actionpack//lib/abstract_controller/base.rb#170 + # source://actionpack//lib/abstract_controller/base.rb#131 def action_methods; end # Returns the name of the action this controller is processing. # - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#42 def action_name; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#42 def action_name=(_arg0); end # Returns true if a method for the action is available and @@ -85,23 +85,23 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#184 + # source://actionpack//lib/abstract_controller/base.rb#131 def available_action?(action_name); end # Delegates to the class's ::controller_path. # - # source://actionpack//lib/abstract_controller/base.rb#165 + # source://actionpack//lib/abstract_controller/base.rb#131 def controller_path; end # Returns the formats that can be processed by the controller. # - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#46 def formats; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#46 def formats=(_arg0); end - # source://actionpack//lib/abstract_controller/base.rb#203 + # source://actionpack//lib/abstract_controller/base.rb#131 def inspect; end # Tests if a response body is set. Used to determine if the @@ -110,7 +110,7 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#191 + # source://actionpack//lib/abstract_controller/base.rb#131 def performed?; end # Calls the action going through the entire Action Dispatch stack. @@ -122,15 +122,15 @@ class AbstractController::Base # ==== Returns # * self # - # source://actionpack//lib/abstract_controller/base.rb#151 + # source://actionpack//lib/abstract_controller/base.rb#131 def process(action, *args, **_arg2); end # Returns the body of the HTTP response sent by the controller. # - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#38 def response_body; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/abstract_controller/base.rb#38 def response_body=(_arg0); end # Actually call the method associated with the action. Override @@ -138,6 +138,8 @@ class AbstractController::Base # not to add additional behavior around it. For example, you would # override #send_action if you want to inject arguments into the # method. + # + # source://actionpack//lib/abstract_controller/base.rb#131 def send_action(*_arg0); end private @@ -157,21 +159,21 @@ class AbstractController::Base # * false - No valid method name could be found. # Raise +AbstractController::ActionNotFound+. # - # source://actionpack//lib/abstract_controller/base.rb#255 + # source://actionpack//lib/abstract_controller/base.rb#131 def _find_action_name(action_name); end # If the action name was not found, but a method called "action_missing" # was found, #method_for_action will return "_handle_action_missing". # This method calls #action_missing with the current action name. # - # source://actionpack//lib/abstract_controller/base.rb#237 + # source://actionpack//lib/abstract_controller/base.rb#131 def _handle_action_missing(*args); end # Checks if the action name is valid and returns false otherwise. # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#291 + # source://actionpack//lib/abstract_controller/base.rb#131 def _valid_action_name?(action_name); end # Returns true if the name can be considered an action because @@ -182,7 +184,7 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#213 + # source://actionpack//lib/abstract_controller/base.rb#131 def action_method?(name); end # Takes an action name and returns the name of the method that will @@ -209,7 +211,7 @@ class AbstractController::Base # * string - The name of the method that handles the action # * nil - No method name could be found. # - # source://actionpack//lib/abstract_controller/base.rb#282 + # source://actionpack//lib/abstract_controller/base.rb#131 def method_for_action(action_name); end # Call the action. Override this in a subclass to modify the @@ -219,7 +221,7 @@ class AbstractController::Base # Notice that the first argument is the method to be dispatched # which is *not* necessarily the same as the action name. # - # source://actionpack//lib/abstract_controller/base.rb#223 + # source://actionpack//lib/abstract_controller/base.rb#131 def process_action(*_arg0, **_arg1, &_arg2); end class << self @@ -236,7 +238,7 @@ class AbstractController::Base # Returns the value of attribute abstract. # - # source://actionpack//lib/abstract_controller/base.rb#52 + # source://actionpack//lib/abstract_controller/base.rb#53 def abstract?; end # A list of method names that should be considered actions. This @@ -549,17 +551,17 @@ class AbstractController::Callbacks::ActionFilter # @return [Boolean] # - # source://actionpack//lib/abstract_controller/callbacks.rb#46 + # source://actionpack//lib/abstract_controller/callbacks.rb#69 def after(controller); end # @return [Boolean] # - # source://actionpack//lib/abstract_controller/callbacks.rb#46 + # source://actionpack//lib/abstract_controller/callbacks.rb#71 def around(controller); end # @return [Boolean] # - # source://actionpack//lib/abstract_controller/callbacks.rb#46 + # source://actionpack//lib/abstract_controller/callbacks.rb#70 def before(controller); end # @return [Boolean] @@ -615,13 +617,13 @@ module AbstractController::Callbacks::ClassMethods # source://actionpack//lib/abstract_controller/callbacks.rb#229 def after_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#250 def append_after_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#250 def append_around_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#229 + # source://actionpack//lib/abstract_controller/callbacks.rb#250 def append_before_action(*names, &blk); end # source://actionpack//lib/abstract_controller/callbacks.rb#229 @@ -651,109 +653,109 @@ end # source://actionpack//lib/abstract_controller/collector.rb#6 module AbstractController::Collector - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def atom(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def bmp(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def css(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def csv(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def gif(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def gzip(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def html(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def ics(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def jpeg(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def js(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def json(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def m4a(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def mp3(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def mp4(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def mpeg(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def multipart_form(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def ogg(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def otf(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def pdf(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def png(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def rss(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def svg(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def text(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def tiff(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def ttf(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def url_encoded_form(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def vcf(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def vtt(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def webm(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def webp(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def woff(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def woff2(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def xml(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def yaml(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/collector.rb#10 + # source://actionpack//lib/abstract_controller/collector.rb#9 def zip(*args, **_arg1, &block); end private @@ -1053,7 +1055,7 @@ AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES = T.let(T.un module AbstractController::Translation # Delegates to I18n.localize. # - # source://actionpack//lib/abstract_controller/translation.rb#36 + # source://actionpack//lib/abstract_controller/translation.rb#39 def l(object, **options); end # Delegates to I18n.localize. @@ -1070,7 +1072,7 @@ module AbstractController::Translation # to translate many keys within the same controller / action and gives you a # simple framework for scoping them consistently. # - # source://actionpack//lib/abstract_controller/translation.rb#15 + # source://actionpack//lib/abstract_controller/translation.rb#33 def t(key, **options); end # Delegates to I18n.translate. @@ -1284,161 +1286,161 @@ class ActionController::API < ::ActionController::Metal extend ::ActionController::Instrumentation::ClassMethods extend ::ActionController::ParamsWrapper::ClassMethods - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actionpack//lib/action_controller/api.rb#146 def _process_action_callbacks; end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers; end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers=(_arg0); end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actionpack//lib/action_controller/api.rb#146 def _run_process_action_callbacks(&block); end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options; end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options=(_arg0); end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options?; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options?; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers=(_arg0); end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/api.rb#146 def logger; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/api.rb#146 def logger=(value); end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions; end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers?; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/api.rb#146 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actionpack//lib/action_controller/api.rb#146 def _process_action_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actionpack//lib/action_controller/api.rb#146 def _process_action_callbacks=(value); end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers; end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers=(value); end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/api.rb#146 def _renderers?; end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options; end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options=(value); end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/api.rb#146 def _wrapper_options?; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options=(value); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/api.rb#146 def default_url_options?; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers=(value); end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/api.rb#146 def etaggers?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/api.rb#146 def logger; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/api.rb#146 def logger=(value); end - # source://actionpack//lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/api.rb#91 def middleware_stack; end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions; end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/api.rb#146 def rescue_handlers?; end # Shortcut helper that returns all the ActionController::API modules except @@ -1728,532 +1730,508 @@ class ActionController::Base < ::ActionController::Metal extend ::ActionController::Instrumentation::ClassMethods extend ::ActionController::ParamsWrapper::ClassMethods - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks?; end - # source://actionpack//lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods; end - # source://actionpack//lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods=(_arg0); end - # source://actionpack//lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods?; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#216 + # source://actionpack//lib/action_controller/base.rb#242 def _layout_conditions(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actionpack//lib/action_controller/base.rb#242 def _process_action_callbacks; end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers; end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers=(_arg0); end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actionpack//lib/action_controller/base.rb#242 def _run_process_action_callbacks(&block); end - # source://actionpack//lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies; end - # source://actionpack//lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies=(_arg0); end - # source://actionpack//lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies?; end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options; end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options=(_arg0); end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options?; end - # source://actionpack//lib/action_controller/metal/flash.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def alert; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension=(value); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging=(value); end - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest; end - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest=(_arg0); end - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest?; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers=(_arg0); end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers?; end - # source://actionpack//lib/action_controller/metal/flash.rb#10 + # source://actionpack//lib/action_controller/base.rb#242 def flash(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy=(value); end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys; end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys=(_arg0); end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys?; end - # source://actionpack//lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path; end - # source://actionpack//lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path=(_arg0); end - # source://actionpack//lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path?; end - # source://actionpack//lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers; end - # source://actionpack//lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers=(_arg0); end - # source://actionpack//lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def logger; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def logger=(value); end - # source://actionpack//lib/action_controller/metal/flash.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def notice; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching=(value); end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions; end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir=(value); end private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - # source://actionpack//lib/action_controller/base.rb#252 def _protected_ivars; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/base.rb#242 def __callbacks?; end - # source://actionpack//lib/action_controller/form_builder.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def _default_form_builder; end - # source://actionpack//lib/action_controller/form_builder.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def _default_form_builder=(value); end - # source://actionpack//lib/action_controller/form_builder.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def _default_form_builder?; end - # source://actionpack//lib/action_controller/metal/flash.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def _flash_types; end - # source://actionpack//lib/action_controller/metal/flash.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def _flash_types=(value); end - # source://actionpack//lib/action_controller/metal/flash.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def _flash_types?; end - # source://actionpack//lib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack//lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods=(value); end - # source://actionpack//lib/abstract_controller/helpers.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def _helper_methods?; end - # source://actionpack//lib/abstract_controller/helpers.rb#16 + # source://actionpack//lib/action_controller/base.rb#242 def _helpers; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://actionpack//lib/action_controller/base.rb#242 def _layout=(value); end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://actionpack//lib/action_controller/base.rb#242 def _layout?; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://actionpack//lib/action_controller/base.rb#242 def _layout_conditions=(value); end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://actionpack//lib/action_controller/base.rb#242 def _layout_conditions?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actionpack//lib/action_controller/base.rb#242 def _process_action_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actionpack//lib/action_controller/base.rb#242 def _process_action_callbacks=(value); end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers; end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers=(value); end - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # source://actionpack//lib/action_controller/base.rb#242 def _renderers?; end - # source://actionpack//lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies; end - # source://actionpack//lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies=(value); end - # source://actionpack//lib/abstract_controller/caching.rb#42 + # source://actionpack//lib/action_controller/base.rb#242 def _view_cache_dependencies?; end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options; end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options=(value); end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#187 + # source://actionpack//lib/action_controller/base.rb#242 def _wrapper_options?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def allow_forgery_protection=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def asset_host=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def assets_dir=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def csrf_token_storage_strategy=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_asset_host_protocol=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_protect_from_forgery=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def default_static_extension=(value); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options=(value); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_controller/base.rb#242 def default_url_options?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def enable_fragment_cache_logging=(value); end - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest; end - - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest=(value); end - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29 + # source://actionpack//lib/action_controller/base.rb#242 def etag_with_template_digest?; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers; end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers=(value); end - # source://actionpack//lib/action_controller/metal/conditional_get.rb#13 + # source://actionpack//lib/action_controller/base.rb#242 def etaggers?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_origin_check=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def forgery_protection_strategy=(value); end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys; end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys=(value); end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#25 + # source://actionpack//lib/action_controller/base.rb#242 def fragment_cache_keys?; end - # source://actionpack//lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path; end - # source://actionpack//lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path=(value); end - # source://actionpack//lib/action_controller/metal/helpers.rb#65 + # source://actionpack//lib/action_controller/base.rb#242 def helpers_path?; end - # source://actionpack//lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers; end - # source://actionpack//lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers=(value); end - # source://actionpack//lib/action_controller/metal/helpers.rb#66 + # source://actionpack//lib/action_controller/base.rb#242 def include_all_helpers?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def javascripts_dir=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def log_warning_on_csrf_failure=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def logger; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def logger=(value); end - # source://actionpack//lib/action_controller/metal.rb#262 - def middleware_stack; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def per_form_csrf_tokens=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def perform_caching=(value); end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions; end - # source://actionpack//lib/abstract_controller/callbacks.rb#36 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def raise_on_open_redirects=(val); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def relative_url_root=(value); end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def request_forgery_protection_token=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://actionpack//lib/action_controller/base.rb#242 def rescue_handlers?; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir; end - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 + # source://actionpack//lib/action_controller/base.rb#242 def stylesheets_dir=(value); end # Shortcut helper that returns all the modules included in @@ -2274,36 +2252,36 @@ class ActionController::Base < ::ActionController::Metal end end -# source://actionpack//lib/action_controller/base.rb#0 +# source://actionpack//lib/action_controller/base.rb#242 module ActionController::Base::HelperMethods include ::ActionText::ContentHelper include ::ActionText::TagHelper - # source://actionpack//lib/action_controller/metal/flash.rb#39 + # source://actionpack//lib/action_controller/base.rb#242 def alert(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#33 + # source://actionpack//lib/action_controller/base.rb#242 def combined_fragment_cache_key(*args, **_arg1, &block); end - # source://actionpack//lib/action_controller/metal/content_security_policy.rb#11 + # source://actionpack//lib/action_controller/base.rb#242 def content_security_policy?(*args, **_arg1, &block); end - # source://actionpack//lib/action_controller/metal/content_security_policy.rb#12 + # source://actionpack//lib/action_controller/base.rb#242 def content_security_policy_nonce(*args, **_arg1, &block); end - # source://actionpack//lib/action_controller/metal/cookies.rb#8 + # source://actionpack//lib/action_controller/base.rb#242 def cookies(*args, **_arg1, &block); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#101 + # source://actionpack//lib/action_controller/base.rb#242 def form_authenticity_token(*args, **_arg1, &block); end - # source://actionpack//lib/action_controller/metal/flash.rb#39 + # source://actionpack//lib/action_controller/base.rb#242 def notice(*args, **_arg1, &block); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#102 + # source://actionpack//lib/action_controller/base.rb#242 def protect_against_forgery?(*args, **_arg1, &block); end - # source://actionpack//lib/abstract_controller/caching.rb#43 + # source://actionpack//lib/action_controller/base.rb#242 def view_cache_dependencies(*args, **_arg1, &block); end end @@ -3868,7 +3846,10 @@ module ActionController::Instrumentation # source://actionpack//lib/action_controller/metal/instrumentation.rb#34 def send_file(path, options = T.unsafe(nil)); end + # source://actionpack//lib/action_controller/metal/instrumentation.rb#19 def view_runtime; end + + # source://actionpack//lib/action_controller/metal/instrumentation.rb#19 def view_runtime=(_arg0); end private @@ -4193,17 +4174,17 @@ ActionController::Live::SSE::PERMITTED_OPTIONS = T.let(T.unsafe(nil), Array) class ActionController::LiveTestResponse < ::ActionController::Live::Response # Was there a server-side error? # - # source://rack/3.1.4/lib/rack/response.rb#183 + # source://actionpack//lib/action_controller/test_case.rb#180 def error?; end # Was the URL not found? # - # source://rack/3.1.4/lib/rack/response.rb#193 + # source://actionpack//lib/action_controller/test_case.rb#177 def missing?; end # Was the response successful? # - # source://rack/3.1.4/lib/rack/response.rb#180 + # source://actionpack//lib/action_controller/test_case.rb#174 def success?; end end @@ -4246,7 +4227,7 @@ class ActionController::LogSubscriber < ::ActiveSupport::LogSubscriber def write_fragment(event); end class << self - # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87 + # source://actionpack//lib/action_controller/log_subscriber.rb#76 def log_levels; end end end @@ -4397,10 +4378,10 @@ class ActionController::Metal < ::AbstractController::Base # # The ActionDispatch::Request instance for the current request. # - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/action_controller/metal.rb#164 def request; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/action_controller/metal.rb#164 def request=(_arg0); end # source://actionpack//lib/action_controller/metal.rb#258 @@ -4410,7 +4391,7 @@ class ActionController::Metal < ::AbstractController::Base # # The ActionDispatch::Response instance for the current response. # - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionpack//lib/action_controller/metal.rb#170 def response; end # Assign the response and mark it as committed. No further processing will occur. @@ -4421,7 +4402,7 @@ class ActionController::Metal < ::AbstractController::Base # source://actionpack//lib/action_controller/metal.rb#209 def response_body=(body); end - # source://actionpack//lib/action_controller/metal.rb#182 + # source://actionpack//lib/action_controller/metal.rb#202 def response_code(*_arg0, **_arg1, &_arg2); end # The ActionDispatch::Request::Session instance for the current request. @@ -4495,7 +4476,7 @@ class ActionController::Metal < ::AbstractController::Base # source://actionpack//lib/action_controller/metal.rb#284 def middleware; end - # source://actionpack//lib/action_controller/metal.rb#262 + # source://actionpack//lib/action_controller/api.rb#91 def middleware_stack; end # source://actionpack//lib/action_controller/metal.rb#262 @@ -4805,7 +4786,7 @@ class ActionController::MimeResponds::Collector # source://actionpack//lib/action_controller/metal/mime_responds.rb#246 def initialize(mimes, variant = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#253 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#260 def all(*args, &block); end # source://actionpack//lib/action_controller/metal/mime_responds.rb#253 @@ -4845,7 +4826,7 @@ class ActionController::MimeResponds::Collector::VariantCollector # source://actionpack//lib/action_controller/metal/mime_responds.rb#293 def initialize(variant = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#298 + # source://actionpack//lib/action_controller/metal/mime_responds.rb#307 def all(*args, &block); end # source://actionpack//lib/action_controller/metal/mime_responds.rb#298 @@ -5190,7 +5171,7 @@ class ActionController::Parameters # Removes items that the block evaluates to true and returns self. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#835 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#839 def delete_if(&block); end # Extracts the nested parameter from the given +keys+ by calling +dig+ @@ -5209,7 +5190,7 @@ class ActionController::Parameters # Convert all hashes in values into parameters, then yield each pair in # the same way as Hash#each_pair. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#397 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#405 def each(&block); end # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 @@ -5293,7 +5274,7 @@ class ActionController::Parameters # source://actionpack//lib/action_controller/metal/strong_parameters.rb#688 def fetch(key, *args); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#232 def has_key?(*_arg0, **_arg1, &_arg2); end # Returns true if the given value is present for some key in the parameters. @@ -5317,10 +5298,10 @@ class ActionController::Parameters # Equivalent to Hash#keep_if, but returns +nil+ if no changes were made. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#822 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#826 def keep_if(&block); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#233 def key?(*_arg0, **_arg1, &_arg2); end # :method: to_s @@ -5333,7 +5314,7 @@ class ActionController::Parameters # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 def keys(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#229 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#234 def member?(*_arg0, **_arg1, &_arg2); end # Returns a new +ActionController::Parameters+ instance with all keys from @@ -5611,7 +5592,7 @@ class ActionController::Parameters # # for example. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#517 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#527 def required(key); end # Returns a new +ActionController::Parameters+ instance with all keys @@ -5720,7 +5701,7 @@ class ActionController::Parameters # The string pairs "key=value" that conform the query string # are sorted lexicographically in ascending order. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#376 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#379 def to_param(*args); end # Returns a string representation of the receiver suitable for use as a URL @@ -5779,7 +5760,7 @@ class ActionController::Parameters # params.to_unsafe_h # # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"} # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#390 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#393 def to_unsafe_hash; end # Returns a new +ActionController::Parameters+ instance with the @@ -5814,7 +5795,7 @@ class ActionController::Parameters # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#864 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#868 def value?(value); end # Returns a new array of the values of the parameters. @@ -5831,13 +5812,13 @@ class ActionController::Parameters # Returns a new +ActionController::Parameters+ instance with all keys # from current hash merged into +other_hash+. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#900 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#905 def with_defaults(other_hash); end # Returns the current +ActionController::Parameters+ instance with # current hash merged into +other_hash+. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#909 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#913 def with_defaults!(other_hash); end # Returns a new +ActionController::Parameters+ instance that @@ -5847,7 +5828,7 @@ class ActionController::Parameters # params.except(:a, :b) # => #3} permitted: false> # params.except(:d) # => #1, "b"=>2, "c"=>3} permitted: false> # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#738 + # source://actionpack//lib/action_controller/metal/strong_parameters.rb#741 def without(*keys); end protected @@ -6188,10 +6169,10 @@ class ActionController::ParamsWrapper::Options < ::Struct # source://actionpack//lib/action_controller/metal/params_wrapper.rb#110 def include; end - # source://mutex_m/0.2.0/mutex_m.rb#91 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def lock; end - # source://mutex_m/0.2.0/mutex_m.rb#81 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def locked?; end # Returns the value of attribute model @@ -6208,13 +6189,13 @@ class ActionController::ParamsWrapper::Options < ::Struct # source://actionpack//lib/action_controller/metal/params_wrapper.rb#143 def name; end - # source://mutex_m/0.2.0/mutex_m.rb#76 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def synchronize(&block); end - # source://mutex_m/0.2.0/mutex_m.rb#86 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def try_lock; end - # source://mutex_m/0.2.0/mutex_m.rb#96 + # source://actionpack//lib/action_controller/metal/params_wrapper.rb#90 def unlock; end private @@ -6442,7 +6423,7 @@ module ActionController::Redirecting def _url_host_allowed?(url); end class << self - # source://actionpack//lib/action_controller/metal/redirecting.rb#136 + # source://actionpack//lib/action_controller/metal/redirecting.rb#153 def _compute_redirect_to_location(request, options); end end @@ -6548,7 +6529,7 @@ class ActionController::Renderer # Renders a template to a string, just like ActionController::Rendering#render_to_string. # - # source://actionpack//lib/action_controller/renderer.rb#123 + # source://actionpack//lib/action_controller/renderer.rb#132 def render_to_string(*args); end # Creates a new renderer using the same controller, but with the given @@ -6593,13 +6574,13 @@ module ActionController::Renderers # source://actionpack//lib/action_controller/metal/renderers.rb#144 def _render_to_body_with_renderer(options); end - # source://actionpack//lib/action_controller/metal/renderers.rb#170 + # source://actionpack//lib/action_controller/metal/renderers.rb#75 def _render_with_renderer_js(js, options); end - # source://actionpack//lib/action_controller/metal/renderers.rb#155 + # source://actionpack//lib/action_controller/metal/renderers.rb#75 def _render_with_renderer_json(json, options); end - # source://actionpack//lib/action_controller/metal/renderers.rb#175 + # source://actionpack//lib/action_controller/metal/renderers.rb#75 def _render_with_renderer_xml(xml, options); end # Called by +render+ in AbstractController::Rendering @@ -6732,7 +6713,7 @@ module ActionController::Renderers::ClassMethods # You must specify a +use_renderer+, else the +controller.renderer+ and # +controller._renderers+ will be nil, and the action will fail. # - # source://actionpack//lib/action_controller/metal/renderers.rb#128 + # source://actionpack//lib/action_controller/metal/renderers.rb#132 def use_renderer(*args); end # Adds, by name, a renderer or renderers to the +_renderers+ available @@ -8009,7 +7990,7 @@ class ActionController::TestCase < ::ActiveSupport::TestCase def _controller_class?; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_controller/test_case.rb#572 def __callbacks; end # source://actionpack//lib/action_controller/test_case.rb#571 @@ -8831,35 +8812,35 @@ class ActionDispatch::Callbacks # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#22 def initialize(app); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _call_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _run_call_callbacks(&block); end # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#26 def call(env); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#8 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _call_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 def _call_callbacks=(value); end # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#17 @@ -9481,7 +9462,7 @@ class ActionDispatch::Cookies::CookieJar # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#336 + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#339 def has_key?(name); end # @return [Boolean] @@ -9495,6 +9476,8 @@ class ActionDispatch::Cookies::CookieJar def request; end # Returns the cookies as Hash. + # + # source://actionpack//lib/action_dispatch/middleware/cookies.rb#342 def to_hash(*_arg0); end # source://actionpack//lib/action_dispatch/middleware/cookies.rb#356 @@ -10240,7 +10223,7 @@ class ActionDispatch::Flash::FlashHash # source://actionpack//lib/action_dispatch/middleware/flash.rb#172 def keys; end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#166 + # source://actionpack//lib/action_dispatch/middleware/flash.rb#206 def merge!(h); end # Convenience accessor for flash[:notice]. @@ -10858,7 +10841,7 @@ class ActionDispatch::Http::Headers # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/headers.rb#75 + # source://actionpack//lib/action_dispatch/http/headers.rb#78 def include?(key); end # @return [Boolean] @@ -11026,7 +11009,7 @@ module ActionDispatch::Http::Parameters # Returns both GET and POST \parameters in a single hash. # - # source://actionpack//lib/action_dispatch/http/parameters.rb#50 + # source://actionpack//lib/action_dispatch/http/parameters.rb#63 def params; end # Returns a hash with the \parameters used to form the \path of the request. @@ -11533,13 +11516,13 @@ module ActionDispatch::Integration::Runner # source://actionpack//lib/action_dispatch/testing/integration.rb#408 def assertions=(assertions); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def assigns(*_arg0, **_arg1, &_arg2); end # source://actionpack//lib/action_dispatch/testing/integration.rb#338 def before_setup; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def cookies(*_arg0, **_arg1, &_arg2); end # Copy the instance variables from the current session instance into the @@ -11557,16 +11540,16 @@ module ActionDispatch::Integration::Runner # source://actionpack//lib/action_dispatch/testing/integration.rb#424 def default_url_options=(options); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def delete(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def follow_redirect!(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def get(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def head(*_arg0, **_arg1, &_arg2); end # source://actionpack//lib/action_dispatch/testing/integration.rb#343 @@ -11586,13 +11569,13 @@ module ActionDispatch::Integration::Runner # source://actionpack//lib/action_dispatch/testing/integration.rb#396 def open_session; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def patch(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def post(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#376 + # source://actionpack//lib/action_dispatch/testing/integration.rb#375 def put(*_arg0, **_arg1, &_arg2); end # source://actionpack//lib/action_dispatch/testing/integration.rb#365 @@ -11681,13 +11664,13 @@ class ActionDispatch::Integration::Session # source://actionpack//lib/action_dispatch/testing/integration.rb#112 def cookies; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options?; end # source://actionpack//lib/action_dispatch/testing/integration.rb#95 @@ -11705,7 +11688,7 @@ class ActionDispatch::Integration::Session # # @param value the value to set the attribute host to. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#102 + # source://actionpack//lib/action_dispatch/testing/integration.rb#306 def host!(_arg0); end # Sets the attribute host @@ -11840,13 +11823,13 @@ class ActionDispatch::Integration::Session def build_full_uri(path, env); end class << self - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options=(value); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/testing/integration.rb#128 def default_url_options?; end end end @@ -12141,7 +12124,7 @@ class ActionDispatch::Journey::Ast # Returns the value of attribute tree. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#8 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#9 def root; end # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#33 @@ -12211,30 +12194,47 @@ class ActionDispatch::Journey::Format::Parameter < ::Struct # Returns the value of attribute escaper # # @return [Object] the current value of escaper + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def escaper; end # Sets the attribute escaper # # @param value [Object] the value to set the attribute escaper to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def escaper=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def name=(_); end class << self + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def [](*_arg0); end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def inspect; end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def keyword_init?; end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def members; end + + # source://actionpack//lib/action_dispatch/journey/visitors.rb#10 def new(*_arg0); end end end @@ -12749,7 +12749,7 @@ class ActionDispatch::Journey::Nodes::Symbol < ::ActionDispatch::Journey::Nodes: # Returns the value of attribute regexp. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#137 + # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#138 def symbol; end # @return [Boolean] @@ -12863,7 +12863,7 @@ class ActionDispatch::Journey::Path::Pattern # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9 def initialize(ast, requirements, separators, anchored); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#156 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#160 def =~(other); end # Returns the value of attribute anchored. @@ -12947,7 +12947,7 @@ class ActionDispatch::Journey::Path::Pattern::AnchoredRegexp < ::ActionDispatch: # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#77 def visit_CAT(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#94 + # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#97 def visit_DOT(node); end # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#90 @@ -13028,7 +13028,7 @@ class ActionDispatch::Journey::Route # Returns the value of attribute constraints. # - # source://actionpack//lib/action_dispatch/journey/route.rb#7 + # source://actionpack//lib/action_dispatch/journey/route.rb#10 def conditions; end # Returns the value of attribute constraints. @@ -13127,7 +13127,7 @@ class ActionDispatch::Journey::Route # source://actionpack//lib/action_dispatch/journey/route.rb#107 def score(supplied_keys); end - # source://actionpack//lib/action_dispatch/journey/route.rb#115 + # source://actionpack//lib/action_dispatch/journey/route.rb#118 def segment_keys; end # source://actionpack//lib/action_dispatch/journey/route.rb#99 @@ -13172,10 +13172,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::DELETE class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13183,10 +13183,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::GET class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13194,10 +13194,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::HEAD class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13205,10 +13205,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::LINK class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13216,10 +13216,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::OPTIONS class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13227,10 +13227,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::PATCH class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13238,10 +13238,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::POST class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13249,10 +13249,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::PUT class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13260,10 +13260,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::TRACE class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13271,10 +13271,10 @@ end # source://actionpack//lib/action_dispatch/journey/route.rb#17 class ActionDispatch::Journey::Route::VerbMatchers::UNLINK class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#19 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#18 + # source://actionpack//lib/action_dispatch/journey/route.rb#15 def verb; end end end @@ -13516,7 +13516,7 @@ class ActionDispatch::Journey::Routes # source://actionpack//lib/action_dispatch/journey/routes.rb#58 def simulator; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#24 + # source://actionpack//lib/action_dispatch/journey/routes.rb#27 def size; end private @@ -13760,7 +13760,7 @@ class ActionDispatch::LogSubscriber < ::ActiveSupport::LogSubscriber def redirect(event); end class << self - # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87 + # source://actionpack//lib/action_dispatch/log_subscriber.rb#19 def log_levels; end end end @@ -13813,7 +13813,7 @@ class ActionDispatch::MiddlewareStack # source://actionpack//lib/action_dispatch/middleware/stack.rb#113 def insert_after(index, *args, **_arg2, &block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#105 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#111 def insert_before(index, klass, *args, **_arg3, &block); end # source://actionpack//lib/action_dispatch/middleware/stack.rb#88 @@ -13837,7 +13837,7 @@ class ActionDispatch::MiddlewareStack # source://actionpack//lib/action_dispatch/middleware/stack.rb#152 def move_after(target, source); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#142 + # source://actionpack//lib/action_dispatch/middleware/stack.rb#150 def move_before(target, source); end # source://actionpack//lib/action_dispatch/middleware/stack.rb#84 @@ -14317,19 +14317,19 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#404 def POST; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept_charset; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept_encoding; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def accept_language; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def auth_type; end # Returns the authorization header regardless of whether it was specified directly or through one of the @@ -14347,10 +14347,10 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#370 def body_stream; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def cache_control; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def client_ip; end # source://actionpack//lib/action_dispatch/http/request.rb#70 @@ -14399,7 +14399,7 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#366 def form_data?; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def from; end # Returns the +String+ full path including params of the last URL requested. @@ -14413,7 +14413,7 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#264 def fullpath; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def gateway_interface; end # Provides access to the request's HTTP headers, for example: @@ -14426,10 +14426,10 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#190 def http_auth_salt; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header=(val); end # source://actionpack//lib/action_dispatch/http/request.rb#444 @@ -14482,10 +14482,10 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#218 def method_symbol; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def negotiate; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def origin; end # Returns a +String+ with the last requested path including their params. @@ -14499,7 +14499,7 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#253 def original_fullpath; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def original_script_name; end # Returns the original request URL as a +String+. @@ -14510,15 +14510,15 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#272 def original_url; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def path_translated; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def pragma; end # Override Rack's GET method to support indifferent access. # - # source://actionpack//lib/action_dispatch/http/request.rb#388 + # source://actionpack//lib/action_dispatch/http/request.rb#401 def query_parameters; end # Read the request \body. This is useful for web services that need to @@ -14527,16 +14527,16 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#339 def raw_post; end - # source://rack/3.1.4/lib/rack/request.rb#197 + # source://actionpack//lib/action_dispatch/http/request.rb#136 def raw_request_method; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_addr; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_host; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_ident; end # Returns the IP address of client as a +String+, @@ -14548,7 +14548,7 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#309 def remote_ip=(remote_ip); end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def remote_user; end # Returns the unique request id, which is based on either the +X-Request-Id+ header that can @@ -14584,7 +14584,7 @@ class ActionDispatch::Request # Override Rack's POST method to support indifferent access. # - # source://actionpack//lib/action_dispatch/http/request.rb#404 + # source://actionpack//lib/action_dispatch/http/request.rb#416 def request_parameters; end # source://actionpack//lib/action_dispatch/http/request.rb#432 @@ -14596,10 +14596,10 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/middleware/flash.rb#77 def reset_session; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#27 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def return_only_media_type_on_content_type; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#20 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def return_only_media_type_on_content_type=(value); end # Returns the URI pattern of the matched route for the request, @@ -14634,10 +14634,10 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#240 def send_early_hints(links); end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def server_name; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def server_protocol; end # Returns the lowercase name of the HTTP server software. @@ -14658,22 +14658,22 @@ class ActionDispatch::Request # This unique ID is useful for tracing a request from end-to-end as part of logging or debugging. # This relies on the Rack variable set by the ActionDispatch::RequestId middleware. # - # source://actionpack//lib/action_dispatch/http/request.rb#322 + # source://actionpack//lib/action_dispatch/http/request.rb#330 def uuid; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def version; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_csrf_token; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_forwarded_for; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_forwarded_host; end - # source://actionpack//lib/action_dispatch/http/request.rb#50 + # source://actionpack//lib/action_dispatch/http/request.rb#48 def x_request_id; end # Returns true if the +X-Requested-With+ header contains "XMLHttpRequest" @@ -14682,7 +14682,7 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/request.rb#293 + # source://actionpack//lib/action_dispatch/http/request.rb#296 def xhr?; end # Returns true if the +X-Requested-With+ header contains "XMLHttpRequest" @@ -14709,13 +14709,13 @@ class ActionDispatch::Request # source://actionpack//lib/action_dispatch/http/request.rb#56 def empty; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#18 + # source://actionpack//lib/action_dispatch/http/request.rb#21 def ignore_accept_header=(val); end - # source://actionpack//lib/action_dispatch/http/parameters.rb#28 + # source://actionpack//lib/action_dispatch/http/request.rb#22 def parameter_parsers; end end end @@ -14881,7 +14881,7 @@ class ActionDispatch::Request::Session # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/request/session.rb#132 + # source://actionpack//lib/action_dispatch/request/session.rb#137 def include?(key); end # source://actionpack//lib/action_dispatch/request/session.rb#219 @@ -14891,7 +14891,7 @@ class ActionDispatch::Request::Session # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/request/session.rb#132 + # source://actionpack//lib/action_dispatch/request/session.rb#136 def key?(key); end # Returns keys of the session as Array. @@ -14915,7 +14915,7 @@ class ActionDispatch::Request::Session # session.to_hash # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"} # - # source://actionpack//lib/action_dispatch/request/session.rb#180 + # source://actionpack//lib/action_dispatch/request/session.rb#188 def merge!(hash); end # source://actionpack//lib/action_dispatch/request/session.rb#93 @@ -14923,7 +14923,7 @@ class ActionDispatch::Request::Session # Returns the session as Hash. # - # source://actionpack//lib/action_dispatch/request/session.rb#164 + # source://actionpack//lib/action_dispatch/request/session.rb#168 def to_h; end # Returns the session as Hash. @@ -15278,10 +15278,10 @@ class ActionDispatch::Response # Aliasing these off because AD::Http::Cache::Response defines them. # - # source://rack/3.1.4/lib/rack/response.rb#286 + # source://actionpack//lib/action_dispatch/http/response.rb#91 def _cache_control; end - # source://rack/3.1.4/lib/rack/response.rb#290 + # source://actionpack//lib/action_dispatch/http/response.rb#92 def _cache_control=(value); end # source://actionpack//lib/action_dispatch/http/response.rb#382 @@ -15402,7 +15402,7 @@ class ActionDispatch::Response # # Also aliased as +header+ for compatibility. # - # source://actionpack//lib/action_dispatch/http/response.rb#69 + # source://actionpack//lib/action_dispatch/http/response.rb#71 def header; end # The headers for the response. @@ -15443,12 +15443,12 @@ class ActionDispatch::Response # # status, headers, body = *response # - # source://actionpack//lib/action_dispatch/http/response.rb#397 + # source://actionpack//lib/action_dispatch/http/response.rb#401 def prepare!; end # The location header we'll be responding with. # - # source://rack/3.1.4/lib/rack/response.rb#258 + # source://actionpack//lib/action_dispatch/http/response.rb#376 def redirect_url; end # The request that the response is responding to. @@ -15514,7 +15514,7 @@ class ActionDispatch::Response # response.status = 404 # response.message # => "Not Found" # - # source://actionpack//lib/action_dispatch/http/response.rb#309 + # source://actionpack//lib/action_dispatch/http/response.rb#312 def status_message; end # The underlying body, as a streamable object. @@ -15598,7 +15598,7 @@ class ActionDispatch::Response::Buffer # @raise [IOError] # - # source://actionpack//lib/action_dispatch/http/response.rb#120 + # source://actionpack//lib/action_dispatch/http/response.rb#127 def <<(string); end # source://actionpack//lib/action_dispatch/http/response.rb#139 @@ -15643,30 +15643,47 @@ class ActionDispatch::Response::ContentTypeHeader < ::Struct # Returns the value of attribute charset # # @return [Object] the current value of charset + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def charset; end # Sets the attribute charset # # @param value [Object] the value to set the attribute charset to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def charset=(_); end # Returns the value of attribute mime_type # # @return [Object] the current value of mime_type + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def mime_type; end # Sets the attribute mime_type # # @param value [Object] the value to set the attribute mime_type to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/http/response.rb#421 def mime_type=(_); end class << self + # source://actionpack//lib/action_dispatch/http/response.rb#421 def [](*_arg0); end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def inspect; end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def keyword_init?; end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def members; end + + # source://actionpack//lib/action_dispatch/http/response.rb#421 def new(*_arg0); end end end @@ -16172,7 +16189,7 @@ end # source://actionpack//lib/action_dispatch/routing/mapper.rb#396 module ActionDispatch::Routing::Mapper::Base - # source://actionpack//lib/action_dispatch/routing/mapper.rb#629 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#632 def default_url_options(options); end # source://actionpack//lib/action_dispatch/routing/mapper.rb#629 @@ -17309,7 +17326,7 @@ class ActionDispatch::Routing::Mapper::Resources::Resource # Returns the value of attribute path. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1208 def collection_scope; end # Returns the value of attribute controller. @@ -17320,10 +17337,10 @@ class ActionDispatch::Routing::Mapper::Resources::Resource # source://actionpack//lib/action_dispatch/routing/mapper.rb#1160 def default_actions; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1192 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1196 def member_name; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1210 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1262 def member_scope; end # source://actionpack//lib/action_dispatch/routing/mapper.rb#1184 @@ -17332,7 +17349,7 @@ class ActionDispatch::Routing::Mapper::Resources::Resource # source://actionpack//lib/action_dispatch/routing/mapper.rb#1220 def nested_param; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1224 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1263 def nested_scope; end # source://actionpack//lib/action_dispatch/routing/mapper.rb#1216 @@ -17359,7 +17376,7 @@ class ActionDispatch::Routing::Mapper::Resources::Resource # source://actionpack//lib/action_dispatch/routing/mapper.rb#1228 def shallow?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1210 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1214 def shallow_scope; end # @return [Boolean] @@ -17378,13 +17395,13 @@ class ActionDispatch::Routing::Mapper::Resources::SingletonResource < ::ActionDi # source://actionpack//lib/action_dispatch/routing/mapper.rb#1236 def initialize(entities, api_only, shallow, options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1260 def collection_name; end # source://actionpack//lib/action_dispatch/routing/mapper.rb#1243 def default_actions; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255 + # source://actionpack//lib/action_dispatch/routing/mapper.rb#1259 def member_name; end # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141 @@ -17848,16 +17865,16 @@ ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp) # # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#59 module ActionDispatch::Routing::PolymorphicRoutes - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#155 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def edit_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#151 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def edit_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#155 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def new_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#151 + # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#149 def new_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end # Returns the path component of a URL for the given record. @@ -18248,6 +18265,8 @@ class ActionDispatch::Routing::RouteSet # like engines, controllers and the application itself, inspecting # the route set can actually be really slow, therefore we default # alias inspect to to_s. + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#19 def inspect; end # Contains all the mounted helpers across different @@ -18324,7 +18343,7 @@ class ActionDispatch::Routing::RouteSet # Returns the value of attribute set. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#336 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#341 def routes; end # Returns the value of attribute set. @@ -18372,30 +18391,47 @@ class ActionDispatch::Routing::RouteSet::Config < ::Struct # Returns the value of attribute api_only # # @return [Object] the current value of api_only + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def api_only; end # Sets the attribute api_only # # @param value [Object] the value to set the attribute api_only to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def api_only=(_); end # Returns the value of attribute relative_url_root # # @return [Object] the current value of relative_url_root + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def relative_url_root; end # Sets the attribute relative_url_root # # @param value [Object] the value to set the attribute relative_url_root to. # @return [Object] the newly set value + # + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def relative_url_root=(_); end class << self + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def [](*_arg0); end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def inspect; end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def keyword_init?; end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def members; end + + # source://actionpack//lib/action_dispatch/routing/route_set.rb#362 def new(*_arg0); end end end @@ -18576,10 +18612,10 @@ class ActionDispatch::Routing::RouteSet::NamedRouteCollection # source://actionpack//lib/action_dispatch/routing/route_set.rb#71 def initialize; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#121 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#131 def [](name); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#102 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#130 def []=(name, route); end # source://actionpack//lib/action_dispatch/routing/route_set.rb#102 @@ -18591,7 +18627,7 @@ class ActionDispatch::Routing::RouteSet::NamedRouteCollection # source://actionpack//lib/action_dispatch/routing/route_set.rb#149 def add_url_helper(name, defaults, &block); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#88 + # source://actionpack//lib/action_dispatch/routing/route_set.rb#132 def clear; end # source://actionpack//lib/action_dispatch/routing/route_set.rb#88 @@ -18826,16 +18862,16 @@ class ActionDispatch::Routing::RoutesProxy # Returns the value of attribute routes. # - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#11 def _routes; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options?; end # Returns the value of attribute routes. @@ -18884,13 +18920,13 @@ class ActionDispatch::Routing::RoutesProxy def respond_to_missing?(method, _); end class << self - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options=(value); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#97 + # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#8 def default_url_options?; end end end @@ -19247,7 +19283,10 @@ class ActionDispatch::ServerTiming::Subscriber class << self private + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#8 def allocate; end + + # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#8 def new(*_arg0); end end end @@ -19595,7 +19634,7 @@ module ActionDispatch::TestProcess::FixtureFile # # post :change_avatar, params: { avatar: file_fixture_upload('david.png', 'image/png', :binary) } # - # source://actionpack//lib/action_dispatch/testing/test_process.rb#19 + # source://actionpack//lib/action_dispatch/testing/test_process.rb#26 def fixture_file_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end end @@ -19791,7 +19830,10 @@ class Mime::AllType < ::Mime::Type class << self private + # source://actionpack//lib/action_dispatch/http/mime_type.rb#343 def allocate; end + + # source://actionpack//lib/action_dispatch/http/mime_type.rb#343 def new(*_arg0); end end end @@ -19862,7 +19904,10 @@ class Mime::NullType class << self private + # source://actionpack//lib/action_dispatch/http/mime_type.rb#359 def allocate; end + + # source://actionpack//lib/action_dispatch/http/mime_type.rb#359 def new(*_arg0); end end end @@ -20045,7 +20090,7 @@ class Mime::Type::AcceptItem # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 def q=(_arg0); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#88 + # source://actionpack//lib/action_dispatch/http/mime_type.rb#89 def to_s; end end @@ -20076,9 +20121,4 @@ Mime::Type::MIME_PARAMETER_VALUE = T.let(T.unsafe(nil), String) Mime::Type::MIME_REGEXP = T.let(T.unsafe(nil), Regexp) # source://actionpack//lib/action_dispatch.rb#34 -module Rack - class << self - # source://rack/3.1.4/lib/rack/version.rb#18 - def release; end - end -end +module Rack; end diff --git a/sorbet/rbi/gems/actiontext@7.1.3.4.rbi b/sorbet/rbi/gems/actiontext@7.1.3.4.rbi index c6bc9734f..ec47c435d 100644 --- a/sorbet/rbi/gems/actiontext@7.1.3.4.rbi +++ b/sorbet/rbi/gems/actiontext@7.1.3.4.rbi @@ -27,19 +27,16 @@ module ActionText # source://actiontext//lib/action_text.rb#53 def html_document_fragment_class; end - # source://railties/7.1.3.4/lib/rails/engine.rb#412 + # source://actiontext//lib/action_text/engine.rb#12 def railtie_helpers_paths; end - # source://railties/7.1.3.4/lib/rails/engine.rb#395 + # source://actiontext//lib/action_text/engine.rb#12 def railtie_namespace; end - # source://railties/7.1.3.4/lib/rails/engine.rb#416 + # source://actiontext//lib/action_text/engine.rb#12 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end - # source://railties/7.1.3.4/lib/rails/engine.rb#401 - def table_name_prefix; end - - # source://railties/7.1.3.4/lib/rails/engine.rb#408 + # source://actiontext//lib/action_text/engine.rb#12 def use_relative_model_naming?; end # Returns the currently loaded version of Action Text as a +Gem::Version+. @@ -152,7 +149,7 @@ module ActionText::Attachable end end -# source://actiontext//lib/action_text/attachable.rb#0 +# source://actiontext//lib/action_text/attachable.rb#55 module ActionText::Attachable::ClassMethods # source://actiontext//lib/action_text/attachable.rb#56 def from_attachable_sgid(sgid); end @@ -189,22 +186,22 @@ class ActionText::Attachables::ContentAttachment extend ::ActiveModel::Validations::HelperMethods extend ::ActiveModel::Conversion::ClassMethods - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validate_callbacks; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators?; end # source://actiontext//lib/action_text/attachables/content_attachment.rb#18 @@ -234,10 +231,10 @@ class ActionText::Attachables::ContentAttachment # source://actiontext//lib/action_text/attachables/content_attachment.rb#13 def content_type=(_arg0); end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def model_name(&block); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter=(_arg0); end # source://actiontext//lib/action_text/attachables/content_attachment.rb#22 @@ -249,7 +246,7 @@ class ActionText::Attachables::ContentAttachment # source://actiontext//lib/action_text/attachables/content_attachment.rb#26 def to_s; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def validation_context; end private @@ -257,44 +254,44 @@ class ActionText::Attachables::ContentAttachment # source://actiontext//lib/action_text/attachables/content_attachment.rb#35 def content_instance; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validate_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validate_callbacks=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def _validators?; end # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 def from_node(node); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter=(value); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachables/content_attachment.rb#6 def param_delimiter?; end end end @@ -311,7 +308,7 @@ class ActionText::Attachables::MissingAttachable # source://actiontext//lib/action_text/attachables/missing_attachable.rb#22 def model; end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachables/missing_attachable.rb#6 def model_name(&block); end # source://actiontext//lib/action_text/attachables/missing_attachable.rb#14 @@ -343,7 +340,7 @@ class ActionText::Attachables::RemoteImage # source://actiontext//lib/action_text/attachables/remote_image.rb#28 def height; end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachables/remote_image.rb#6 def model_name(&block); end # source://actiontext//lib/action_text/attachables/remote_image.rb#41 @@ -414,7 +411,7 @@ class ActionText::Attachment # source://actiontext//lib/action_text/attachment.rb#129 def inspect; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331 + # source://actiontext//lib/action_text/attachment.rb#64 def method_missing(method, *args, **_arg2, &block); end # Returns the value of attribute node. @@ -483,7 +480,7 @@ class ActionText::Attachment # source://actiontext//lib/action_text/attachment.rb#134 def node_attributes; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323 + # source://actiontext//lib/action_text/attachment.rb#64 def respond_to_missing?(name, include_private = T.unsafe(nil)); end # source://actiontext//lib/action_text/attachment.rb#142 @@ -549,22 +546,22 @@ class ActionText::AttachmentGallery # source://actiontext//lib/action_text/attachment_gallery.rb#52 def initialize(node); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validate_callbacks; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators?; end # source://actiontext//lib/action_text/attachment_gallery.rb#56 @@ -573,7 +570,7 @@ class ActionText::AttachmentGallery # source://actiontext//lib/action_text/attachment_gallery.rb#66 def inspect; end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def model_name(&block); end # Returns the value of attribute node. @@ -581,43 +578,43 @@ class ActionText::AttachmentGallery # source://actiontext//lib/action_text/attachment_gallery.rb#50 def node; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter=(_arg0); end # source://actiontext//lib/action_text/attachment_gallery.rb#62 def size; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def validation_context; end private - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validate_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validate_callbacks=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def _validators?; end # source://actiontext//lib/action_text/attachment_gallery.rb#41 @@ -635,13 +632,13 @@ class ActionText::AttachmentGallery # source://actiontext//lib/action_text/attachment_gallery.rb#37 def from_node(node); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter=(value); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://actiontext//lib/action_text/attachment_gallery.rb#5 def param_delimiter?; end # source://actiontext//lib/action_text/attachment_gallery.rb#45 @@ -675,7 +672,7 @@ module ActionText::Attachments::Minification mixes_in_class_methods ::ActionText::Attachments::Minification::ClassMethods end -# source://actiontext//lib/action_text/attachments/minification.rb#0 +# source://actiontext//lib/action_text/attachments/minification.rb#8 module ActionText::Attachments::Minification::ClassMethods # source://actiontext//lib/action_text/attachments/minification.rb#9 def fragment_by_minifying_attachments(content); end @@ -696,7 +693,7 @@ module ActionText::Attachments::TrixConversion def trix_attachment_content; end end -# source://actiontext//lib/action_text/attachments/trix_conversion.rb#0 +# source://actiontext//lib/action_text/attachments/trix_conversion.rb#10 module ActionText::Attachments::TrixConversion::ClassMethods # source://actiontext//lib/action_text/attachments/trix_conversion.rb#11 def fragment_by_converting_trix_attachments(content); end @@ -712,7 +709,7 @@ module ActionText::Attribute mixes_in_class_methods ::ActionText::Attribute::ClassMethods end -# source://actiontext//lib/action_text/attribute.rb#0 +# source://actiontext//lib/action_text/attribute.rb#7 module ActionText::Attribute::ClassMethods # source://actiontext//lib/action_text/attribute.rb#37 def has_rich_text(name, encrypted: T.unsafe(nil), strict_loading: T.unsafe(nil)); end @@ -820,7 +817,7 @@ class ActionText::Content # source://actiontext//lib/action_text/content.rb#27 def present?(*_arg0, **_arg1, &_arg2); end - # source://actiontext//lib/action_text/rendering.rb#12 + # source://actiontext//lib/action_text/content.rb#23 def render(*_arg0, **_arg1, &_arg2); end # source://actiontext//lib/action_text/content.rb#103 @@ -870,10 +867,10 @@ class ActionText::Content # source://actiontext//lib/action_text/content.rb#30 def fragment_by_canonicalizing_content(content); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://actiontext//lib/action_text/content.rb#23 def renderer; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://actiontext//lib/action_text/content.rb#23 def renderer=(obj); end end end @@ -910,20 +907,6 @@ end class ActionText::EncryptedRichText < ::ActionText::RichText include ::ActionText::EncryptedRichText::GeneratedAttributeMethods include ::ActionText::EncryptedRichText::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - end end module ActionText::EncryptedRichText::GeneratedAssociationMethods; end @@ -955,12 +938,7 @@ module ActionText::Encryption end # source://actiontext//lib/action_text/engine.rb#11 -class ActionText::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +class ActionText::Engine < ::Rails::Engine; end # = Action Text \FixtureSet # @@ -1126,7 +1104,7 @@ module ActionText::PlainTextConversion # source://actiontext//lib/action_text/plain_text_conversion.rb#60 def plain_text_for_figcaption_node(node, index); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#32 + # source://actiontext//lib/action_text/plain_text_conversion.rb#37 def plain_text_for_h1_node(node, index = T.unsafe(nil)); end # source://actiontext//lib/action_text/plain_text_conversion.rb#69 @@ -1141,16 +1119,16 @@ module ActionText::PlainTextConversion # source://actiontext//lib/action_text/plain_text_conversion.rb#20 def plain_text_for_node_children(node); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#40 + # source://actiontext//lib/action_text/plain_text_conversion.rb#45 def plain_text_for_ol_node(node, index); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#32 + # source://actiontext//lib/action_text/plain_text_conversion.rb#37 def plain_text_for_p_node(node, index = T.unsafe(nil)); end # source://actiontext//lib/action_text/plain_text_conversion.rb#52 def plain_text_for_text_node(node, index); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#40 + # source://actiontext//lib/action_text/plain_text_conversion.rb#45 def plain_text_for_ul_node(node, index); end # source://actiontext//lib/action_text/plain_text_conversion.rb#28 @@ -1163,14 +1141,6 @@ end class ActionText::Record < ::ActiveRecord::Base include ::ActionText::Record::GeneratedAttributeMethods include ::ActionText::Record::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - end end module ActionText::Record::GeneratedAssociationMethods; end @@ -1183,7 +1153,7 @@ module ActionText::Rendering mixes_in_class_methods ::ActionText::Rendering::ClassMethods end -# source://actiontext//lib/action_text/rendering.rb#0 +# source://actiontext//lib/action_text/rendering.rb#15 module ActionText::Rendering::ClassMethods # source://actiontext//lib/action_text/rendering.rb#16 def action_controller_renderer; end @@ -1199,15 +1169,9 @@ class ActionText::RichText < ::ActionText::Record include ::ActionText::RichText::GeneratedAttributeMethods include ::ActionText::RichText::GeneratedAssociationMethods - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_embeds_attachments(*args); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_embeds_blobs(*args); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_record(*args); end - def blank?(*_arg0, **_arg1, &_arg2); end def empty?(*_arg0, **_arg1, &_arg2); end def nil?(*_arg0, **_arg1, &_arg2); end @@ -1215,84 +1179,26 @@ class ActionText::RichText < ::ActionText::Record def to_plain_text; end def to_s(*_arg0, **_arg1, &_arg2); end def to_trix_html; end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def validate_associated_records_for_embeds_attachments(*args); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def validate_associated_records_for_embeds_blobs(*args); end - - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def with_attached_embeds(*args, **_arg1); end - end end module ActionText::RichText::GeneratedAssociationMethods - # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#187 def embeds; end - - # source://activestorage/7.1.3.4/lib/active_storage/attached/model.rb#192 def embeds=(attachables); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#62 def embeds_attachment_ids; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#72 def embeds_attachment_ids=(ids); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def embeds_attachments; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def embeds_attachments=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#62 def embeds_blob_ids; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/collection_association.rb#72 def embeds_blob_ids=(ids); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def embeds_blobs; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def embeds_blobs=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def record; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def record=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145 def record_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149 def record_previously_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_record; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_record; end end @@ -1308,9 +1214,9 @@ module ActionText::Serialization def _dump(*_arg0); end end -# source://actiontext//lib/action_text/serialization.rb#0 +# source://actiontext//lib/action_text/serialization.rb#7 module ActionText::Serialization::ClassMethods - # source://actiontext//lib/action_text/serialization.rb#8 + # source://actiontext//lib/action_text/serialization.rb#29 def _load(content); end # source://actiontext//lib/action_text/serialization.rb#12 @@ -1426,220 +1332,10 @@ module ActionView::Helpers mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - - class << self - # source://actionview/7.1.3.4/lib/action_view/helpers.rb#35 - def eager_load!; end - end end class ActionView::Helpers::FormBuilder - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1715 - def initialize(object_name, object, template, options); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2644 - def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2468 - def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#908 - def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#920 - def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#860 - def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def color_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def date_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/date_helper.rb#1237 - def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def datetime_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def datetime_local_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/date_helper.rb#1261 - def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def email_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2665 - def emitted_hidden_id?; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680 - def field_helpers; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680 - def field_helpers=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680 - def field_helpers?; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1772 - def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1792 - def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2322 - def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2284 - def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2551 - def file_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#872 - def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2512 - def hidden_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1752 - def id; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1692 - def index; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2399 - def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def month_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1692 - def multipart; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1695 - def multipart=(multipart); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1692 - def multipart?; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def number_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690 - def object; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690 - def object=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690 - def object_name; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690 - def object_name=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690 - def options; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1690 - def options=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def password_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def phone_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2490 - def radio_button(method, tag_value, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def range_field(method, options = T.unsafe(nil)); end - def rich_text_area(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def search_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#848 - def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2583 - def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def telephone_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def text_area(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def text_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def time_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/date_helper.rb#1249 - def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#884 - def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1711 - def to_model; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1707 - def to_partial_path; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def url_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2021 - def week_field(method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_options_helper.rb#896 - def weekday_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - private - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2750 - def convert_to_legacy_options(options); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2732 - def fields_for_nested_model(name, object, fields_options, block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2703 - def fields_for_with_nested_attributes(association_name, association, options, block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2699 - def nested_attributes_association?(association_name); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2745 - def nested_child_index(name); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2670 - def objectify_options(options); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#2676 - def submit_default_value; end - - class << self - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1703 - def _to_partial_path; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680 - def field_helpers; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680 - def field_helpers=(value); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1680 - def field_helpers?; end - end end module ActionView::Helpers::FormHelper @@ -1651,143 +1347,7 @@ module ActionView::Helpers::FormHelper mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1586 - def _object_for_form_builder(object); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1343 - def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1373 - def color_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1437 - def date_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1510 - def datetime_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1510 - def datetime_local_field(object_name, method, options = T.unsafe(nil)); end - - def default_form_builder; end - def default_form_builder=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1564 - def email_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1077 - def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1026 - def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1245 - def file_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#434 - def form_for(record, options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#755 - def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids=(val); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms=(val); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1212 - def hidden_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1149 - def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1529 - def month_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden=(val); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1573 - def number_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1194 - def password_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1405 - def phone_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1365 - def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1582 - def range_field(object_name, method, options = T.unsafe(nil)); end - def rich_text_area(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1396 - def search_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1405 - def telephone_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1275 - def text_area(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1173 - def text_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1475 - def time_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1555 - def url_field(object_name, method, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1546 - def week_field(object_name, method, options = T.unsafe(nil)); end - - private - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#464 - def apply_form_for_options!(object, options); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1620 - def default_form_builder_class; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1591 - def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#1606 - def instantiate_builder(record_name, record_object, options); end - - class << self - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#480 - def form_with_generates_ids=(val); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#478 - def form_with_generates_remote_forms=(val); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/form_helper.rb#482 - def multiple_file_field_include_hidden=(val); end - end end module ActionView::Helpers::Tags; end diff --git a/sorbet/rbi/gems/actionview@7.1.3.4.rbi b/sorbet/rbi/gems/actionview@7.1.3.4.rbi index 89e0c2e0d..58e79622a 100644 --- a/sorbet/rbi/gems/actionview@7.1.3.4.rbi +++ b/sorbet/rbi/gems/actionview@7.1.3.4.rbi @@ -12,538 +12,6 @@ class ActionController::Base < ::ActionController::Metal include ::AbstractController::Caching::ConfigMethods include ::ActionController::BasicImplicitRender extend ::AbstractController::Helpers::Resolution - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 - def _helper_methods=(_arg0); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 - def _helper_methods?; end - - # source://actionview//lib/action_view/layouts.rb#216 - def _layout_conditions(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _process_action_callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31 - def _renderers; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31 - def _renderers=(_arg0); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31 - def _renderers?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_process_action_callbacks(&block); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies=(_arg0); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options=(_arg0); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#36 - def alert; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def allow_forgery_protection; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def allow_forgery_protection=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def asset_host; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def asset_host=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def assets_dir; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def assets_dir=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def csrf_token_storage_strategy; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def csrf_token_storage_strategy=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def default_asset_host_protocol; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def default_asset_host_protocol=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def default_protect_from_forgery; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def default_protect_from_forgery=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def default_static_extension; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def default_static_extension=(value); end - - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97 - def default_url_options; end - - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97 - def default_url_options=(_arg0); end - - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97 - def default_url_options?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def enable_fragment_cache_logging; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def enable_fragment_cache_logging=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest=(_arg0); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13 - def etaggers; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13 - def etaggers=(_arg0); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13 - def etaggers?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#10 - def flash(*_arg0, **_arg1, &_arg2); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def forgery_protection_origin_check; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def forgery_protection_origin_check=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def forgery_protection_strategy; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def forgery_protection_strategy=(value); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys=(_arg0); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65 - def helpers_path; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65 - def helpers_path=(_arg0); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65 - def helpers_path?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66 - def include_all_helpers; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66 - def include_all_helpers=(_arg0); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66 - def include_all_helpers?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def javascripts_dir; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def javascripts_dir=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def log_warning_on_csrf_failure; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def log_warning_on_csrf_failure=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def logger; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def logger=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#36 - def notice; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def per_form_csrf_tokens; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def per_form_csrf_tokens=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def perform_caching; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def perform_caching=(value); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions=(val); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects=(val); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def relative_url_root; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def relative_url_root=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def request_forgery_protection_token; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def request_forgery_protection_token=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers=(_arg0); end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def stylesheets_dir; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def stylesheets_dir=(value); end - - private - - # source://actionview//lib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - # source://actionpack/7.1.3.4/lib/action_controller/base.rb#252 - def _protected_ivars; end - - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://actionpack/7.1.3.4/lib/action_controller/form_builder.rb#33 - def _default_form_builder; end - - # source://actionpack/7.1.3.4/lib/action_controller/form_builder.rb#33 - def _default_form_builder=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/form_builder.rb#33 - def _default_form_builder?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#8 - def _flash_types; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#8 - def _flash_types=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/flash.rb#8 - def _flash_types?; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 - def _helper_methods=(value); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 - def _helper_methods?; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#16 - def _helpers; end - - # source://actionview//lib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview//lib/action_view/layouts.rb#211 - def _layout=(value); end - - # source://actionview//lib/action_view/layouts.rb#211 - def _layout?; end - - # source://actionview//lib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionview//lib/action_view/layouts.rb#212 - def _layout_conditions=(value); end - - # source://actionview//lib/action_view/layouts.rb#212 - def _layout_conditions?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _process_action_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _process_action_callbacks=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31 - def _renderers; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31 - def _renderers=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/renderers.rb#31 - def _renderers?; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies=(value); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching.rb#42 - def _view_cache_dependencies?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def allow_forgery_protection; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def allow_forgery_protection=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def asset_host; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def asset_host=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def assets_dir; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def assets_dir=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def csrf_token_storage_strategy; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def csrf_token_storage_strategy=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def default_asset_host_protocol; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def default_asset_host_protocol=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def default_protect_from_forgery; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def default_protect_from_forgery=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def default_static_extension; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def default_static_extension=(value); end - - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97 - def default_url_options; end - - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97 - def default_url_options=(value); end - - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#97 - def default_url_options?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def enable_fragment_cache_logging; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def enable_fragment_cache_logging=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13 - def etaggers; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13 - def etaggers=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/conditional_get.rb#13 - def etaggers?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def forgery_protection_origin_check; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def forgery_protection_origin_check=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def forgery_protection_strategy; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def forgery_protection_strategy=(value); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys=(value); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65 - def helpers_path; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65 - def helpers_path=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#65 - def helpers_path?; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66 - def include_all_helpers; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66 - def include_all_helpers=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/helpers.rb#66 - def include_all_helpers?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def javascripts_dir; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def javascripts_dir=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def log_warning_on_csrf_failure; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def log_warning_on_csrf_failure=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def logger; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def logger=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 - def middleware_stack; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def per_form_csrf_tokens; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def per_form_csrf_tokens=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def perform_caching; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def perform_caching=(value); end - - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions; end - - # source://actionpack/7.1.3.4/lib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions=(val); end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects=(val); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def relative_url_root; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def relative_url_root=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def request_forgery_protection_token; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def request_forgery_protection_token=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#115 - def stylesheets_dir; end - - # source://activesupport/7.1.3.4/lib/active_support/configurable.rb#116 - def stylesheets_dir=(value); end - - # source://actionpack/7.1.3.4/lib/action_controller/base.rb#184 - def without_modules(*modules); end - end end # :include: actionview/README.rdoc @@ -935,10 +403,10 @@ class ActionView::Base # source://actionview//lib/action_view/base.rb#207 def assign(new_assigns); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#203 def assigns; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#203 def assigns=(_arg0); end # source://actionview//lib/action_view/base.rb#160 @@ -952,16 +420,16 @@ class ActionView::Base # source://actionview//lib/action_view/base.rb#270 def compiled_method_container; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#203 def config; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attr_internal.rb#33 + # source://actionview//lib/action_view/base.rb#203 def config=(_arg0); end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#142 def debug_missing_translation; end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#142 def debug_missing_translation=(val); end # source://actionview//lib/action_view/base.rb#157 @@ -1064,16 +532,16 @@ class ActionView::Base # source://actionview//lib/action_view/base.rb#197 def changed?(other); end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#142 def debug_missing_translation; end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/base.rb#142 def debug_missing_translation=(val); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2759 + # source://actionview//lib/action_view/base.rb#297 def default_form_builder; end - # source://actionview//lib/action_view/helpers/form_helper.rb#2759 + # source://actionview//lib/action_view/base.rb#297 def default_form_builder=(val); end # source://actionview//lib/action_view/base.rb#157 @@ -1096,7 +564,7 @@ class ActionView::Base # source://actionview//lib/action_view/base.rb#145 def field_error_proc=(val); end - # source://actionview//lib/action_view/base.rb#166 + # source://actionview//lib/action_view/base.rb#297 def logger; end # source://actionview//lib/action_view/base.rb#166 @@ -1634,7 +1102,7 @@ class ActionView::FileSystemResolver < ::ActionView::Resolver # @return [Boolean] # - # source://actionview//lib/action_view/template/resolver.rb#115 + # source://actionview//lib/action_view/template/resolver.rb#118 def ==(resolver); end # source://actionview//lib/action_view/template/resolver.rb#120 @@ -1656,7 +1124,7 @@ class ActionView::FileSystemResolver < ::ActionView::Resolver # source://actionview//lib/action_view/template/resolver.rb#94 def path; end - # source://actionview//lib/action_view/template/resolver.rb#110 + # source://actionview//lib/action_view/template/resolver.rb#113 def to_path; end # source://actionview//lib/action_view/template/resolver.rb#110 @@ -2653,7 +2121,7 @@ module ActionView::Helpers::AssetUrlHelper # # @raise [ArgumentError] # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#187 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#219 def path_to_asset(source, options = T.unsafe(nil)); end # Computes the path to an audio asset in the public audios directory. @@ -2667,7 +2135,7 @@ module ActionView::Helpers::AssetUrlHelper # audio_path("http://www.example.com/sounds/horse.wav") # => http://www.example.com/sounds/horse.wav # aliased to avoid conflicts with an audio_path named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#430 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#433 def path_to_audio(source, options = T.unsafe(nil)); end # Computes the path to a font asset. @@ -2680,7 +2148,7 @@ module ActionView::Helpers::AssetUrlHelper # font_path("http://www.example.com/dir/font.ttf") # => http://www.example.com/dir/font.ttf # aliased to avoid conflicts with a font_path named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#455 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#458 def path_to_font(source, options = T.unsafe(nil)); end # Computes the path to an image asset. @@ -2698,7 +2166,7 @@ module ActionView::Helpers::AssetUrlHelper # plugin authors are encouraged to do so. # aliased to avoid conflicts with an image_path named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#378 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#381 def path_to_image(source, options = T.unsafe(nil)); end # Computes the path to a JavaScript asset in the public javascripts directory. @@ -2713,7 +2181,7 @@ module ActionView::Helpers::AssetUrlHelper # javascript_path "http://www.example.com/js/xmlhr.js" # => http://www.example.com/js/xmlhr.js # aliased to avoid conflicts with a javascript_path named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#321 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#324 def path_to_javascript(source, options = T.unsafe(nil)); end # Computes the path to a stylesheet asset in the public stylesheets directory. @@ -2728,7 +2196,7 @@ module ActionView::Helpers::AssetUrlHelper # stylesheet_path "http://www.example.com/css/style.css" # => http://www.example.com/css/style.css # aliased to avoid conflicts with a stylesheet_path named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#348 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#351 def path_to_stylesheet(source, options = T.unsafe(nil)); end # Computes the path to a video asset in the public videos directory. @@ -2742,14 +2210,14 @@ module ActionView::Helpers::AssetUrlHelper # video_path("http://www.example.com/vid/hd.avi") # => http://www.example.com/vid/hd.avi # aliased to avoid conflicts with a video_path named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#404 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#407 def path_to_video(source, options = T.unsafe(nil)); end # Computes asset path to public directory. Plugins and # extensions can override this method to point to custom assets # or generate digested paths or query strings. # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#266 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#270 def public_compute_asset_path(source, options = T.unsafe(nil)); end # Computes the path to a stylesheet asset in the public stylesheets directory. @@ -2787,7 +2255,7 @@ module ActionView::Helpers::AssetUrlHelper # asset_url "application.js", host: "http://cdn.example.com" # => http://cdn.example.com/assets/application.js # aliased to avoid conflicts with an asset_url named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#231 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#234 def url_to_asset(source, options = T.unsafe(nil)); end # Computes the full URL to an audio asset in the public audios directory. @@ -2798,7 +2266,7 @@ module ActionView::Helpers::AssetUrlHelper # audio_url "horse.wav", host: "http://stage.example.com" # => http://stage.example.com/audios/horse.wav # aliased to avoid conflicts with an audio_url named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#442 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#445 def url_to_audio(source, options = T.unsafe(nil)); end # Computes the full URL to a font asset. @@ -2809,7 +2277,7 @@ module ActionView::Helpers::AssetUrlHelper # font_url "font.ttf", host: "http://stage.example.com" # => http://stage.example.com/fonts/font.ttf # aliased to avoid conflicts with a font_url named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#467 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#470 def url_to_font(source, options = T.unsafe(nil)); end # Computes the full URL to an image asset. @@ -2820,7 +2288,7 @@ module ActionView::Helpers::AssetUrlHelper # image_url "edit.png", host: "http://stage.example.com" # => http://stage.example.com/assets/edit.png # aliased to avoid conflicts with an image_url named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#390 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#393 def url_to_image(source, options = T.unsafe(nil)); end # Computes the full URL to a JavaScript asset in the public javascripts directory. @@ -2831,7 +2299,7 @@ module ActionView::Helpers::AssetUrlHelper # javascript_url "js/xmlhr.js", host: "http://stage.example.com" # => http://stage.example.com/assets/js/xmlhr.js # aliased to avoid conflicts with a javascript_url named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#333 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#336 def url_to_javascript(source, options = T.unsafe(nil)); end # Computes the full URL to a stylesheet asset in the public stylesheets directory. @@ -2842,7 +2310,7 @@ module ActionView::Helpers::AssetUrlHelper # stylesheet_url "css/style.css", host: "http://stage.example.com" # => http://stage.example.com/assets/css/style.css # aliased to avoid conflicts with a stylesheet_url named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#360 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#363 def url_to_stylesheet(source, options = T.unsafe(nil)); end # Computes the full URL to a video asset in the public videos directory. @@ -2853,7 +2321,7 @@ module ActionView::Helpers::AssetUrlHelper # video_url "hd.avi", host: "http://stage.example.com" # => http://stage.example.com/videos/hd.avi # aliased to avoid conflicts with a video_url named route # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#416 + # source://actionview//lib/action_view/helpers/asset_url_helper.rb#419 def url_to_video(source, options = T.unsafe(nil)); end # Computes the path to a video asset in the public videos directory. @@ -3593,7 +3061,10 @@ module ActionView::Helpers::ControllerHelper # source://actionview//lib/action_view/helpers/controller_helper.rb#20 def assign_controller(controller); end + # source://actionview//lib/action_view/helpers/controller_helper.rb#12 def controller; end + + # source://actionview//lib/action_view/helpers/controller_helper.rb#12 def controller=(_arg0); end # source://actionview//lib/action_view/helpers/controller_helper.rb#18 @@ -3617,7 +3088,10 @@ module ActionView::Helpers::ControllerHelper # source://actionview//lib/action_view/helpers/controller_helper.rb#18 def params(*_arg0, **_arg1, &_arg2); end + # source://actionview//lib/action_view/helpers/controller_helper.rb#12 def request; end + + # source://actionview//lib/action_view/helpers/controller_helper.rb#12 def request=(_arg0); end # source://actionview//lib/action_view/helpers/controller_helper.rb#18 @@ -3676,7 +3150,7 @@ module ActionView::Helpers::CsrfHelper # +X-CSRF-Token+ HTTP header. If you are using rails-ujs, this happens automatically. # For backwards compatibility. # - # source://actionview//lib/action_view/helpers/csrf_helper.rb#22 + # source://actionview//lib/action_view/helpers/csrf_helper.rb#32 def csrf_meta_tag; end # Returns meta tags "csrf-param" and "csrf-token" with the name of the cross-site @@ -3945,7 +3419,7 @@ module ActionView::Helpers::DateHelper # # Note that you cannot pass a Numeric value to time_ago_in_words. # - # source://actionview//lib/action_view/helpers/date_helper.rb#176 + # source://actionview//lib/action_view/helpers/date_helper.rb#180 def distance_of_time_in_words_to_now(from_time, options = T.unsafe(nil)); end # Returns a set of HTML select-tags (one for year, month, and day) pre-selected with the +date+. @@ -4873,10 +4347,10 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/form_options_helper.rb#860 def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def color_field(method, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def date_field(method, options = T.unsafe(nil)); end # Wraps ActionView::Helpers::DateHelper#date_select for form builders: @@ -4891,10 +4365,10 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/date_helper.rb#1237 def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def datetime_field(method, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def datetime_local_field(method, options = T.unsafe(nil)); end # Wraps ActionView::Helpers::DateHelper#datetime_select for form builders: @@ -4909,7 +4383,7 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/date_helper.rb#1261 def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def email_field(method, options = T.unsafe(nil)); end # @return [Boolean] @@ -5396,7 +4870,7 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/form_helper.rb#2399 def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def month_field(method, options = T.unsafe(nil)); end # Returns the value of attribute multipart. @@ -5409,10 +4883,10 @@ class ActionView::Helpers::FormBuilder # Returns the value of attribute multipart. # - # source://actionview//lib/action_view/helpers/form_helper.rb#1692 + # source://actionview//lib/action_view/helpers/form_helper.rb#1693 def multipart?; end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def number_field(method, options = T.unsafe(nil)); end # Returns the value of attribute object. @@ -5451,10 +4925,10 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/form_helper.rb#1690 def options=(_arg0); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def password_field(method, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def phone_field(method, options = T.unsafe(nil)); end # Returns a radio button tag for accessing a specified attribute (identified by +method+) on an object @@ -5479,12 +4953,10 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/form_helper.rb#2490 def radio_button(method, tag_value, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def range_field(method, options = T.unsafe(nil)); end - def rich_text_area(method, options = T.unsafe(nil)); end - - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def search_field(method, options = T.unsafe(nil)); end # Wraps ActionView::Helpers::FormOptionsHelper#select for form builders: @@ -5529,16 +5001,16 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/form_helper.rb#2583 def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def telephone_field(method, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def text_area(method, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def text_field(method, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def time_field(method, options = T.unsafe(nil)); end # Wraps ActionView::Helpers::DateHelper#time_select for form builders: @@ -5571,10 +5043,10 @@ class ActionView::Helpers::FormBuilder # source://actionview//lib/action_view/helpers/form_helper.rb#1707 def to_partial_path; end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def url_field(method, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_helper.rb#2021 + # source://actionview//lib/action_view/helpers/form_helper.rb#2020 def week_field(method, options = T.unsafe(nil)); end # Wraps ActionView::Helpers::FormOptionsHelper#weekday_select for form builders: @@ -5913,10 +5385,13 @@ module ActionView::Helpers::FormHelper # datetime_field("user", "born_on", include_seconds: false) # # => # - # source://actionview//lib/action_view/helpers/form_helper.rb#1510 + # source://actionview//lib/action_view/helpers/form_helper.rb#1514 def datetime_local_field(object_name, method, options = T.unsafe(nil)); end + # source://actionview//lib/action_view/helpers/form_helper.rb#120 def default_form_builder; end + + # source://actionview//lib/action_view/helpers/form_helper.rb#120 def default_form_builder=(_arg0); end # Returns a text_field of type "email". @@ -7000,7 +6475,7 @@ module ActionView::Helpers::FormHelper # # => # aliases telephone_field # - # source://actionview//lib/action_view/helpers/form_helper.rb#1405 + # source://actionview//lib/action_view/helpers/form_helper.rb#1409 def phone_field(object_name, method, options = T.unsafe(nil)); end # Returns a radio button tag for accessing a specified attribute (identified by +method+) on an object @@ -7034,8 +6509,6 @@ module ActionView::Helpers::FormHelper # source://actionview//lib/action_view/helpers/form_helper.rb#1582 def range_field(object_name, method, options = T.unsafe(nil)); end - def rich_text_area(object_name, method, options = T.unsafe(nil)); end - # Returns an input of type "search" for accessing a specified attribute (identified by +method+) on an object # assigned to the template (identified by +object_name+). Inputs of type "search" may be styled differently by # some browsers. @@ -8129,7 +7602,7 @@ module ActionView::Helpers::FormTagHelper # * :step - The acceptable value granularity. # * :include_seconds - Include seconds in the output timestamp format (true by default). # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#801 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#805 def datetime_local_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # source://actionview//lib/action_view/helpers/form_tag_helper.rb#29 @@ -8500,7 +7973,7 @@ module ActionView::Helpers::FormTagHelper # telephone_field_tag 'tel', '0123456789', class: 'special_input', disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#749 + # source://actionview//lib/action_view/helpers/form_tag_helper.rb#752 def phone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # :call-seq: @@ -8880,7 +8353,7 @@ module ActionView::Helpers::JavaScriptHelper # # $('some_element').replaceWith('<%= j render 'some/element_template' %>'); # - # source://actionview//lib/action_view/helpers/javascript_helper.rb#28 + # source://actionview//lib/action_view/helpers/javascript_helper.rb#38 def j(javascript); end # source://actionview//lib/action_view/helpers/javascript_helper.rb#91 @@ -9409,64 +8882,11 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # source://actionview//lib/action_view/helpers/sanitize_helper.rb#165 def sanitized_allowed_attributes; end - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#34 - def sanitized_allowed_attributes=(attributes); end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_css_keywords; end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_css_keywords=(_); end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_css_properties; end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_css_properties=(_); end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_protocols; end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_protocols=(_); end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#161 def sanitized_allowed_tags; end - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#24 - def sanitized_allowed_tags=(tags); end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47 - def sanitized_bad_tags; end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48 - def sanitized_bad_tags=(_); end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47 - def sanitized_protocol_separator; end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48 - def sanitized_protocol_separator=(_); end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47 - def sanitized_shorthand_css_properties; end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48 - def sanitized_shorthand_css_properties=(_); end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#47 - def sanitized_uri_attributes; end - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48 - def sanitized_uri_attributes=(_); end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#157 def sanitizer_vendor; end - - private - - # source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#52 - def deprecate_option(name); end end # = Action View Tag \Helpers @@ -9508,7 +8928,7 @@ module ActionView::Helpers::TagHelper # token_list(nil, false, 123, "", "foo", { bar: true }) # # => "123 foo bar" # - # source://actionview//lib/action_view/helpers/tag_helper.rb#366 + # source://actionview//lib/action_view/helpers/tag_helper.rb#371 def class_names(*args); end # Returns an HTML block tag of type +name+ surrounding the +content+. Add @@ -9720,7 +9140,7 @@ module ActionView::Helpers::TagHelper def tag_builder; end class << self - # source://actionview//lib/action_view/helpers/tag_helper.rb#403 + # source://actionview//lib/action_view/helpers/tag_helper.rb#421 def build_tag_values(*args); end end end @@ -10847,7 +10267,7 @@ module ActionView::Helpers::TranslationHelper # See https://www.rubydoc.info/gems/i18n/I18n/Backend/Base:localize # for more information. # - # source://actionview//lib/action_view/helpers/translation_helper.rb#116 + # source://actionview//lib/action_view/helpers/translation_helper.rb#119 def l(object, **options); end # Delegates to I18n.localize with no additional functionality. @@ -10910,7 +10330,7 @@ module ActionView::Helpers::TranslationHelper # This enables annotate translated text to be aware of the scope it was # resolved against. # - # source://actionview//lib/action_view/helpers/translation_helper.rb#73 + # source://actionview//lib/action_view/helpers/translation_helper.rb#110 def t(key, **options); end # Delegates to I18n#translate but also performs three additional @@ -11849,6 +11269,7 @@ module ActionView::Layouts # source://actionview//lib/action_view/layouts.rb#352 def _normalize_options(options); end + # source://actionview//lib/action_view/layouts.rb#361 def action_has_layout=(_arg0); end # Controls whether an action should be rendered using a layout. @@ -12024,7 +11445,7 @@ class ActionView::LogSubscriber < ::ActiveSupport::LogSubscriber # source://actionview//lib/action_view/log_subscriber.rb#101 def attach_to(*_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87 + # source://actionview//lib/action_view/log_subscriber.rb#55 def log_levels; end end end @@ -12127,40 +11548,40 @@ end # # source://actionview//lib/action_view/lookup_context.rb#39 module ActionView::LookupContext::Accessors - # source://actionview//lib/action_view/lookup_context.rb#50 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_formats; end - # source://actionview//lib/action_view/lookup_context.rb#52 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_handlers; end - # source://actionview//lib/action_view/lookup_context.rb#43 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_locale; end - # source://actionview//lib/action_view/lookup_context.rb#51 + # source://actionview//lib/action_view/lookup_context.rb#25 def default_variants; end - # source://actionview//lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def formats; end - # source://actionview//lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def formats=(value); end - # source://actionview//lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def handlers; end - # source://actionview//lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def handlers=(value); end - # source://actionview//lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def locale; end - # source://actionview//lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def locale=(value); end - # source://actionview//lib/action_view/lookup_context.rb#27 + # source://actionview//lib/action_view/lookup_context.rb#26 def variants; end - # source://actionview//lib/action_view/lookup_context.rb#31 + # source://actionview//lib/action_view/lookup_context.rb#26 def variants=(value); end end @@ -12233,7 +11654,7 @@ module ActionView::LookupContext::ViewPaths # @return [Boolean] # - # source://actionview//lib/action_view/lookup_context.rb#148 + # source://actionview//lib/action_view/lookup_context.rb#153 def any_templates?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil)); end # source://actionview//lib/action_view/lookup_context.rb#155 @@ -12250,7 +11671,7 @@ module ActionView::LookupContext::ViewPaths # source://actionview//lib/action_view/lookup_context.rb#135 def find_all(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview//lib/action_view/lookup_context.rb#128 + # source://actionview//lib/action_view/lookup_context.rb#133 def find_template(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), options = T.unsafe(nil)); end # Returns the value of attribute html_fallback_for_js. @@ -12263,7 +11684,7 @@ module ActionView::LookupContext::ViewPaths # @return [Boolean] # - # source://actionview//lib/action_view/lookup_context.rb#141 + # source://actionview//lib/action_view/lookup_context.rb#146 def template_exists?(name, prefixes = T.unsafe(nil), partial = T.unsafe(nil), keys = T.unsafe(nil), **options); end # Returns the value of attribute view_paths. @@ -12355,30 +11776,47 @@ class ActionView::MissingTemplate::Results::Result < ::Struct # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://actionview//lib/action_view/template/error.rb#61 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/error.rb#61 def path=(_); end # Returns the value of attribute score # # @return [Object] the current value of score + # + # source://actionview//lib/action_view/template/error.rb#61 def score; end # Sets the attribute score # # @param value [Object] the value to set the attribute score to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/error.rb#61 def score=(_); end class << self + # source://actionview//lib/action_view/template/error.rb#61 def [](*_arg0); end + + # source://actionview//lib/action_view/template/error.rb#61 def inspect; end + + # source://actionview//lib/action_view/template/error.rb#61 def keyword_init?; end + + # source://actionview//lib/action_view/template/error.rb#61 def members; end + + # source://actionview//lib/action_view/template/error.rb#61 def new(*_arg0); end end end @@ -12446,7 +11884,7 @@ class ActionView::OutputBuffer # source://actionview//lib/action_view/buffers.rb#81 def ==(other); end - # source://actionview//lib/action_view/buffers.rb#42 + # source://actionview//lib/action_view/buffers.rb#54 def append=(value); end # source://actionview//lib/action_view/buffers.rb#27 @@ -12455,7 +11893,7 @@ class ActionView::OutputBuffer # source://actionview//lib/action_view/buffers.rb#72 def capture(*args); end - # source://actionview//lib/action_view/buffers.rb#42 + # source://actionview//lib/action_view/buffers.rb#53 def concat(value); end # source://actionview//lib/action_view/buffers.rb#27 @@ -12470,7 +11908,7 @@ class ActionView::OutputBuffer # source://actionview//lib/action_view/buffers.rb#27 def force_encoding(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/buffers.rb#29 + # source://actionview//lib/action_view/buffers.rb#32 def html_safe; end # @return [Boolean] @@ -12489,7 +11927,7 @@ class ActionView::OutputBuffer # source://actionview//lib/action_view/buffers.rb#89 def raw_buffer; end - # source://actionview//lib/action_view/buffers.rb#56 + # source://actionview//lib/action_view/buffers.rb#60 def safe_append=(value); end # source://actionview//lib/action_view/buffers.rb#56 @@ -12524,7 +11962,7 @@ class ActionView::OutputFlow # Called by content_for # - # source://actionview//lib/action_view/flows.rb#24 + # source://actionview//lib/action_view/flows.rb#27 def append!(key, value); end # Returns the value of attribute content. @@ -12802,10 +12240,10 @@ class ActionView::PartialRenderer < ::ActionView::AbstractRenderer # source://actionview//lib/action_view/renderer/partial_renderer.rb#223 def initialize(lookup_context, options); end - # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache; end - # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache=(val); end # source://actionview//lib/action_view/renderer/partial_renderer.rb#230 @@ -12823,10 +12261,10 @@ class ActionView::PartialRenderer < ::ActionView::AbstractRenderer def template_keys(_); end class << self - # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache; end - # source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#12 + # source://actionview//lib/action_view/renderer/partial_renderer.rb#221 def collection_cache=(val); end end end @@ -12925,12 +12363,7 @@ end # = Action View Railtie # # source://actionview//lib/action_view/railtie.rb#8 -class ActionView::Railtie < ::Rails::Engine - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +class ActionView::Railtie < ::Rails::Engine; end # source://actionview//lib/action_view/buffers.rb#92 class ActionView::RawOutputBuffer @@ -13229,574 +12662,574 @@ end # source://actionview//lib/action_view/ripper_ast_parser.rb#111 class ActionView::RenderParser::RipperASTParser::NodeParser < ::Ripper - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_BEGIN(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_CHAR(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_END(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on___end__(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_alias(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_alias_error(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_aref(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_aref_field(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_arg_ambiguous(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_arg_paren(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_args_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_args_add_block(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_args_add_star(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_args_forward(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_args_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_array(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_aryptn(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assign(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assign_error(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assoc_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assoc_splat(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_assoclist_from_args(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_backref(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_backtick(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_bare_assoc_hash(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_begin(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_binary(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_block_var(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_blockarg(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_bodystmt(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_brace_block(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_break(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_call(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_case(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_class(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_class_name_error(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_comma(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_command(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_command_call(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_comment(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_const(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_const_path_field(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_const_path_ref(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_const_ref(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_cvar(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_def(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_defined(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_defs(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_do_block(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_dot2(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_dot3(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_dyna_symbol(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_else(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_elsif(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embdoc(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embdoc_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embdoc_end(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embexpr_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embexpr_end(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_embvar(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_ensure(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_excessed_comma(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_fcall(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_field(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_float(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_fndptn(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_for(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_gvar(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_hash(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_heredoc_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_heredoc_dedent(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_heredoc_end(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_hshptn(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ident(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_if(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_if_mod(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_ifop(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ignored_nl(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ignored_sp(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_imaginary(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_in(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_int(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_ivar(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_kw(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_kwrest_param(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_label(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_label_end(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_lambda(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_lbrace(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_lbracket(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_lparen(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_magic_comment(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_massign(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_method_add_arg(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_method_add_block(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mlhs_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mlhs_add_post(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mlhs_add_star(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_mlhs_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_mlhs_paren(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_module(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mrhs_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_mrhs_add_star(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_mrhs_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_mrhs_new_from_args(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_next(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_nl(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_nokw_param(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_op(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_opassign(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_operator_ambiguous(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_param_error(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_params(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_paren(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_parse_error(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_period(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_program(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_qsymbols_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_qsymbols_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_qsymbols_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_qwords_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_qwords_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_qwords_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rational(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rbrace(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rbracket(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_redo(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_regexp_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_regexp_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_regexp_end(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_regexp_literal(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_regexp_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_rescue(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_rescue_mod(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_rest_param(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_retry(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_return(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_return0(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_rparen(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_sclass(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_semicolon(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_sp(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_stmts_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_stmts_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_string_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_concat(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_content(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_dvar(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_embexpr(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_string_literal(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_super(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_symbeg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_symbol(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_symbol_literal(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_symbols_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_symbols_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_symbols_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tlambda(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tlambeg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_top_const_field(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_top_const_ref(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tstring_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tstring_content(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_tstring_end(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_unary(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_undef(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_unless(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_unless_mod(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_until(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_until_mod(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_var_alias(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_var_field(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_var_ref(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_vcall(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_void_stmt(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_when(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_while(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_while_mod(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_word_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_word_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_words_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_words_beg(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_words_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#140 + # source://actionview//lib/action_view/ripper_ast_parser.rb#139 def on_words_sep(tok); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#123 + # source://actionview//lib/action_view/ripper_ast_parser.rb#121 def on_xstring_add(list, item); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_xstring_literal(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#116 + # source://actionview//lib/action_view/ripper_ast_parser.rb#115 def on_xstring_new(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_yield(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_yield0(*args); end - # source://actionview//lib/action_view/ripper_ast_parser.rb#131 + # source://actionview//lib/action_view/ripper_ast_parser.rb#129 def on_zsuper(*args); end end @@ -14052,7 +13485,7 @@ class ActionView::Resolver # source://actionview//lib/action_view/template/resolver.rb#53 def caching=(val); end - # source://actionview//lib/action_view/template/resolver.rb#53 + # source://actionview//lib/action_view/template/resolver.rb#56 def caching?; end end end @@ -14071,30 +13504,47 @@ class ActionView::Resolver::PathParser::ParsedPath < ::Struct # Returns the value of attribute details # # @return [Object] the current value of details + # + # source://actionview//lib/action_view/template/resolver.rb#16 def details; end # Sets the attribute details # # @param value [Object] the value to set the attribute details to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/resolver.rb#16 def details=(_); end # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://actionview//lib/action_view/template/resolver.rb#16 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://actionview//lib/action_view/template/resolver.rb#16 def path=(_); end class << self + # source://actionview//lib/action_view/template/resolver.rb#16 def [](*_arg0); end + + # source://actionview//lib/action_view/template/resolver.rb#16 def inspect; end + + # source://actionview//lib/action_view/template/resolver.rb#16 def keyword_init?; end + + # source://actionview//lib/action_view/template/resolver.rb#16 def members; end + + # source://actionview//lib/action_view/template/resolver.rb#16 def new(*_arg0); end end end @@ -14103,9 +13553,6 @@ end module ActionView::RoutingUrlFor include ::ActionDispatch::Routing::PolymorphicRoutes - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#99 - def default_url_options=(val); end - # Returns the URL for the set of +options+ provided. This takes the # same options as +url_for+ in Action Controller (see the # documentation for ActionDispatch::Routing::UrlFor#url_for). Note that by default @@ -14203,11 +13650,6 @@ module ActionView::RoutingUrlFor # # source://actionview//lib/action_view/routing_url_for.rb#134 def optimize_routes_generation?; end - - class << self - # source://actionpack/7.1.3.4/lib/action_dispatch/routing/url_for.rb#99 - def default_url_options=(val); end - end end # source://actionview//lib/action_view/buffers.rb#108 @@ -14220,7 +13662,7 @@ class ActionView::StreamingBuffer # source://actionview//lib/action_view/buffers.rb#113 def <<(value); end - # source://actionview//lib/action_view/buffers.rb#113 + # source://actionview//lib/action_view/buffers.rb#119 def append=(value); end # Returns the value of attribute block. @@ -14231,7 +13673,7 @@ class ActionView::StreamingBuffer # source://actionview//lib/action_view/buffers.rb#126 def capture; end - # source://actionview//lib/action_view/buffers.rb#113 + # source://actionview//lib/action_view/buffers.rb#118 def concat(value); end # source://actionview//lib/action_view/buffers.rb#139 @@ -14245,7 +13687,7 @@ class ActionView::StreamingBuffer # source://actionview//lib/action_view/buffers.rb#143 def raw; end - # source://actionview//lib/action_view/buffers.rb#121 + # source://actionview//lib/action_view/buffers.rb#124 def safe_append=(value); end # source://actionview//lib/action_view/buffers.rb#121 @@ -14608,7 +14050,7 @@ class ActionView::Template::HTML # source://actionview//lib/action_view/template/html.rb#14 def identifier; end - # source://actionview//lib/action_view/template/html.rb#14 + # source://actionview//lib/action_view/template/html.rb#18 def inspect; end # source://actionview//lib/action_view/template/html.rb#24 @@ -14941,10 +14383,10 @@ class ActionView::Template::SimpleType # source://actionview//lib/action_view/template/types.rb#33 def to_s; end - # source://actionview//lib/action_view/template/types.rb#33 + # source://actionview//lib/action_view/template/types.rb#36 def to_str; end - # source://actionview//lib/action_view/template/types.rb#38 + # source://actionview//lib/action_view/template/types.rb#41 def to_sym; end class << self @@ -14996,7 +14438,7 @@ class ActionView::Template::Text # source://actionview//lib/action_view/template/text.rb#13 def identifier; end - # source://actionview//lib/action_view/template/text.rb#13 + # source://actionview//lib/action_view/template/text.rb#17 def inspect; end # source://actionview//lib/action_view/template/text.rb#23 @@ -15133,7 +14575,7 @@ class ActionView::TemplatePath # @return [Boolean] # - # source://actionview//lib/action_view/template_path.rb#61 + # source://actionview//lib/action_view/template_path.rb#64 def ==(other); end # @return [Boolean] @@ -15156,7 +14598,7 @@ class ActionView::TemplatePath # Returns the value of attribute partial. # - # source://actionview//lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#13 def partial?; end # Returns the value of attribute prefix. @@ -15166,12 +14608,12 @@ class ActionView::TemplatePath # Returns the value of attribute virtual. # - # source://actionview//lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#55 def to_s; end # Returns the value of attribute virtual. # - # source://actionview//lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#54 def to_str; end # Returns the value of attribute virtual. @@ -15181,7 +14623,7 @@ class ActionView::TemplatePath # Returns the value of attribute virtual. # - # source://actionview//lib/action_view/template_path.rb#12 + # source://actionview//lib/action_view/template_path.rb#14 def virtual_path; end class << self @@ -15294,35 +14736,35 @@ class ActionView::TestCase < ::ActiveSupport::TestCase extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods extend ::ActionView::TestCase::Behavior::ClassMethods - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods=(_arg0); end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods?; end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation; end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation=(val); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://actionview//lib/action_view/test_case.rb#203 def __callbacks; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods=(value); end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://actionview//lib/action_view/test_case.rb#449 def _helper_methods?; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#16 + # source://actionview//lib/action_view/test_case.rb#449 def _helpers; end # source://actionview//lib/action_view/test_case.rb#201 @@ -15334,10 +14776,10 @@ class ActionView::TestCase < ::ActiveSupport::TestCase # source://actionview//lib/action_view/test_case.rb#201 def content_class?; end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation; end - # source://actionview//lib/action_view/helpers/translation_helper.rb#18 + # source://actionview//lib/action_view/test_case.rb#449 def debug_missing_translation=(val); end end end @@ -15490,7 +14932,7 @@ module ActionView::TestCase::Behavior # The instance of ActionView::Base that is used by +render+. # - # source://actionview//lib/action_view/test_case.rb#357 + # source://actionview//lib/action_view/test_case.rb#368 def _view; end # Need to experiment if this priority is the best one: rendered => output_buffer @@ -15663,13 +15105,7 @@ module ActionView::TestCase::Behavior::Locals end # source://actionview//lib/action_view/test_case.rb#302 -class ActionView::TestCase::Behavior::RenderedViewContent < ::String - # source://actionview//lib/action_view/test_case.rb#150 - def html; end - - # source://actionview//lib/action_view/test_case.rb#150 - def json; end -end +class ActionView::TestCase::Behavior::RenderedViewContent < ::String; end # Need to experiment if this priority is the best one: rendered => output_buffer # @@ -15695,7 +15131,7 @@ class ActionView::TestCase::Behavior::RenderedViewsCollection def view_rendered?(view, expected_locals); end end -# source://actionview//lib/action_view/test_case.rb#0 +# source://actionview//lib/action_view/test_case.rb#449 module ActionView::TestCase::HelperMethods # source://actionview//lib/action_view/test_case.rb#215 def _test_case; end @@ -15755,7 +15191,7 @@ class ActionView::TestCase::TestController < ::ActionController::Base private - # source://actionview//lib/action_view/layouts.rb#330 + # source://actionview//lib/action_view/test_case.rb#16 def _layout(lookup_context, formats); end class << self @@ -15772,7 +15208,7 @@ class ActionView::TestCase::TestController < ::ActionController::Base # source://actionview//lib/action_view/test_case.rb#23 def controller_path=(_arg0); end - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 + # source://actionview//lib/action_view/test_case.rb#16 def middleware_stack; end end end diff --git a/sorbet/rbi/gems/activejob@7.1.3.4.rbi b/sorbet/rbi/gems/activejob@7.1.3.4.rbi index 642947d3f..387ffb07c 100644 --- a/sorbet/rbi/gems/activejob@7.1.3.4.rbi +++ b/sorbet/rbi/gems/activejob@7.1.3.4.rbi @@ -211,110 +211,110 @@ class ActiveJob::Base extend ::Sidekiq::Job::Options::ClassMethods extend ::ActiveJob::TestHelper::TestQueueAdapter::ClassMethods - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activejob//lib/active_job/base.rb#70 def _enqueue_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activejob//lib/active_job/base.rb#70 def _perform_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activejob//lib/active_job/base.rb#70 def _run_enqueue_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activejob//lib/active_job/base.rb#70 def _run_perform_callbacks(&block); end - # source://activejob//lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs; end - # source://activejob//lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs=(_arg0); end - # source://activejob//lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs?; end - # source://activejob//lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger; end - # source://activejob//lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger=(val); end - # source://activejob//lib/active_job/queue_adapter.rb#26 + # source://activejob//lib/active_job/base.rb#65 def queue_adapter(&block); end - # source://activejob//lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix; end - # source://activejob//lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix=(_arg0); end - # source://activejob//lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix?; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers?; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash=(_arg0); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block=(_arg0); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block=(_arg0); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/base.rb#70 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activejob//lib/active_job/base.rb#70 def _enqueue_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activejob//lib/active_job/base.rb#70 def _enqueue_callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activejob//lib/active_job/base.rb#70 def _perform_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activejob//lib/active_job/base.rb#70 def _perform_callbacks=(value); end - # source://activejob//lib/active_job/queue_adapter.rb#24 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter; end - # source://activejob//lib/active_job/queue_adapter.rb#24 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter=(value); end - # source://activejob//lib/active_job/queue_adapter.rb#23 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter_name; end - # source://activejob//lib/active_job/queue_adapter.rb#23 + # source://activejob//lib/active_job/base.rb#65 def _queue_adapter_name=(value); end # source://activejob//lib/active_job/test_helper.rb#19 @@ -323,108 +323,102 @@ class ActiveJob::Base # source://activejob//lib/active_job/test_helper.rb#19 def _test_adapter=(value); end - # source://activejob//lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs; end - # source://activejob//lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs=(value); end - # source://activejob//lib/active_job/exceptions.rb#12 + # source://activejob//lib/active_job/base.rb#71 def after_discard_procs?; end - # source://activejob//lib/active_job/logging.rb#12 + # source://activejob//lib/active_job/base.rb#73 def log_arguments; end - # source://activejob//lib/active_job/logging.rb#12 + # source://activejob//lib/active_job/base.rb#73 def log_arguments=(value); end - # source://activejob//lib/active_job/logging.rb#12 + # source://activejob//lib/active_job/base.rb#73 def log_arguments?; end - # source://activejob//lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger; end - # source://activejob//lib/active_job/logging.rb#11 + # source://activejob//lib/active_job/base.rb#73 def logger=(val); end - # source://activejob//lib/active_job/queue_priority.rb#49 + # source://activejob//lib/active_job/base.rb#67 def priority; end - # source://activejob//lib/active_job/queue_priority.rb#49 + # source://activejob//lib/active_job/base.rb#67 def priority=(value); end - # source://activejob//lib/active_job/queue_priority.rb#49 + # source://activejob//lib/active_job/base.rb#67 def priority?; end - # source://activejob//lib/active_job/queue_name.rb#55 - def queue_name; end - - # source://activejob//lib/active_job/queue_name.rb#55 + # source://activejob//lib/active_job/base.rb#66 def queue_name=(value); end - # source://activejob//lib/active_job/queue_name.rb#55 + # source://activejob//lib/active_job/base.rb#66 def queue_name?; end - # source://activejob//lib/active_job/queue_name.rb#56 + # source://activejob//lib/active_job/base.rb#66 def queue_name_delimiter; end - # source://activejob//lib/active_job/queue_name.rb#56 + # source://activejob//lib/active_job/base.rb#66 def queue_name_delimiter=(value); end - # source://activejob//lib/active_job/queue_name.rb#56 + # source://activejob//lib/active_job/base.rb#66 def queue_name_delimiter?; end - # source://activejob//lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix; end - # source://activejob//lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix=(value); end - # source://activejob//lib/active_job/queue_name.rb#57 + # source://activejob//lib/active_job/base.rb#66 def queue_name_prefix?; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers=(value); end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://activejob//lib/active_job/base.rb#69 def rescue_handlers?; end - # source://activejob//lib/active_job/exceptions.rb#11 + # source://activejob//lib/active_job/base.rb#71 def retry_jitter; end - # source://activejob//lib/active_job/exceptions.rb#11 + # source://activejob//lib/active_job/base.rb#71 def retry_jitter=(value); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_options_hash=(val); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retries_exhausted_block=(val); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/base.rb#77 def sidekiq_retry_in_block=(val); end private - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/base.rb#77 def __synchronized_sidekiq_options_hash; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/base.rb#77 def __synchronized_sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/base.rb#77 def __synchronized_sidekiq_retry_in_block; end end end @@ -456,16 +450,16 @@ module ActiveJob::Callbacks mixes_in_class_methods ::ActiveJob::Callbacks::ClassMethods class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/callbacks.rb#26 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activejob//lib/active_job/callbacks.rb#26 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activejob//lib/active_job/callbacks.rb#27 def _execute_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activejob//lib/active_job/callbacks.rb#27 def _run_execute_callbacks(&block); end end @@ -1271,7 +1265,7 @@ class ActiveJob::LogSubscriber < ::ActiveSupport::LogSubscriber # source://activejob//lib/active_job/log_subscriber.rb#7 def backtrace_cleaner?; end - # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87 + # source://activejob//lib/active_job/log_subscriber.rb#138 def log_levels; end end end @@ -1651,52 +1645,52 @@ class ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#69 def perform(job_data); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_options_hash; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_options_hash=(_arg0); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retries_exhausted_block=(_arg0); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#141 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retry_in_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#153 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retry_in_block=(_arg0); end class << self - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_options_hash; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_options_hash=(val); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retries_exhausted_block=(val); end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#108 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retry_in_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#116 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def sidekiq_retry_in_block=(val); end private - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def __synchronized_sidekiq_options_hash; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def __synchronized_sidekiq_retries_exhausted_block; end - # source://sidekiq/7.3.0/lib/sidekiq/job.rb#103 + # source://activejob//lib/active_job/queue_adapters/sidekiq_adapter.rb#67 def __synchronized_sidekiq_retry_in_block; end end end @@ -2210,7 +2204,10 @@ class ActiveJob::Serializers::ObjectSerializer private + # source://activejob//lib/active_job/serializers/object_serializer.rb#25 def allocate; end + + # source://activejob//lib/active_job/serializers/object_serializer.rb#25 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/activemodel-serializers-xml@1.0.2.rbi b/sorbet/rbi/gems/activemodel-serializers-xml@1.0.2.rbi index ac2e4340c..87527bed3 100644 --- a/sorbet/rbi/gems/activemodel-serializers-xml@1.0.2.rbi +++ b/sorbet/rbi/gems/activemodel-serializers-xml@1.0.2.rbi @@ -6,21 +6,7 @@ # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#8 -module ActiveModel - class << self - # source://activemodel/7.1.3.4/lib/active_model/deprecator.rb#4 - def deprecator; end - - # source://activemodel/7.1.3.4/lib/active_model.rb#76 - def eager_load!; end - - # source://activemodel/7.1.3.4/lib/active_model/gem_version.rb#5 - def gem_version; end - - # source://activemodel/7.1.3.4/lib/active_model/version.rb#7 - def version; end - end -end +module ActiveModel; end # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#9 module ActiveModel::Serializers; end diff --git a/sorbet/rbi/gems/activemodel@7.1.3.4.rbi b/sorbet/rbi/gems/activemodel@7.1.3.4.rbi index 5b8f23d26..8dfb353ab 100644 --- a/sorbet/rbi/gems/activemodel@7.1.3.4.rbi +++ b/sorbet/rbi/gems/activemodel@7.1.3.4.rbi @@ -196,7 +196,7 @@ class ActiveModel::Attribute # source://activemodel//lib/active_model/attribute.rb#135 def encode_with(coder); end - # source://activemodel//lib/active_model/attribute.rb#115 + # source://activemodel//lib/active_model/attribute.rb#121 def eql?(other); end # source://activemodel//lib/active_model/attribute.rb#74 @@ -280,7 +280,7 @@ class ActiveModel::Attribute # Returns the value of attribute original_attribute. # - # source://activemodel//lib/active_model/attribute.rb#152 + # source://activemodel//lib/active_model/attribute.rb#153 def assigned?; end # @return [Boolean] @@ -356,7 +356,7 @@ class ActiveModel::Attribute::Null < ::ActiveModel::Attribute # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel//lib/active_model/attribute.rb#235 + # source://activemodel//lib/active_model/attribute.rb#239 def with_cast_value(value); end # source://activemodel//lib/active_model/attribute.rb#231 @@ -369,7 +369,7 @@ class ActiveModel::Attribute::Null < ::ActiveModel::Attribute # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel//lib/active_model/attribute.rb#235 + # source://activemodel//lib/active_model/attribute.rb#238 def with_value_from_user(value); end end @@ -489,7 +489,7 @@ module ActiveModel::AttributeAssignment # cat.name # => 'Gorby' # cat.status # => 'sleeping' # - # source://activemodel//lib/active_model/attribute_assignment.rb#28 + # source://activemodel//lib/active_model/attribute_assignment.rb#37 def attributes=(new_attributes); end private @@ -586,6 +586,8 @@ module ActiveModel::AttributeMethods # A +Person+ instance with a +name+ attribute can ask # person.respond_to?(:name), person.respond_to?(:name=), # and person.respond_to?(:name?) which will all return +true+. + # + # source://activemodel//lib/active_model/attribute_methods.rb#506 def respond_to_without_attributes?(*_arg0); end private @@ -976,30 +978,47 @@ class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::Attri # Returns the value of attribute attr_name # # @return [Object] the current value of attr_name + # + # source://activemodel//lib/active_model/attribute_methods.rb#451 def attr_name; end # Sets the attribute attr_name # # @param value [Object] the value to set the attribute attr_name to. # @return [Object] the newly set value + # + # source://activemodel//lib/active_model/attribute_methods.rb#451 def attr_name=(_); end # Returns the value of attribute proxy_target # # @return [Object] the current value of proxy_target + # + # source://activemodel//lib/active_model/attribute_methods.rb#451 def proxy_target; end # Sets the attribute proxy_target # # @param value [Object] the value to set the attribute proxy_target to. # @return [Object] the newly set value + # + # source://activemodel//lib/active_model/attribute_methods.rb#451 def proxy_target=(_); end class << self + # source://activemodel//lib/active_model/attribute_methods.rb#451 def [](*_arg0); end + + # source://activemodel//lib/active_model/attribute_methods.rb#451 def inspect; end + + # source://activemodel//lib/active_model/attribute_methods.rb#451 def keyword_init?; end + + # source://activemodel//lib/active_model/attribute_methods.rb#451 def members; end + + # source://activemodel//lib/active_model/attribute_methods.rb#451 def new(*_arg0); end end end @@ -1192,7 +1211,7 @@ class ActiveModel::AttributeSet # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_set.rb#41 + # source://activemodel//lib/active_model/attribute_set.rb#44 def include?(name); end # @return [Boolean] @@ -1212,7 +1231,7 @@ class ActiveModel::AttributeSet # source://activemodel//lib/active_model/attribute_set.rb#102 def reverse_merge!(target_attributes); end - # source://activemodel//lib/active_model/attribute_set.rb#36 + # source://activemodel//lib/active_model/attribute_set.rb#39 def to_h; end # source://activemodel//lib/active_model/attribute_set.rb#36 @@ -1386,7 +1405,7 @@ module ActiveModel::Attributes # source://activemodel//lib/active_model/attributes.rb#148 def attribute(attr_name); end - # source://activemodel//lib/active_model/attributes.rb#143 + # source://activemodel//lib/active_model/attributes.rb#146 def attribute=(attr_name, value); end # source://activemodel//lib/active_model/attributes.rb#98 @@ -2075,7 +2094,7 @@ class ActiveModel::Error # error.details # # => { error: :too_short, count: 5 } # - # source://activemodel//lib/active_model/error.rb#149 + # source://activemodel//lib/active_model/error.rb#152 def detail; end # Returns the error details. @@ -2087,7 +2106,7 @@ class ActiveModel::Error # source://activemodel//lib/active_model/error.rb#149 def details; end - # source://activemodel//lib/active_model/error.rb#190 + # source://activemodel//lib/active_model/error.rb#193 def eql?(other); end # Returns the full error message. @@ -2363,7 +2382,7 @@ class ActiveModel::Errors # source://activemodel//lib/active_model/errors.rb#237 def attribute_names; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def clear(*args, **_arg1, &block); end # Copies the errors from other. @@ -2394,10 +2413,10 @@ class ActiveModel::Errors # source://activemodel//lib/active_model/errors.rb#276 def details; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def empty?(*args, **_arg1, &block); end # The actual array of +Error+ objects @@ -2486,7 +2505,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel//lib/active_model/errors.rb#202 + # source://activemodel//lib/active_model/errors.rb#207 def has_key?(attribute); end # Imports one error. @@ -2526,7 +2545,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel//lib/active_model/errors.rb#202 + # source://activemodel//lib/active_model/errors.rb#208 def key?(attribute); end # Merges the errors from other, @@ -2565,7 +2584,7 @@ class ActiveModel::Errors # The actual array of +Error+ objects # This method is aliased to objects. # - # source://activemodel//lib/active_model/errors.rb#107 + # source://activemodel//lib/active_model/errors.rb#108 def objects; end # Returns +true+ if an error on the attribute with the given type is @@ -2585,7 +2604,7 @@ class ActiveModel::Errors # source://activemodel//lib/active_model/errors.rb#395 def of_kind?(attribute, type = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def size(*args, **_arg1, &block); end # Returns all the full error messages in an array. @@ -2599,7 +2618,7 @@ class ActiveModel::Errors # person.errors.full_messages # # => ["Name is too short (minimum is 5 characters)", "Name can't be blank", "Email can't be blank"] # - # source://activemodel//lib/active_model/errors.rb#415 + # source://activemodel//lib/active_model/errors.rb#418 def to_a; end # Returns a Hash of attributes with their error messages. If +full_messages+ @@ -2611,7 +2630,7 @@ class ActiveModel::Errors # source://activemodel//lib/active_model/errors.rb#256 def to_hash(full_messages = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://activemodel//lib/active_model/errors.rb#103 def uniq!(*args, **_arg1, &block); end # Search for errors matching +attribute+, +type+, or +options+. @@ -2662,7 +2681,7 @@ module ActiveModel::ForbiddenAttributesProtection # source://activemodel//lib/active_model/forbidden_attributes_protection.rb#23 def sanitize_for_mass_assignment(attributes); end - # source://activemodel//lib/active_model/forbidden_attributes_protection.rb#23 + # source://activemodel//lib/active_model/forbidden_attributes_protection.rb#31 def sanitize_forbidden_attributes(attributes); end end @@ -3089,7 +3108,7 @@ class ActiveModel::Name # Returns the value of attribute collection. # - # source://activemodel//lib/active_model/naming.rb#12 + # source://activemodel//lib/active_model/naming.rb#16 def cache_key; end # Returns the value of attribute collection. @@ -3379,7 +3398,7 @@ class ActiveModel::NestedError < ::ActiveModel::Error # source://activemodel//lib/active_model/nested_error.rb#17 def inner_error; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://activemodel//lib/active_model/nested_error.rb#20 def message(*args, **_arg1, &block); end end @@ -3421,7 +3440,10 @@ class ActiveModel::NullMutationTracker class << self private + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#157 def allocate; end + + # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#157 def new(*_arg0); end end end @@ -3637,6 +3659,8 @@ module ActiveModel::Serialization # @data[key] # end # end + # + # source://activemodel//lib/active_model/serialization.rb#172 def read_attribute_for_serialization(*_arg0); end # Returns a serialized hash of your object. @@ -4034,7 +4058,7 @@ class ActiveModel::Type::Binary::Data # source://activemodel//lib/active_model/type/binary.rb#47 def to_s; end - # source://activemodel//lib/active_model/type/binary.rb#47 + # source://activemodel//lib/active_model/type/binary.rb#50 def to_str; end end @@ -4815,7 +4839,7 @@ class ActiveModel::Type::Value # source://activemodel//lib/active_model/type/value.rb#43 def deserialize(value); end - # source://activemodel//lib/active_model/type/value.rb#121 + # source://activemodel//lib/active_model/type/value.rb#127 def eql?(other); end # @return [Boolean] @@ -5089,6 +5113,8 @@ module ActiveModel::Validations # @data[key] # end # end + # + # source://activemodel//lib/active_model/validations.rb#431 def read_attribute_for_validation(*_arg0); end # Runs all the specified validations and returns +true+ if no errors were @@ -5158,7 +5184,7 @@ module ActiveModel::Validations # # @return [Boolean] # - # source://activemodel//lib/active_model/validations.rb#363 + # source://activemodel//lib/active_model/validations.rb#371 def validate(context = T.unsafe(nil)); end # Runs all the validations within the specified context. Returns +true+ if @@ -6388,7 +6414,7 @@ module ActiveModel::Validations::HelperMethods # +:if+, +:unless+, +:on+, and +:strict+. # See ActiveModel::Validations::ClassMethods#validates for more information. # - # source://activemodel//lib/active_model/validations/length.rb#123 + # source://activemodel//lib/active_model/validations/length.rb#127 def validates_size_of(*attr_names); end private diff --git a/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi b/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi index 726136c3b..f1a711715 100644 --- a/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi +++ b/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi @@ -6,252 +6,7 @@ # source://activerecord-typedstore//lib/active_record/typed_store.rb#5 -module ActiveRecord - class << self - # source://activerecord/7.1.3.4/lib/active_record.rb#342 - def action_on_strict_loading_violation; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#342 - def action_on_strict_loading_violation=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#422 - def allow_deprecated_singular_associations_name; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#422 - def allow_deprecated_singular_associations_name=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#335 - def application_record_class; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#335 - def application_record_class=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#263 - def async_query_executor; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#263 - def async_query_executor=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#317 - def before_committed_on_all_records; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#317 - def before_committed_on_all_records=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#314 - def belongs_to_required_validates_foreign_key; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#314 - def belongs_to_required_validates_foreign_key=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#323 - def commit_transaction_on_non_local_return; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#323 - def commit_transaction_on_non_local_return=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#209 - def db_warnings_action; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#211 - def db_warnings_action=(action); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#236 - def db_warnings_ignore; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#236 - def db_warnings_ignore=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#192 - def default_timezone; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#196 - def default_timezone=(default_timezone); end - - # source://activerecord/7.1.3.4/lib/active_record/deprecator.rb#4 - def deprecator; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#177 - def disable_prepared_statements; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#177 - def disable_prepared_statements=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#476 - def disconnect_all!; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#382 - def dump_schema_after_migration; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#382 - def dump_schema_after_migration=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#392 - def dump_schemas; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#392 - def dump_schemas=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#465 - def eager_load!; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#361 - def error_on_ignored_order; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#361 - def error_on_ignored_order=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record/gem_version.rb#5 - def gem_version; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#454 - def generate_secure_token_on; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#454 - def generate_secure_token_on=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#286 - def global_executor_concurrency; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#278 - def global_executor_concurrency=(global_executor_concurrency); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#266 - def global_thread_pool_async_query_executor; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#290 - def index_nested_attribute_errors; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#290 - def index_nested_attribute_errors=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#183 - def lazily_load_schema_cache; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#183 - def lazily_load_schema_cache=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#245 - def legacy_connection_handling=(_); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#308 - def maintain_test_schema; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#308 - def maintain_test_schema=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#457 - def marshalling_format_version; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#461 - def marshalling_format_version=(value); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#373 - def migration_strategy; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#373 - def migration_strategy=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#425 - def query_transformers; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#425 - def query_transformers=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#305 - def queues; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#305 - def queues=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#440 - def raise_int_wider_than_64bit; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#440 - def raise_int_wider_than_64bit=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#311 - def raise_on_assign_to_attr_readonly; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#311 - def raise_on_assign_to_attr_readonly=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#242 - def reading_role; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#242 - def reading_role=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#320 - def run_after_transaction_callbacks_in_order_defined; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#320 - def run_after_transaction_callbacks_in_order_defined=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#189 - def schema_cache_ignored_tables; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#189 - def schema_cache_ignored_tables=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#353 - def schema_format; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#353 - def schema_format=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#395 - def suppress_multiple_database_warning; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#402 - def suppress_multiple_database_warning=(value); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#367 - def timestamped_migrations; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#367 - def timestamped_migrations=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#432 - def use_yaml_unsafe_load; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#432 - def use_yaml_unsafe_load=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#298 - def verbose_query_logs; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#298 - def verbose_query_logs=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#415 - def verify_foreign_keys_for_fixtures; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#415 - def verify_foreign_keys_for_fixtures=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record/version.rb#7 - def version; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#332 - def warn_on_records_fetched_greater_than; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#332 - def warn_on_records_fetched_greater_than=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#239 - def writing_role; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#239 - def writing_role=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record.rb#447 - def yaml_column_permitted_classes; end - - # source://activerecord/7.1.3.4/lib/active_record.rb#447 - def yaml_column_permitted_classes=(_arg0); end - end -end +module ActiveRecord; end # source://activerecord-typedstore//lib/active_record/typed_store.rb#6 module ActiveRecord::TypedStore; end @@ -326,7 +81,7 @@ class ActiveRecord::TypedStore::DSL # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 def date(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#69 def date_time(name, **options); end # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 @@ -518,10 +273,10 @@ class ActiveRecord::TypedStore::TypedHash < ::ActiveSupport::HashWithIndifferent # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#21 def slice(*_arg0, **_arg1, &_arg2); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#29 + # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#32 def store(key, value); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#34 + # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#43 def update(other_hash); end # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#20 diff --git a/sorbet/rbi/gems/activerecord@7.1.3.4.rbi b/sorbet/rbi/gems/activerecord@7.1.3.4.rbi index 06cba6f08..03cb6179b 100644 --- a/sorbet/rbi/gems/activerecord@7.1.3.4.rbi +++ b/sorbet/rbi/gems/activerecord@7.1.3.4.rbi @@ -583,25 +583,25 @@ class ActiveRecord::AssociationRelation < ::ActiveRecord::Relation # source://activerecord//lib/active_record/association_relation.rb#14 def ==(other); end - # source://activerecord//lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert(attributes, **kwargs); end - # source://activerecord//lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert!(attributes, **kwargs); end - # source://activerecord//lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert_all(attributes, **kwargs); end - # source://activerecord//lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def insert_all!(attributes, **kwargs); end # source://activerecord//lib/active_record/association_relation.rb#10 def proxy_association; end - # source://activerecord//lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def upsert(attributes, **kwargs); end - # source://activerecord//lib/active_record/association_relation.rb#20 + # source://activerecord//lib/active_record/association_relation.rb#19 def upsert_all(attributes, **kwargs); end private @@ -3554,7 +3554,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1036 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1040 def append(*records); end # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 @@ -3625,7 +3625,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1036 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1041 def concat(*records); end # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 @@ -4266,7 +4266,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#53 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#56 def loaded; end # Returns +true+ if the association has been loaded, otherwise +false+. @@ -4323,7 +4323,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets.size # => 5 # size of the collection # person.pets.count # => 0 # count from database # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#318 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#321 def new(attributes = T.unsafe(nil), &block); end # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 @@ -4428,7 +4428,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1036 + # source://activerecord//lib/active_record/associations/collection_proxy.rb#1039 def push(*records); end # source://activerecord//lib/active_record/associations/collection_proxy.rb#1124 @@ -5133,30 +5133,47 @@ class ActiveRecord::Associations::JoinDependency::Aliases::Column < ::Struct # Returns the value of attribute alias # # @return [Object] the current value of alias + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def alias; end # Sets the attribute alias # # @param value [Object] the value to set the attribute alias to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def alias=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def name=(_); end class << self + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def [](*_arg0); end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def inspect; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def keyword_init?; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def members; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#44 def new(*_arg0); end end end @@ -5169,30 +5186,47 @@ class ActiveRecord::Associations::JoinDependency::Aliases::Table < ::Struct # Returns the value of attribute columns # # @return [Object] the current value of columns + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def columns; end # Sets the attribute columns # # @param value [Object] the value to set the attribute columns to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def columns=(_); end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def node=(_); end class << self + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def [](*_arg0); end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def inspect; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def keyword_init?; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def members; end + + # source://activerecord//lib/active_record/associations/join_dependency.rb#38 def new(*_arg0); end end end @@ -6792,19 +6826,19 @@ end class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < ::Module include ::Mutex_m - # source://mutex_m/0.2.0/mutex_m.rb#91 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def lock; end - # source://mutex_m/0.2.0/mutex_m.rb#81 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def locked?; end - # source://mutex_m/0.2.0/mutex_m.rb#76 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def synchronize(&block); end - # source://mutex_m/0.2.0/mutex_m.rb#86 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def try_lock; end - # source://mutex_m/0.2.0/mutex_m.rb#96 + # source://activerecord//lib/active_record/attribute_methods.rb#27 def unlock; end end @@ -6960,7 +6994,7 @@ module ActiveRecord::AttributeMethods::Query private - # source://activerecord//lib/active_record/attribute_methods/query.rb#13 + # source://activerecord//lib/active_record/attribute_methods/query.rb#25 def attribute?(attr_name); end # source://activerecord//lib/active_record/attribute_methods/query.rb#29 @@ -6997,7 +7031,7 @@ module ActiveRecord::AttributeMethods::Read # This method exists to avoid the expensive primary_key check internally, without # breaking compatibility with the read_attribute API # - # source://activerecord//lib/active_record/attribute_methods/read.rb#50 + # source://activerecord//lib/active_record/attribute_methods/read.rb#54 def attribute(attr_name, &block); end end @@ -7304,7 +7338,7 @@ module ActiveRecord::AttributeMethods::Write # This method exists to avoid the expensive primary_key check internally, without # breaking compatibility with the write_attribute API # - # source://activerecord//lib/active_record/attribute_methods/write.rb#41 + # source://activerecord//lib/active_record/attribute_methods/write.rb#45 def attribute=(attr_name, value); end end @@ -8301,354 +8335,333 @@ class ActiveRecord::Base extend ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods extend ::ActionText::Attribute::ClassMethods - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/base.rb#309 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/base.rb#309 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#322 def _before_commit_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#322 def _commit_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _create_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _destroy_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _find_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _initialize_callbacks; end - # source://activerecord//lib/active_record/reflection.rb#11 + # source://activerecord//lib/active_record/base.rb#325 def _reflections; end - # source://activerecord//lib/active_record/reflection.rb#11 + # source://activerecord//lib/active_record/base.rb#325 def _reflections?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#322 def _rollback_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#322 def _run_before_commit_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#322 def _run_commit_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_create_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_destroy_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_find_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_initialize_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#322 def _run_rollback_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_save_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_touch_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_update_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#309 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/base.rb#316 def _run_validation_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _save_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _touch_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _update_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#309 def _validate_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/base.rb#316 def _validation_callbacks; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://activerecord//lib/active_record/base.rb#309 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://activerecord//lib/active_record/base.rb#309 def _validators?; end - # source://activerecord//lib/active_record/reflection.rb#12 + # source://activerecord//lib/active_record/base.rb#325 def aggregate_reflections; end - # source://activerecord//lib/active_record/reflection.rb#12 + # source://activerecord//lib/active_record/base.rb#325 def aggregate_reflections?; end - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53 + # source://activerecord//lib/active_record/base.rb#338 def attachment_reflections; end - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53 + # source://activerecord//lib/active_record/base.rb#338 def attachment_reflections?; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 + # source://activerecord//lib/active_record/base.rb#315 def attribute_aliases; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 + # source://activerecord//lib/active_record/base.rb#315 def attribute_aliases?; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 + # source://activerecord//lib/active_record/base.rb#315 def attribute_method_patterns; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 + # source://activerecord//lib/active_record/base.rb#315 def attribute_method_patterns?; end - # source://activerecord//lib/active_record/reflection.rb#13 + # source://activerecord//lib/active_record/base.rb#325 def automatic_scope_inversing; end - # source://activerecord//lib/active_record/reflection.rb#13 + # source://activerecord//lib/active_record/base.rb#325 def automatic_scope_inversing?; end - # source://activerecord//lib/active_record/integration.rb#16 + # source://activerecord//lib/active_record/base.rb#308 def cache_timestamp_format; end - # source://activerecord//lib/active_record/integration.rb#16 + # source://activerecord//lib/active_record/base.rb#308 def cache_timestamp_format?; end - # source://activerecord//lib/active_record/integration.rb#24 + # source://activerecord//lib/active_record/base.rb#308 def cache_versioning; end - # source://activerecord//lib/active_record/integration.rb#24 + # source://activerecord//lib/active_record/base.rb#308 def cache_versioning?; end - # source://activerecord//lib/active_record/integration.rb#32 + # source://activerecord//lib/active_record/base.rb#308 def collection_cache_versioning; end - # source://activerecord//lib/active_record/integration.rb#32 + # source://activerecord//lib/active_record/base.rb#308 def collection_cache_versioning?; end - # source://activerecord//lib/active_record/model_schema.rb#178 + # source://activerecord//lib/active_record/base.rb#302 def column_for_attribute(name, &block); end - # source://activerecord//lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler; end - # source://activerecord//lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler?; end - # source://activerecord//lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role; end - # source://activerecord//lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role?; end - # source://activerecord//lib/active_record/scoping/default.rb#20 + # source://activerecord//lib/active_record/base.rb#304 def default_scope_override; end - # source://activerecord//lib/active_record/scoping/default.rb#19 + # source://activerecord//lib/active_record/base.rb#304 def default_scopes; end - # source://activerecord//lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard; end - # source://activerecord//lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard?; end - # source://activerecord//lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums; end - # source://activerecord//lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums?; end - # source://activerecord//lib/active_record/core.rb#47 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_batch_size; end - # source://activerecord//lib/active_record/core.rb#37 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_job(&block); end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/base.rb#314 def encrypted_attributes; end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/base.rb#314 def encrypted_attributes=(_arg0); end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 + # source://activerecord//lib/active_record/base.rb#314 def encrypted_attributes?; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://activerecord//lib/active_record/base.rb#326 def include_root_in_json; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://activerecord//lib/active_record/base.rb#326 def include_root_in_json?; end - # source://activerecord//lib/active_record/locking/optimistic.rb#56 + # source://activerecord//lib/active_record/base.rb#312 def lock_optimistically; end - # source://activerecord//lib/active_record/locking/optimistic.rb#56 + # source://activerecord//lib/active_record/base.rb#312 def lock_optimistically?; end - # source://activerecord//lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger; end - # source://activerecord//lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger?; end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://activerecord//lib/active_record/base.rb#326 def model_name(&block); end - # source://activerecord//lib/active_record/nested_attributes.rb#15 + # source://activerecord//lib/active_record/base.rb#321 def nested_attributes_options; end - # source://activerecord//lib/active_record/nested_attributes.rb#15 + # source://activerecord//lib/active_record/base.rb#321 def nested_attributes_options?; end - # source://activerecord//lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/base.rb#332 def normalized_attributes; end - # source://activerecord//lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/base.rb#332 def normalized_attributes=(_arg0); end - # source://activerecord//lib/active_record/normalization.rb#8 + # source://activerecord//lib/active_record/base.rb#332 def normalized_attributes?; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://activerecord//lib/active_record/base.rb#307 def param_delimiter=(_arg0); end - # source://activerecord//lib/active_record/attribute_methods/dirty.rb#50 + # source://activerecord//lib/active_record/base.rb#315 def partial_inserts; end - # source://activerecord//lib/active_record/attribute_methods/dirty.rb#50 + # source://activerecord//lib/active_record/base.rb#315 def partial_inserts?; end - # source://activerecord//lib/active_record/attribute_methods/dirty.rb#49 + # source://activerecord//lib/active_record/base.rb#315 def partial_updates; end - # source://activerecord//lib/active_record/attribute_methods/dirty.rb#49 + # source://activerecord//lib/active_record/base.rb#315 def partial_updates?; end - # source://activerecord//lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names; end - # source://activerecord//lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names?; end - # source://activerecord//lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type; end - # source://activerecord//lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type?; end - # source://activerecord//lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/base.rb#317 def record_timestamps; end - # source://activerecord//lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/base.rb#317 def record_timestamps=(_arg0); end - # source://activerecord//lib/active_record/timestamp.rb#47 + # source://activerecord//lib/active_record/base.rb#317 def record_timestamps?; end - # source://activerecord//lib/active_record/signed_id.rb#13 + # source://activerecord//lib/active_record/base.rb#330 def signed_id_verifier_secret; end - # source://activerecord//lib/active_record/signed_id.rb#13 + # source://activerecord//lib/active_record/base.rb#330 def signed_id_verifier_secret?; end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67 + # source://activerecord//lib/active_record/base.rb#315 def skip_time_zone_conversion_for_attributes; end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67 + # source://activerecord//lib/active_record/base.rb#315 def skip_time_zone_conversion_for_attributes?; end - # source://activerecord//lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name; end - # source://activerecord//lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name?; end - # source://activerecord//lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class; end - # source://activerecord//lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class?; end - # source://activerecord//lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix; end - # source://activerecord//lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix?; end - # source://activerecord//lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix; end - # source://activerecord//lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix?; end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_attributes; end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_attributes?; end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#68 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_types; end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#68 + # source://activerecord//lib/active_record/base.rb#315 def time_zone_aware_types?; end - # source://activerecord//lib/active_record/model_schema.rb#178 + # source://activerecord//lib/active_record/base.rb#302 def type_for_attribute(attr_name, &block); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://activerecord//lib/active_record/base.rb#309 def validation_context; end private - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://activerecord//lib/active_record/base.rb#309 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activerecord//lib/active_record/readonly_attributes.rb#11 + # source://activerecord//lib/active_record/base.rb#301 def _attr_readonly; end - # source://activerecord//lib/active_record/readonly_attributes.rb#11 + # source://activerecord//lib/active_record/base.rb#301 def _attr_readonly=(value); end - # source://activerecord//lib/active_record/readonly_attributes.rb#11 + # source://activerecord//lib/active_record/base.rb#301 def _attr_readonly?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _before_commit_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _before_commit_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _commit_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _commit_callbacks=(value); end - # source://activerecord//lib/active_record/counter_cache.rb#9 def _counter_cache_columns; end @@ -8658,39 +8671,15 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/counter_cache.rb#9 def _counter_cache_columns?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _create_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _create_callbacks=(value); end - - # source://activerecord//lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def _destroy_association_async_job; end - # source://activerecord//lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def _destroy_association_async_job=(value); end - # source://activerecord//lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def _destroy_association_async_job?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _destroy_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _destroy_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _find_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _find_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _initialize_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _initialize_callbacks=(value); end - # source://activerecord//lib/active_record/reflection.rb#11 def _reflections; end @@ -8700,72 +8689,6 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/reflection.rb#11 def _reflections?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _rollback_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _rollback_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _save_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _save_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _touch_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _touch_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _update_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _update_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _validate_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _validate_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _validation_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _validation_callbacks=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators?; end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_create(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_destroy(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_find(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_initialize(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_save(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_touch(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_update(*args, **options, &block); end - # source://activerecord//lib/active_record/reflection.rb#12 def aggregate_reflections; end @@ -8775,54 +8698,15 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/reflection.rb#12 def aggregate_reflections?; end - # source://activerecord//lib/active_record/core.rb#105 + # source://activerecord//lib/active_record/base.rb#299 def application_record_class?; end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_create(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_destroy(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_save(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_update(*args, **options, &block); end - - # source://activerecord//lib/active_record/core.rb#125 + # source://activerecord//lib/active_record/base.rb#299 def asynchronous_queries_session; end - # source://activerecord//lib/active_record/core.rb#129 + # source://activerecord//lib/active_record/base.rb#299 def asynchronous_queries_tracker; end - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53 - def attachment_reflections=(value); end - - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#53 - def attachment_reflections?; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - # source://activerecord//lib/active_record/attributes.rb#11 def attributes_to_define_after_schema_loads; end @@ -8841,25 +8725,13 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/reflection.rb#13 def automatic_scope_inversing?; end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_create(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_destroy(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_save(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_update(*args, **options, &block); end - - # source://activerecord//lib/active_record/core.rb#89 + # source://activerecord//lib/active_record/base.rb#299 def belongs_to_required_by_default; end - # source://activerecord//lib/active_record/core.rb#89 + # source://activerecord//lib/active_record/base.rb#299 def belongs_to_required_by_default=(value); end - # source://activerecord//lib/active_record/core.rb#89 + # source://activerecord//lib/active_record/base.rb#299 def belongs_to_required_by_default?; end # source://activerecord//lib/active_record/integration.rb#16 @@ -8889,40 +8761,40 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/integration.rb#32 def collection_cache_versioning?; end - # source://activerecord//lib/active_record/core.rb#77 + # source://activerecord//lib/active_record/base.rb#299 def configurations; end - # source://activerecord//lib/active_record/core.rb#71 + # source://activerecord//lib/active_record/base.rb#299 def configurations=(config); end - # source://activerecord//lib/active_record/core.rb#189 + # source://activerecord//lib/active_record/base.rb#299 def connected_to_stack; end - # source://activerecord//lib/active_record/core.rb#203 + # source://activerecord//lib/active_record/base.rb#299 def connection_class; end - # source://activerecord//lib/active_record/core.rb#199 + # source://activerecord//lib/active_record/base.rb#299 def connection_class=(b); end - # source://activerecord//lib/active_record/core.rb#207 + # source://activerecord//lib/active_record/base.rb#299 def connection_class?; end - # source://activerecord//lib/active_record/core.rb#211 + # source://activerecord//lib/active_record/base.rb#299 def connection_class_for_self; end - # source://activerecord//lib/active_record/core.rb#117 + # source://activerecord//lib/active_record/base.rb#299 def connection_handler; end - # source://activerecord//lib/active_record/core.rb#121 + # source://activerecord//lib/active_record/base.rb#299 def connection_handler=(handler); end - # source://activerecord//lib/active_record/core.rb#180 + # source://activerecord//lib/active_record/base.rb#299 def current_preventing_writes; end - # source://activerecord//lib/active_record/core.rb#143 + # source://activerecord//lib/active_record/base.rb#299 def current_role; end - # source://activerecord//lib/active_record/core.rb#161 + # source://activerecord//lib/active_record/base.rb#299 def current_shard; end # source://activerecord//lib/active_record/attribute_methods/serialization.rb#20 @@ -8934,64 +8806,64 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/attribute_methods/serialization.rb#20 def default_column_serializer?; end - # source://activerecord//lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler; end - # source://activerecord//lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler=(value); end - # source://activerecord//lib/active_record/core.rb#97 + # source://activerecord//lib/active_record/base.rb#299 def default_connection_handler?; end - # source://activerecord//lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role; end - # source://activerecord//lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role=(value); end - # source://activerecord//lib/active_record/core.rb#99 + # source://activerecord//lib/active_record/base.rb#299 def default_role?; end - # source://activerecord//lib/active_record/scoping/default.rb#20 + # source://activerecord//lib/active_record/base.rb#304 def default_scope_override; end - # source://activerecord//lib/active_record/scoping/default.rb#20 + # source://activerecord//lib/active_record/base.rb#304 def default_scope_override=(value); end - # source://activerecord//lib/active_record/scoping/default.rb#19 + # source://activerecord//lib/active_record/base.rb#304 def default_scopes; end - # source://activerecord//lib/active_record/scoping/default.rb#19 + # source://activerecord//lib/active_record/base.rb#304 def default_scopes=(value); end - # source://activerecord//lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard; end - # source://activerecord//lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard=(value); end - # source://activerecord//lib/active_record/core.rb#101 + # source://activerecord//lib/active_record/base.rb#299 def default_shard?; end - # source://activerecord//lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums; end - # source://activerecord//lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums=(value); end - # source://activerecord//lib/active_record/enum.rb#167 + # source://activerecord//lib/active_record/base.rb#295 def defined_enums?; end - # source://activerecord//lib/active_record/core.rb#47 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_batch_size; end - # source://activerecord//lib/active_record/core.rb#47 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_batch_size=(value); end - # source://activerecord//lib/active_record/core.rb#27 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_job; end - # source://activerecord//lib/active_record/core.rb#24 + # source://activerecord//lib/active_record/base.rb#299 def destroy_association_async_job=(value); end # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 @@ -9003,13 +8875,13 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/encryption/encryptable_record.rb#11 def encrypted_attributes?; end - # source://activerecord//lib/active_record/core.rb#87 + # source://activerecord//lib/active_record/base.rb#299 def enumerate_columns_in_select_statements; end - # source://activerecord//lib/active_record/core.rb#87 + # source://activerecord//lib/active_record/base.rb#299 def enumerate_columns_in_select_statements=(value); end - # source://activerecord//lib/active_record/core.rb#87 + # source://activerecord//lib/active_record/base.rb#299 def enumerate_columns_in_select_statements?; end # source://activerecord//lib/active_record/token_for.rb#11 @@ -9018,58 +8890,49 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/token_for.rb#11 def generated_token_verifier=(value); end - # source://activerecord//lib/active_record/core.rb#93 + # source://activerecord//lib/active_record/base.rb#299 def has_many_inversing; end - # source://activerecord//lib/active_record/core.rb#93 + # source://activerecord//lib/active_record/base.rb#299 def has_many_inversing=(value); end - # source://activerecord//lib/active_record/core.rb#93 + # source://activerecord//lib/active_record/base.rb#299 def has_many_inversing?; end - # source://activerecord//lib/active_record/model_schema.rb#165 + # source://activerecord//lib/active_record/base.rb#302 def immutable_strings_by_default; end - # source://activerecord//lib/active_record/model_schema.rb#165 + # source://activerecord//lib/active_record/base.rb#302 def immutable_strings_by_default=(value); end - # source://activerecord//lib/active_record/model_schema.rb#165 + # source://activerecord//lib/active_record/base.rb#302 def immutable_strings_by_default?; end - # source://activerecord//lib/active_record/model_schema.rb#164 + # source://activerecord//lib/active_record/base.rb#302 def implicit_order_column; end - # source://activerecord//lib/active_record/model_schema.rb#164 + # source://activerecord//lib/active_record/base.rb#302 def implicit_order_column=(value); end - # source://activerecord//lib/active_record/model_schema.rb#164 + # source://activerecord//lib/active_record/base.rb#302 def implicit_order_column?; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord//lib/active_record/model_schema.rb#167 + # source://activerecord//lib/active_record/base.rb#302 def inheritance_column; end - # source://activerecord//lib/active_record/model_schema.rb#321 + # source://activerecord//lib/active_record/base.rb#302 def inheritance_column=(value); end - # source://activerecord//lib/active_record/model_schema.rb#167 + # source://activerecord//lib/active_record/base.rb#302 def inheritance_column?; end - # source://activerecord//lib/active_record/model_schema.rb#162 + # source://activerecord//lib/active_record/base.rb#302 def internal_metadata_table_name; end - # source://activerecord//lib/active_record/model_schema.rb#162 + # source://activerecord//lib/active_record/base.rb#302 def internal_metadata_table_name=(value); end - # source://activerecord//lib/active_record/model_schema.rb#162 + # source://activerecord//lib/active_record/base.rb#302 def internal_metadata_table_name?; end # source://activerecord//lib/active_record/store.rb#101 @@ -9087,13 +8950,13 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/locking/optimistic.rb#56 def lock_optimistically?; end - # source://activerecord//lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger; end - # source://activerecord//lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger=(value); end - # source://activerecord//lib/active_record/core.rb#22 + # source://activerecord//lib/active_record/base.rb#299 def logger?; end # source://activerecord//lib/active_record/nested_attributes.rb#15 @@ -9114,15 +8977,6 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/normalization.rb#8 def normalized_attributes?; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 - def param_delimiter; end - - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 - def param_delimiter=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 - def param_delimiter?; end - # source://activerecord//lib/active_record/attribute_methods/dirty.rb#50 def partial_inserts; end @@ -9141,22 +8995,22 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/attribute_methods/dirty.rb#49 def partial_updates?; end - # source://activerecord//lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names; end - # source://activerecord//lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names=(value); end - # source://activerecord//lib/active_record/model_schema.rb#163 + # source://activerecord//lib/active_record/base.rb#302 def pluralize_table_names?; end - # source://activerecord//lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type; end - # source://activerecord//lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type=(value); end - # source://activerecord//lib/active_record/model_schema.rb#158 + # source://activerecord//lib/active_record/base.rb#302 def primary_key_prefix_type?; end # source://activerecord//lib/active_record/timestamp.rb#47 @@ -9168,31 +9022,31 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/timestamp.rb#47 def record_timestamps?; end - # source://activerecord//lib/active_record/core.rb#95 + # source://activerecord//lib/active_record/base.rb#299 def run_commit_callbacks_on_first_saved_instances_in_transaction; end - # source://activerecord//lib/active_record/core.rb#95 + # source://activerecord//lib/active_record/base.rb#299 def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end - # source://activerecord//lib/active_record/core.rb#95 + # source://activerecord//lib/active_record/base.rb#299 def run_commit_callbacks_on_first_saved_instances_in_transaction?; end - # source://activerecord//lib/active_record/model_schema.rb#161 + # source://activerecord//lib/active_record/base.rb#302 def schema_migrations_table_name; end - # source://activerecord//lib/active_record/model_schema.rb#161 + # source://activerecord//lib/active_record/base.rb#302 def schema_migrations_table_name=(value); end - # source://activerecord//lib/active_record/model_schema.rb#161 + # source://activerecord//lib/active_record/base.rb#302 def schema_migrations_table_name?; end - # source://activerecord//lib/active_record/core.rb#103 + # source://activerecord//lib/active_record/base.rb#299 def shard_selector; end - # source://activerecord//lib/active_record/core.rb#103 + # source://activerecord//lib/active_record/base.rb#299 def shard_selector=(value); end - # source://activerecord//lib/active_record/core.rb#103 + # source://activerecord//lib/active_record/base.rb#299 def shard_selector?; end # source://activerecord//lib/active_record/signed_id.rb#13 @@ -9213,52 +9067,52 @@ class ActiveRecord::Base # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#67 def skip_time_zone_conversion_for_attributes?; end - # source://activerecord//lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name; end - # source://activerecord//lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name=(value); end - # source://activerecord//lib/active_record/inheritance.rb#43 + # source://activerecord//lib/active_record/base.rb#303 def store_full_class_name?; end - # source://activerecord//lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class; end - # source://activerecord//lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class=(value); end - # source://activerecord//lib/active_record/inheritance.rb#47 + # source://activerecord//lib/active_record/base.rb#303 def store_full_sti_class?; end - # source://activerecord//lib/active_record/core.rb#91 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_by_default; end - # source://activerecord//lib/active_record/core.rb#91 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_by_default=(value); end - # source://activerecord//lib/active_record/core.rb#91 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_by_default?; end - # source://activerecord//lib/active_record/core.rb#226 + # source://activerecord//lib/active_record/base.rb#299 def strict_loading_violation!(owner:, reflection:); end - # source://activerecord//lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix; end - # source://activerecord//lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix=(value); end - # source://activerecord//lib/active_record/model_schema.rb#159 + # source://activerecord//lib/active_record/base.rb#302 def table_name_prefix?; end - # source://activerecord//lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix; end - # source://activerecord//lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix=(value); end - # source://activerecord//lib/active_record/model_schema.rb#160 + # source://activerecord//lib/active_record/base.rb#302 def table_name_suffix?; end # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#66 @@ -9287,15 +9141,15 @@ class ActiveRecord::Base private - # source://activerecord//lib/active_record/model_schema.rb#167 + # source://activerecord//lib/active_record/base.rb#302 def _inheritance_column=(value); end end end -# source://activerecord//lib/active_record/base.rb#0 +# source://activerecord//lib/active_record/base.rb#315 module ActiveRecord::Base::GeneratedAssociationMethods; end -# source://activerecord//lib/active_record/base.rb#0 +# source://activerecord//lib/active_record/base.rb#315 module ActiveRecord::Base::GeneratedAttributeMethods; end # = Active Record \Batches @@ -10452,22 +10306,22 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#128 def initialize(config_or_deprecated_connection, deprecated_logger = T.unsafe(nil), deprecated_connection_options = T.unsafe(nil), deprecated_config = T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkin_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkout_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _run_checkin_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _run_checkout_callbacks(&block); end # Checks whether the connection to the database is still active. This includes @@ -10499,7 +10353,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#661 def all_foreign_keys_valid?(*args, **_arg1, &block); end # @return [Boolean] @@ -10557,7 +10411,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#222 def connection_retries; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def create(*_arg0, **_arg1, &_arg2); end # This is meant to be implemented by the adapters that support custom enum types @@ -10584,7 +10438,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#822 def default_uniqueness_comparison(attribute, value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def delete(*_arg0, **_arg1, &_arg2); end # This is meant to be implemented by the adapters that support extensions @@ -10623,13 +10477,13 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#596 def enable_extension(name, **_arg1); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def exec_insert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def exec_query(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def execute(*_arg0, **_arg1, &_arg2); end # this method must only be called while holding connection pool's mutex @@ -10655,7 +10509,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # Returns the value of attribute owner. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#46 def in_use?; end # A list of index algorithms, to be filled by adapters that support them. @@ -10663,7 +10517,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#643 def index_algorithms; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def insert(*_arg0, **_arg1, &_arg2); end # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#261 @@ -10717,7 +10571,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#265 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#268 def prepared_statements; end # @return [Boolean] @@ -10801,7 +10655,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#741 def reset!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def restart_db_transaction(*_arg0, **_arg1, &_arg2); end # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#226 @@ -10818,10 +10672,10 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#319 def role; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def rollback_db_transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def rollback_to_savepoint(*_arg0, **_arg1, &_arg2); end # Do TransactionRollbackErrors on savepoints affect the parent @@ -11106,16 +10960,16 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#748 def throw_away!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def truncate(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def truncate_tables(*_arg0, **_arg1, &_arg2); end # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#368 def unprepared_statement; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#23 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 def update(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -11300,25 +11154,25 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter def without_prepared_statement?(binds); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkin_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkin_callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkout_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 def _checkout_callbacks=(value); end # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#89 @@ -11434,19 +11288,32 @@ class ActiveRecord::ConnectionAdapters::AddColumnDefinition < ::Struct # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def column=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#114 def new(*_arg0); end end end @@ -11569,30 +11436,47 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefaultDefinition < ::Struct # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def column=(_); end # Returns the value of attribute default # # @return [Object] the current value of default + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def default; end # Sets the attribute default # # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def default=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#118 def new(*_arg0); end end end @@ -11602,30 +11486,47 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < ::Struct # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def column=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def name=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#116 def new(*_arg0); end end end @@ -11645,12 +11546,16 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # Returns the value of attribute expression # # @return [Object] the current value of expression + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def expression; end # Sets the attribute expression # # @param value [Object] the value to set the attribute expression to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def expression=(_); end # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#175 @@ -11659,23 +11564,31 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # Returns the value of attribute options # # @return [Object] the current value of options + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def options; end # Sets the attribute options # # @param value [Object] the value to set the attribute options to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def options=(_); end # Returns the value of attribute table_name # # @return [Object] the current value of table_name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def table_name; end # Sets the attribute table_name # # @param value [Object] the value to set the attribute table_name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def table_name=(_); end # @return [Boolean] @@ -11685,14 +11598,23 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#182 def validated?; end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 def new(*_arg0); end end end @@ -11759,7 +11681,7 @@ class ActiveRecord::ConnectionAdapters::Column # source://activerecord//lib/active_record/connection_adapters/column.rb#56 def encode_with(coder); end - # source://activerecord//lib/active_record/connection_adapters/column.rb#75 + # source://activerecord//lib/active_record/connection_adapters/column.rb#85 def eql?(other); end # @return [Boolean] @@ -11832,74 +11754,82 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#109 def aliased_types(name, fallback); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def collation; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def collation=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def comment; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def comment=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def default; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def default=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_exists; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_exists=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_not_exists; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def if_not_exists=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def limit; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def limit=(value); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def name=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def null; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def null=(value); end # Returns the value of attribute options # # @return [Object] the current value of options + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def options; end # Sets the attribute options # # @param value [Object] the value to set the attribute options to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def options=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def precision; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def precision=(value); end # @return [Boolean] @@ -11907,39 +11837,56 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#93 def primary_key?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#99 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def scale; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#103 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#98 def scale=(value); end # Returns the value of attribute sql_type # # @return [Object] the current value of sql_type + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def sql_type; end # Sets the attribute sql_type # # @param value [Object] the value to set the attribute sql_type to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def sql_type=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def type=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 def new(*_arg0); end end end @@ -11960,7 +11907,7 @@ module ActiveRecord::ConnectionAdapters::ColumnMethods def primary_key(name, type = T.unsafe(nil), **options); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#0 +# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#328 module ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods private @@ -12073,7 +12020,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # Returns the pools for a connection handler and given role. If +:all+ is passed, # all pools belonging to the connection handler will be returned. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#107 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#118 def connection_pools(role = T.unsafe(nil)); end # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#120 @@ -12376,7 +12323,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#185 def connection_class; end - # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#189 def connection_klass(*args, **_arg1, &block); end # Returns an array containing the connections currently in the pool. @@ -12594,7 +12541,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # -- # if owner_thread param is omitted, this must be called in synchronize block # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#670 + # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#673 def release(conn, owner_thread = T.unsafe(nil)); end # -- @@ -12819,41 +12766,62 @@ class ActiveRecord::ConnectionAdapters::CreateIndexDefinition < ::Struct # Returns the value of attribute algorithm # # @return [Object] the current value of algorithm + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def algorithm; end # Sets the attribute algorithm # # @param value [Object] the value to set the attribute algorithm to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def algorithm=(_); end # Returns the value of attribute if_not_exists # # @return [Object] the current value of if_not_exists + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def if_not_exists; end # Sets the attribute if_not_exists # # @param value [Object] the value to set the attribute if_not_exists to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def if_not_exists=(_); end # Returns the value of attribute index # # @return [Object] the current value of index + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def index; end # Sets the attribute index # # @param value [Object] the value to set the attribute index to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def index=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#120 def new(*_arg0); end end end @@ -12938,7 +12906,7 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # `nil` is the default value and maintains default behavior. If an array of column names is passed - # an array of is returned from the method representing values of the specified columns from the inserted row. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#189 + # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#197 def create(arel, name = T.unsafe(nil), pk = T.unsafe(nil), id_value = T.unsafe(nil), sequence_name = T.unsafe(nil), binds = T.unsafe(nil), returning: T.unsafe(nil)); end # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#352 @@ -13385,7 +13353,7 @@ module ActiveRecord::ConnectionAdapters::Deduplicable mixes_in_class_methods ::ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods - # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#18 + # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#21 def -@; end # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#18 @@ -13432,12 +13400,16 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct # Returns the value of attribute from_table # # @return [Object] the current value of from_table + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def from_table; end # Sets the attribute from_table # # @param value [Object] the value to set the attribute from_table to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def from_table=(_); end # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 @@ -13452,12 +13424,16 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct # Returns the value of attribute options # # @return [Object] the current value of options + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def options; end # Sets the attribute options # # @param value [Object] the value to set the attribute options to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def options=(_); end # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#133 @@ -13466,12 +13442,16 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct # Returns the value of attribute to_table # # @return [Object] the current value of to_table + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def to_table; end # Sets the attribute to_table # # @param value [Object] the value to set the attribute to_table to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def to_table=(_); end # @return [Boolean] @@ -13481,7 +13461,7 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#153 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#156 def validated?; end private @@ -13490,10 +13470,19 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct def default_primary_key; end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#124 def new(*_arg0); end end end @@ -13695,10 +13684,10 @@ class ActiveRecord::ConnectionAdapters::PoolConfig # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#47 def disconnect!(automatic_reconnect: T.unsafe(nil)); end - # source://mutex_m/0.2.0/mutex_m.rb#91 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def lock; end - # source://mutex_m/0.2.0/mutex_m.rb#81 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def locked?; end # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#62 @@ -13724,13 +13713,13 @@ class ActiveRecord::ConnectionAdapters::PoolConfig # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 def shard; end - # source://mutex_m/0.2.0/mutex_m.rb#76 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def synchronize(&block); end - # source://mutex_m/0.2.0/mutex_m.rb#86 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def try_lock; end - # source://mutex_m/0.2.0/mutex_m.rb#96 + # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#6 def unlock; end class << self @@ -13782,19 +13771,32 @@ class ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition < ::Struct # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def name=(_); end class << self + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def [](*_arg0); end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def inspect; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def keyword_init?; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def members; end + + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#122 def new(*_arg0); end end end @@ -14253,7 +14255,7 @@ class ActiveRecord::ConnectionAdapters::SchemaCache # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#316 def data_source_exists?(connection, name); end - # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#337 def data_sources(*args, **_arg1, &block); end # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#373 @@ -14318,10 +14320,10 @@ class ActiveRecord::ConnectionAdapters::SchemaCache # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#234 def _load_from(filename); end - # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#231 def load_from(*args, **_arg1, &block); end - # source://activesupport/7.1.3.4/lib/active_support/deprecation/method_wrappers.rb#46 + # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#226 def new(*args, **_arg1, &block); end private @@ -14664,7 +14666,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # add_reference(:products, :supplier, foreign_key: { to_table: :firms }) # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1030 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1033 def add_belongs_to(table_name, ref_name, **options); end # Adds a new check constraint to the table. +expression+ is a String @@ -15668,7 +15670,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_reference(:products, :user, foreign_key: true) # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1049 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1066 def remove_belongs_to(table_name, ref_name, foreign_key: T.unsafe(nil), polymorphic: T.unsafe(nil), **options); end # Removes the given check constraint from the table. Removing a check constraint @@ -15968,7 +15970,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1735 def extract_foreign_key_action(specifier); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1780 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1787 def extract_new_comment_value(default_or_changes); end # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1780 @@ -16066,7 +16068,7 @@ class ActiveRecord::ConnectionAdapters::SqlTypeMetadata # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#19 def ==(other); end - # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#19 + # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#27 def eql?(other); end # source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#29 @@ -16166,19 +16168,19 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#862 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#868 def belongs_to(*args, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def bigint(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def binary(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#324 def blob(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def boolean(*names, **options); end # Changes the column's definition according to the new options. @@ -16254,16 +16256,16 @@ class ActiveRecord::ConnectionAdapters::Table # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#735 def column_exists?(column_name, type = T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def date(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def datetime(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def decimal(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def float(*names, **options); end # Adds a foreign key to the table using a supplied table name. @@ -16312,10 +16314,10 @@ class ActiveRecord::ConnectionAdapters::Table # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#759 def index_exists?(column_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def integer(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def json(*names, **options); end # Returns the value of attribute name. @@ -16323,7 +16325,7 @@ class ActiveRecord::ConnectionAdapters::Table # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#709 def name; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#325 def numeric(*names, **options); end # Adds a reference. @@ -16353,7 +16355,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.remove_reference}[rdoc-ref:SchemaStatements#remove_reference] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#876 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#882 def remove_belongs_to(*args, **options); end # Removes the given check constraint from the table. @@ -16424,16 +16426,16 @@ class ActiveRecord::ConnectionAdapters::Table # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#768 def rename_index(index_name, new_index_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def string(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def text(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def time(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def timestamp(*names, **options); end # Adds timestamps (+created_at+ and +updated_at+) columns to the table. @@ -16445,7 +16447,7 @@ class ActiveRecord::ConnectionAdapters::Table # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#777 def timestamps(**options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def virtual(*names, **options); end private @@ -16502,19 +16504,19 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # # See {connection.add_reference}[rdoc-ref:SchemaStatements#add_reference] for details of the options you can use. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#548 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#553 def belongs_to(*args, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def bigint(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def binary(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#324 def blob(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def boolean(*names, **options); end # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#522 @@ -16606,16 +16608,16 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def comment; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def date(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def datetime(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def decimal(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def float(*names, **options); end # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#518 @@ -16644,10 +16646,10 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def indexes; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def integer(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def json(*names, **options); end # Returns the value of attribute name. @@ -16664,7 +16666,7 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#572 def new_foreign_key_definition(to_table, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#325 def numeric(*names, **options); end # Returns the value of attribute options. @@ -16695,7 +16697,7 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#392 def set_primary_key(table_name, id, primary_key, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def string(*names, **options); end # Returns the value of attribute temporary. @@ -16703,13 +16705,13 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#366 def temporary; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def text(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def time(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def timestamp(*names, **options); end # Appends :datetime columns :created_at and @@ -16720,7 +16722,7 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#530 def timestamps(**options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#332 + # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#331 def virtual(*names, **options); end private @@ -17412,7 +17414,7 @@ module ActiveRecord::Core # Note also that destroying a record preserves its ID in the model instance, so deleted # models are still comparable. # - # source://activerecord//lib/active_record/core.rb#599 + # source://activerecord//lib/active_record/core.rb#605 def eql?(comparison_object); end # Clone and freeze the attributes hash such that associations are still @@ -17910,7 +17912,7 @@ class ActiveRecord::DatabaseConfigurations # # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations.rb#150 + # source://activerecord//lib/active_record/database_configurations.rb#153 def blank?; end # Collects the configs for the environment and optionally the specification @@ -18851,19 +18853,19 @@ class ActiveRecord::Delegation::GeneratedRelationMethods < ::Module # source://activerecord//lib/active_record/relation/delegation.rb#72 def generate_method(method); end - # source://mutex_m/0.2.0/mutex_m.rb#91 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def lock; end - # source://mutex_m/0.2.0/mutex_m.rb#81 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def locked?; end - # source://mutex_m/0.2.0/mutex_m.rb#76 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def synchronize(&block); end - # source://mutex_m/0.2.0/mutex_m.rb#86 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def try_lock; end - # source://mutex_m/0.2.0/mutex_m.rb#96 + # source://activerecord//lib/active_record/relation/delegation.rb#70 def unlock; end end @@ -18902,10 +18904,10 @@ class ActiveRecord::DestroyAssociationAsyncJob < ::ActiveJob::Base def owner_destroyed?(owner, ensuring_owner_was_method); end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 + # source://activerecord//lib/active_record/destroy_association_async_job.rb#11 def queue_name; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://activerecord//lib/active_record/destroy_association_async_job.rb#13 def rescue_handlers; end end end @@ -19085,50 +19087,50 @@ module ActiveRecord::Encryption extend ::ActiveRecord::Encryption::Configurable::ClassMethods extend ::ActiveRecord::Encryption::Contexts::ClassMethods - # source://activerecord//lib/active_record/encryption/configurable.rb#10 + # source://activerecord//lib/active_record/encryption.rb#47 def config; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts=(obj); end - # source://activerecord//lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context; end - # source://activerecord//lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context=(val); end - # source://activerecord//lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners; end - # source://activerecord//lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners=(val); end class << self - # source://activerecord//lib/active_record/encryption/configurable.rb#10 + # source://activerecord//lib/active_record/encryption.rb#47 def config; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://activerecord//lib/active_record/encryption.rb#48 def custom_contexts=(obj); end - # source://activerecord//lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context; end - # source://activerecord//lib/active_record/encryption/contexts.rb#17 + # source://activerecord//lib/active_record/encryption.rb#48 def default_context=(val); end # source://activerecord//lib/active_record/encryption.rb#50 def eager_load!; end - # source://activerecord//lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners; end - # source://activerecord//lib/active_record/encryption/configurable.rb#11 + # source://activerecord//lib/active_record/encryption.rb#47 def encrypted_attribute_declaration_listeners=(val); end end end @@ -19466,7 +19468,7 @@ module ActiveRecord::Encryption::Configurable mixes_in_class_methods ::ActiveRecord::Encryption::Configurable::ClassMethods end -# source://activerecord//lib/active_record/encryption/configurable.rb#0 +# source://activerecord//lib/active_record/encryption/configurable.rb#14 module ActiveRecord::Encryption::Configurable::ClassMethods # source://activerecord//lib/active_record/encryption/configurable.rb#17 def cipher(*_arg0, **_arg1, &_arg2); end @@ -19529,7 +19531,7 @@ class ActiveRecord::Encryption::Context # source://activerecord//lib/active_record/encryption/context.rb#15 def frozen_encryption=(_arg0); end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # source://activerecord//lib/active_record/encryption/context.rb#21 def frozen_encryption?; end # source://activerecord//lib/active_record/encryption/context.rb#15 @@ -19578,7 +19580,7 @@ module ActiveRecord::Encryption::Contexts mixes_in_class_methods ::ActiveRecord::Encryption::Contexts::ClassMethods end -# source://activerecord//lib/active_record/encryption/contexts.rb#0 +# source://activerecord//lib/active_record/encryption/contexts.rb#21 module ActiveRecord::Encryption::Contexts::ClassMethods # source://activerecord//lib/active_record/encryption/contexts.rb#62 def context; end @@ -19701,7 +19703,7 @@ module ActiveRecord::Encryption::EncryptableRecord end end -# source://activerecord//lib/active_record/encryption/encryptable_record.rb#0 +# source://activerecord//lib/active_record/encryption/encryptable_record.rb#16 module ActiveRecord::Encryption::EncryptableRecord::ClassMethods # source://activerecord//lib/active_record/encryption/encryptable_record.rb#58 def deterministic_encrypted_attributes; end @@ -20121,7 +20123,7 @@ module ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries mixes_in_class_methods ::ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries::ClassMethods end -# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#0 +# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#125 module ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries::ClassMethods # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#126 def find_by(*args); end @@ -20493,7 +20495,7 @@ class ActiveRecord::Encryption::Properties # source://activerecord//lib/active_record/encryption/properties.rb#20 def key?(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331 + # source://activerecord//lib/active_record/encryption/properties.rb#19 def method_missing(method, *args, **_arg2, &block); end # source://activerecord//lib/active_record/encryption/properties.rb#68 @@ -20509,7 +20511,7 @@ class ActiveRecord::Encryption::Properties # source://activerecord//lib/active_record/encryption/properties.rb#73 def data; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323 + # source://activerecord//lib/active_record/encryption/properties.rb#19 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -21280,7 +21282,7 @@ module ActiveRecord::FinderMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/relation/finder_methods.rb#377 + # source://activerecord//lib/active_record/relation/finder_methods.rb#395 def member?(record); end # This method is called whenever no records are found with either a single @@ -21475,7 +21477,7 @@ class ActiveRecord::Fixture # Returns the value of attribute fixture. # - # source://activerecord//lib/active_record/fixtures.rb#811 + # source://activerecord//lib/active_record/fixtures.rb#830 def to_hash; end end @@ -21517,7 +21519,7 @@ class ActiveRecord::FutureResult # source://activerecord//lib/active_record/future_result.rb#53 def lock_wait; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331 + # source://activerecord//lib/active_record/future_result.rb#51 def method_missing(method, *args, **_arg2, &block); end # @return [Boolean] @@ -21548,7 +21550,7 @@ class ActiveRecord::FutureResult # source://activerecord//lib/active_record/future_result.rb#144 def execute_query(connection, async: T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323 + # source://activerecord//lib/active_record/future_result.rb#51 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -22196,7 +22198,7 @@ class ActiveRecord::InsertAll::Builder # source://activerecord//lib/active_record/insert_all.rb#286 def raw_update_sql; end - # source://activerecord//lib/active_record/insert_all.rb#286 + # source://activerecord//lib/active_record/insert_all.rb#290 def raw_update_sql?; end # source://activerecord//lib/active_record/insert_all.rb#225 @@ -22941,7 +22943,7 @@ class ActiveRecord::LogSubscriber < ::ActiveSupport::LogSubscriber # source://activerecord//lib/active_record/log_subscriber.rb#7 def backtrace_cleaner?; end - # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87 + # source://activerecord//lib/active_record/log_subscriber.rb#79 def log_levels; end # source://activerecord//lib/active_record/log_subscriber.rb#23 @@ -23963,52 +23965,52 @@ class ActiveRecord::Migration::CommandRecorder # source://activerecord//lib/active_record/migration/command_recorder.rb#63 def initialize(delegate = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#129 def add_belongs_to(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_check_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_enum_value(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_exclusion_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_foreign_key(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_reference(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_timestamps(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def add_unique_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column_comment(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column_default(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_column_null(*args, **_arg1, &block); end # source://activerecord//lib/active_record/migration/command_recorder.rb#132 def change_table(table_name, **options); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def change_table_comment(*args, **_arg1, &block); end # Returns the value of attribute commands. @@ -24023,13 +24025,13 @@ class ActiveRecord::Migration::CommandRecorder # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def commands=(_arg0); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def create_enum(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def create_join_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def create_table(*args, **_arg1, &block); end # Returns the value of attribute delegate. @@ -24044,25 +24046,25 @@ class ActiveRecord::Migration::CommandRecorder # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def delegate=(_arg0); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def disable_extension(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def drop_enum(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def drop_join_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def drop_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def enable_extension(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def execute(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def execute_block(*args, **_arg1, &block); end # Returns the inverse of the given command. For example: @@ -24083,10 +24085,10 @@ class ActiveRecord::Migration::CommandRecorder # source://activerecord//lib/active_record/migration/command_recorder.rb#110 def inverse_of(command, args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#256 def invert_add_belongs_to(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#257 def invert_remove_belongs_to(args, &block); end # Record +command+. +command+ should be a method name and arguments. @@ -24097,49 +24099,49 @@ class ActiveRecord::Migration::CommandRecorder # source://activerecord//lib/active_record/migration/command_recorder.rb#90 def record(*command, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#130 def remove_belongs_to(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_check_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_columns(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_exclusion_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_foreign_key(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_reference(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_timestamps(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def remove_unique_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_enum(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_enum_value(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def rename_table(*args, **_arg1, &block); end # source://activerecord//lib/active_record/migration/command_recorder.rb#144 @@ -24168,7 +24170,7 @@ class ActiveRecord::Migration::CommandRecorder # source://activerecord//lib/active_record/migration/command_recorder.rb#61 def reverting=(_arg0); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#123 + # source://activerecord//lib/active_record/migration/command_recorder.rb#122 def transaction(*args, **_arg1, &block); end private @@ -24272,79 +24274,79 @@ ActiveRecord::Migration::CommandRecorder::ReversibleAndIrreversibleMethods = T.l # source://activerecord//lib/active_record/migration/command_recorder.rb#151 module ActiveRecord::Migration::CommandRecorder::StraightReversions - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_check_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_column(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_exclusion_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_foreign_key(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_index(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_reference(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_timestamps(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_add_unique_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_create_enum(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_create_join_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_create_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_disable_extension(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_drop_enum(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_drop_join_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_drop_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_enable_extension(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_execute_block(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_check_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_column(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_exclusion_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_foreign_key(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_index(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_reference(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_timestamps(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#170 + # source://activerecord//lib/active_record/migration/command_recorder.rb#169 def invert_remove_unique_constraint(args, &block); end end @@ -24358,7 +24360,7 @@ end # source://activerecord//lib/active_record/migration/compatibility.rb#405 class ActiveRecord::Migration::Compatibility::V4_2 < ::ActiveRecord::Migration::Compatibility::V5_0 - # source://activerecord//lib/active_record/migration/compatibility.rb#423 + # source://activerecord//lib/active_record/migration/compatibility.rb#427 def add_belongs_to(table_name, ref_name, **options); end # source://activerecord//lib/active_record/migration/compatibility.rb#423 @@ -24386,7 +24388,7 @@ end # source://activerecord//lib/active_record/migration/compatibility.rb#406 module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#407 + # source://activerecord//lib/active_record/migration/compatibility.rb#411 def belongs_to(*_arg0, **options); end # source://activerecord//lib/active_record/migration/compatibility.rb#407 @@ -24403,7 +24405,7 @@ end # source://activerecord//lib/active_record/migration/compatibility.rb#336 class ActiveRecord::Migration::Compatibility::V5_0 < ::ActiveRecord::Migration::Compatibility::V5_1 - # source://activerecord//lib/active_record/migration/compatibility.rb#391 + # source://activerecord//lib/active_record/migration/compatibility.rb#394 def add_belongs_to(table_name, ref_name, **options); end # source://activerecord//lib/active_record/migration/compatibility.rb#381 @@ -24426,7 +24428,7 @@ end # source://activerecord//lib/active_record/migration/compatibility.rb#337 module ActiveRecord::Migration::Compatibility::V5_0::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#343 + # source://activerecord//lib/active_record/migration/compatibility.rb#346 def belongs_to(*args, **options); end # source://activerecord//lib/active_record/migration/compatibility.rb#338 @@ -24495,7 +24497,7 @@ end # source://activerecord//lib/active_record/migration/compatibility.rb#216 class ActiveRecord::Migration::Compatibility::V6_0 < ::ActiveRecord::Migration::Compatibility::V6_1 - # source://activerecord//lib/active_record/migration/compatibility.rb#240 + # source://activerecord//lib/active_record/migration/compatibility.rb#248 def add_belongs_to(table_name, ref_name, **options); end # source://activerecord//lib/active_record/migration/compatibility.rb#240 @@ -24515,7 +24517,7 @@ end # source://activerecord//lib/active_record/migration/compatibility.rb#223 module ActiveRecord::Migration::Compatibility::V6_0::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#224 + # source://activerecord//lib/active_record/migration/compatibility.rb#228 def belongs_to(*args, **options); end # source://activerecord//lib/active_record/migration/compatibility.rb#230 @@ -24573,7 +24575,7 @@ end class ActiveRecord::Migration::Compatibility::V7_0 < ::ActiveRecord::Migration::Current include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName - # source://activerecord//lib/active_record/migration/compatibility.rb#100 + # source://activerecord//lib/active_record/migration/compatibility.rb#104 def add_belongs_to(table_name, ref_name, **options); end # source://activerecord//lib/active_record/migration/compatibility.rb#90 @@ -24747,22 +24749,35 @@ class ActiveRecord::Migration::ReversibleBlockHelper < ::Struct # Returns the value of attribute reverting # # @return [Object] the current value of reverting + # + # source://activerecord//lib/active_record/migration.rb#868 def reverting; end # Sets the attribute reverting # # @param value [Object] the value to set the attribute reverting to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#868 def reverting=(_); end # source://activerecord//lib/active_record/migration.rb#869 def up; end class << self + # source://activerecord//lib/active_record/migration.rb#868 def [](*_arg0); end + + # source://activerecord//lib/active_record/migration.rb#868 def inspect; end + + # source://activerecord//lib/active_record/migration.rb#868 def keyword_init?; end + + # source://activerecord//lib/active_record/migration.rb#868 def members; end + + # source://activerecord//lib/active_record/migration.rb#868 def new(*_arg0); end end end @@ -24912,12 +24927,16 @@ class ActiveRecord::MigrationProxy < ::Struct # Returns the value of attribute filename # # @return [Object] the current value of filename + # + # source://activerecord//lib/active_record/migration.rb#1168 def filename; end # Sets the attribute filename # # @param value [Object] the value to set the attribute filename to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def filename=(_); end # source://activerecord//lib/active_record/migration.rb#1178 @@ -24926,34 +24945,46 @@ class ActiveRecord::MigrationProxy < ::Struct # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://activerecord//lib/active_record/migration.rb#1168 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def name=(_); end # Returns the value of attribute scope # # @return [Object] the current value of scope + # + # source://activerecord//lib/active_record/migration.rb#1168 def scope; end # Sets the attribute scope # # @param value [Object] the value to set the attribute scope to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def scope=(_); end # Returns the value of attribute version # # @return [Object] the current value of version + # + # source://activerecord//lib/active_record/migration.rb#1168 def version; end # Sets the attribute version # # @param value [Object] the value to set the attribute version to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/migration.rb#1168 def version=(_); end # source://activerecord//lib/active_record/migration.rb#1178 @@ -24968,10 +24999,19 @@ class ActiveRecord::MigrationProxy < ::Struct def migration; end class << self + # source://activerecord//lib/active_record/migration.rb#1168 def [](*_arg0); end + + # source://activerecord//lib/active_record/migration.rb#1168 def inspect; end + + # source://activerecord//lib/active_record/migration.rb#1168 def keyword_init?; end + + # source://activerecord//lib/active_record/migration.rb#1168 def members; end + + # source://activerecord//lib/active_record/migration.rb#1168 def new(*_arg0); end end end @@ -24983,7 +25023,7 @@ class ActiveRecord::Migrator # source://activerecord//lib/active_record/migration.rb#1415 def initialize(direction, migrations, schema_migration, internal_metadata, target_version = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#1433 + # source://activerecord//lib/active_record/migration.rb#1436 def current; end # source://activerecord//lib/active_record/migration.rb#1433 @@ -26063,23 +26103,23 @@ class ActiveRecord::NoDatabaseError < ::ActiveRecord::StatementInvalid # source://activerecord//lib/active_record/errors.rb#314 def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions; end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions?; end class << self - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions; end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions=(value); end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/errors.rb#308 def _actions?; end # source://activerecord//lib/active_record/errors.rb#319 @@ -26298,7 +26338,7 @@ class ActiveRecord::Normalization::NormalizedValueType # source://activerecord//lib/active_record/normalization.rb#123 def cast_type; end - # source://activerecord//lib/active_record/normalization.rb#145 + # source://activerecord//lib/active_record/normalization.rb#151 def eql?(other); end # source://activerecord//lib/active_record/normalization.rb#153 @@ -26314,7 +26354,7 @@ class ActiveRecord::Normalization::NormalizedValueType # Returns the value of attribute normalize_nil. # - # source://activerecord//lib/active_record/normalization.rb#123 + # source://activerecord//lib/active_record/normalization.rb#124 def normalize_nil?; end # Returns the value of attribute normalizer. @@ -26365,13 +26405,13 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError # source://activerecord//lib/active_record/migration.rb#146 def initialize(message = T.unsafe(nil), pending_migrations: T.unsafe(nil)); end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions; end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions?; end private @@ -26383,13 +26423,13 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError def detailed_migration_message(pending_migrations); end class << self - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions; end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions=(value); end - # source://activesupport/7.1.3.4/lib/active_support/actionable_error.rb#17 + # source://activerecord//lib/active_record/migration.rb#135 def _actions?; end end end @@ -27602,35 +27642,54 @@ class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds < ::Struct # Returns the value of attribute begin # # @return [Object] the current value of begin + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def begin; end # Sets the attribute begin # # @param value [Object] the value to set the attribute begin to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def begin=(_); end # Returns the value of attribute end # # @return [Object] the current value of end + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def end; end # Sets the attribute end # # @param value [Object] the value to set the attribute end to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def end=(_); end # Returns the value of attribute exclude_end? # # @return [Object] the current value of exclude_end? + # + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def exclude_end?; end class << self + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def [](*_arg0); end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def inspect; end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def keyword_init?; end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def members; end + + # source://activerecord//lib/active_record/relation/predicate_builder/range_handler.rb#6 def new(*_arg0); end end end @@ -27665,11 +27724,13 @@ class ActiveRecord::Promise < ::BasicObject # source://activerecord//lib/active_record/promise.rb#7 def initialize(future_result, block); end + # source://activerecord//lib/active_record/promise.rb#41 def class; end # source://activerecord//lib/active_record/promise.rb#44 def inspect; end + # source://activerecord//lib/active_record/promise.rb#41 def is_a?(_arg0); end # Returns whether the associated query is still being executed or not. @@ -27682,6 +27743,7 @@ class ActiveRecord::Promise < ::BasicObject # source://activerecord//lib/active_record/promise.rb#48 def pretty_print(q); end + # source://activerecord//lib/active_record/promise.rb#41 def respond_to?(*_arg0); end # Returns a new +ActiveRecord::Promise+ that will apply the passed block @@ -27857,10 +27919,10 @@ module ActiveRecord::QueryLogs # source://activerecord//lib/active_record/query_logs.rb#77 def cache_query_log_tags=(val); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://activerecord//lib/active_record/query_logs.rb#79 def cached_comment; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://activerecord//lib/active_record/query_logs.rb#79 def cached_comment=(obj); end # source://activerecord//lib/active_record/query_logs.rb#82 @@ -28002,10 +28064,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1434 def annotate!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def annotate_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def annotate_values=(value); end # Returns the Arel object associated with the relation. @@ -28036,10 +28098,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1249 def create_with!(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def create_with_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def create_with_value=(value); end # Specifies whether the records should be unique or not. For example: @@ -28061,10 +28123,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1314 def distinct!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def distinct_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def distinct_value=(value); end # Specify associations +args+ to be eager loaded using a LEFT OUTER JOIN. @@ -28100,10 +28162,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#272 def eager_load!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def eager_load_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def eager_load_values=(value); end # Excludes the specified record (or collection of records) from the resulting @@ -28179,13 +28241,13 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1363 def extending!(*modules, &block); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def extending_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def extending_values=(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#166 def extensions; end # Extracts a named +association+ from the relation. The named association is first preloaded, @@ -28238,10 +28300,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1294 def from!(value, subquery_name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def from_clause; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def from_clause=(value); end # Allows to specify a group attribute: @@ -28271,10 +28333,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#517 def group!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def group_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def group_values=(value); end # Allows to specify a HAVING clause. Note that you can't use HAVING @@ -28288,10 +28350,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1100 def having!(opts, *rest); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def having_clause; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def having_clause=(value); end # Allows to specify an order by a specific set of values. @@ -28378,10 +28440,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#236 def includes!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def includes_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def includes_values=(value); end # Allows you to invert an entire where clause instead of manually applying conditions. @@ -28454,10 +28516,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#772 def joins!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def joins_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def joins_values=(value); end # Performs LEFT OUTER JOINs on +args+: @@ -28465,7 +28527,7 @@ module ActiveRecord::QueryMethods # User.left_outer_joins(:posts) # # SELECT "users".* FROM "users" LEFT OUTER JOIN "posts" ON "posts"."user_id" = "users"."id" # - # source://activerecord//lib/active_record/relation/query_methods.rb#782 + # source://activerecord//lib/active_record/relation/query_methods.rb#786 def left_joins(*args); end # Performs LEFT OUTER JOINs on +args+: @@ -28479,10 +28541,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#788 def left_outer_joins!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def left_outer_joins_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def left_outer_joins_values=(value); end # Specifies a limit for the number of records to retrieve. @@ -28497,10 +28559,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1114 def limit!(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def limit_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def limit_value=(value); end # Specifies locking settings (default to +true+). For more information @@ -28512,10 +28574,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1141 def lock!(locks = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def lock_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def lock_value=(value); end # Returns a chainable relation with zero records. @@ -28571,10 +28633,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1130 def offset!(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def offset_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def offset_value=(value); end # Specify optimizer hints to be used in the SELECT statement. @@ -28595,10 +28657,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1389 def optimizer_hints!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def optimizer_hints_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def optimizer_hints_values=(value); end # Returns a new relation, which is the logical union of this relation and the one passed as an @@ -28678,10 +28740,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#603 def order!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def order_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def order_values=(value); end # Specify associations +args+ to be eager loaded using separate queries. @@ -28713,10 +28775,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#304 def preload!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def preload_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def preload_values=(value); end # Mark a relation as readonly. Attempting to update a record will result in @@ -28738,10 +28800,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1212 def readonly!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def readonly_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def readonly_value=(value); end # Use to indicate that the given +table_names+ are referenced by an SQL string, @@ -28761,10 +28823,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#337 def references!(*table_names); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def references_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def references_values=(value); end # Allows you to change a previously set group statement. @@ -28804,10 +28866,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#659 def reorder!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reordering_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reordering_value=(value); end # Allows you to change a previously set select statement. @@ -28839,10 +28901,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1401 def reverse_order!; end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reverse_order_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def reverse_order_value=(value); end # Allows you to change a previously set where condition for a given attribute, instead of appending to that condition. @@ -28914,10 +28976,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#390 def select(*fields); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def select_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def select_values=(value); end # source://activerecord//lib/active_record/relation/query_methods.rb#1412 @@ -28926,10 +28988,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1407 def skip_query_cache!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def skip_query_cache_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def skip_query_cache_value=(value); end # Sets the returned relation to strict_loading mode. This will raise an error @@ -28945,10 +29007,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1227 def strict_loading!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def strict_loading_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def strict_loading_value=(value); end # Checks whether the given relation is structurally compatible with this relation, to determine @@ -29011,10 +29073,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#710 def unscope!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def unscope_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def unscope_values=(value); end # Returns a new relation, which is the result of filtering the current relation @@ -29163,10 +29225,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#942 def where!(opts, *rest); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def where_clause; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def where_clause=(value); end # Add a Common Table Expression (CTE) that you can then reference within another SELECT statement. @@ -29227,10 +29289,10 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#465 def with!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def with_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#159 + # source://activerecord//lib/active_record/relation/query_methods.rb#154 def with_values=(value); end # Excludes the specified record (or collection of records) from the resulting @@ -29257,7 +29319,7 @@ module ActiveRecord::QueryMethods # is passed in) are not instances of the same model that the relation is # scoping. # - # source://activerecord//lib/active_record/relation/query_methods.rb#1470 + # source://activerecord//lib/active_record/relation/query_methods.rb#1480 def without(*records); end protected @@ -29265,7 +29327,7 @@ module ActiveRecord::QueryMethods # source://activerecord//lib/active_record/relation/query_methods.rb#1539 def async!; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1508 + # source://activerecord//lib/active_record/relation/query_methods.rb#1537 def build_having_clause(opts, rest = T.unsafe(nil)); end # source://activerecord//lib/active_record/relation/query_methods.rb#1500 @@ -30099,11 +30161,6 @@ module ActiveRecord::Reflection # source://activerecord//lib/active_record/reflection.rb#17 def create(macro, name, scope, options, ar); end - - private - - # source://activestorage/7.1.3.4/lib/active_storage/reflection.rb#37 - def reflection_class_for(macro); end end module GeneratedClassMethods @@ -30210,7 +30267,7 @@ class ActiveRecord::Reflection::AbstractReflection # # Hence this method. # - # source://activerecord//lib/active_record/reflection.rb#276 + # source://activerecord//lib/active_record/reflection.rb#288 def inverse_updates_counter_cache?; end # @return [Boolean] @@ -31165,7 +31222,7 @@ class ActiveRecord::Relation # user = users.new { |user| user.name = 'Oscar' } # user.name # => Oscar # - # source://activerecord//lib/active_record/relation.rb#69 + # source://activerecord//lib/active_record/relation.rb#77 def build(attributes = T.unsafe(nil), &block); end # Returns a stable cache key that can be used to identify this query. @@ -31513,10 +31570,10 @@ class ActiveRecord::Relation # Returns the value of attribute loaded. # - # source://activerecord//lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#25 def loaded?; end - # source://activerecord//lib/active_record/relation/query_methods.rb#155 + # source://activerecord//lib/active_record/relation.rb#26 def locked?; end # Returns true if there is more than one record. @@ -31528,7 +31585,7 @@ class ActiveRecord::Relation # Returns the value of attribute klass. # - # source://activerecord//lib/active_record/relation.rb#22 + # source://activerecord//lib/active_record/relation.rb#24 def model; end # Initializes new record from relation while maintaining the current @@ -31646,7 +31703,7 @@ class ActiveRecord::Relation # Converts relation objects to Array. # - # source://activerecord//lib/active_record/relation.rb#258 + # source://activerecord//lib/active_record/relation.rb#261 def to_a; end # Converts relation objects to Array. @@ -31969,7 +32026,7 @@ class ActiveRecord::Relation::QueryAttribute < ::ActiveModel::Attribute # source://activerecord//lib/active_record/relation/query_attribute.rb#53 def ==(other); end - # source://activerecord//lib/active_record/relation/query_attribute.rb#53 + # source://activerecord//lib/active_record/relation/query_attribute.rb#56 def eql?(other); end # source://activerecord//lib/active_record/relation/query_attribute.rb#58 @@ -32056,7 +32113,7 @@ class ActiveRecord::Relation::WhereClause # source://activerecord//lib/active_record/relation/where_clause.rb#8 def empty?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/where_clause.rb#75 + # source://activerecord//lib/active_record/relation/where_clause.rb#79 def eql?(other); end # source://activerecord//lib/active_record/relation/where_clause.rb#36 @@ -32244,7 +32301,7 @@ class ActiveRecord::Result # Returns an array of hashes representing each row record. # - # source://activerecord//lib/active_record/result.rb#84 + # source://activerecord//lib/active_record/result.rb#88 def to_a; end # Returns an array of hashes representing each row record. @@ -32403,7 +32460,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_conditions(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord//lib/active_record/sanitization.rb#33 + # source://activerecord//lib/active_record/sanitization.rb#41 def sanitize_sql(condition); end # Accepts an array of conditions. The array has each value @@ -32805,6 +32862,7 @@ class ActiveRecord::SchemaDumper # source://activerecord//lib/active_record/schema_dumper.rb#50 def generate_options(config); end + # source://activerecord//lib/active_record/schema_dumper.rb#11 def new(*_arg0); end end end @@ -34130,7 +34188,7 @@ class ActiveRecord::TableMetadata # source://activerecord//lib/active_record/table_metadata.rb#7 def initialize(klass, arel_table, reflection = T.unsafe(nil)); end - # source://activerecord//lib/active_record/table_metadata.rb#74 + # source://activerecord//lib/active_record/table_metadata.rb#77 def aggregated_with?(aggregation_name); end # Returns the value of attribute arel_table. @@ -35000,34 +35058,46 @@ class ActiveRecord::TokenFor::TokenDefinition < ::Struct # Returns the value of attribute block # # @return [Object] the current value of block + # + # source://activerecord//lib/active_record/token_for.rb#14 def block; end # Sets the attribute block # # @param value [Object] the value to set the attribute block to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def block=(_); end # Returns the value of attribute defining_class # # @return [Object] the current value of defining_class + # + # source://activerecord//lib/active_record/token_for.rb#14 def defining_class; end # Sets the attribute defining_class # # @param value [Object] the value to set the attribute defining_class to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def defining_class=(_); end # Returns the value of attribute expires_in # # @return [Object] the current value of expires_in + # + # source://activerecord//lib/active_record/token_for.rb#14 def expires_in; end # Sets the attribute expires_in # # @param value [Object] the value to set the attribute expires_in to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def expires_in=(_); end # source://activerecord//lib/active_record/token_for.rb#15 @@ -35045,22 +35115,35 @@ class ActiveRecord::TokenFor::TokenDefinition < ::Struct # Returns the value of attribute purpose # # @return [Object] the current value of purpose + # + # source://activerecord//lib/active_record/token_for.rb#14 def purpose; end # Sets the attribute purpose # # @param value [Object] the value to set the attribute purpose to. # @return [Object] the newly set value + # + # source://activerecord//lib/active_record/token_for.rb#14 def purpose=(_); end # source://activerecord//lib/active_record/token_for.rb#31 def resolve_token(token); end class << self + # source://activerecord//lib/active_record/token_for.rb#14 def [](*_arg0); end + + # source://activerecord//lib/active_record/token_for.rb#14 def inspect; end + + # source://activerecord//lib/active_record/token_for.rb#14 def keyword_init?; end + + # source://activerecord//lib/active_record/token_for.rb#14 def members; end + + # source://activerecord//lib/active_record/token_for.rb#14 def new(*_arg0); end end end @@ -36140,7 +36223,7 @@ module ActiveRecord::Validations # # @return [Boolean] # - # source://activerecord//lib/active_record/validations.rb#70 + # source://activerecord//lib/active_record/validations.rb#76 def validate(context = T.unsafe(nil)); end private @@ -36296,7 +36379,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_length_of for more information. # - # source://activerecord//lib/active_record/validations/length.rb#19 + # source://activerecord//lib/active_record/validations/length.rb#23 def validates_size_of(*attr_names); end # Validates whether the value of the specified attributes are unique @@ -36950,7 +37033,7 @@ class Arel::Nodes::And < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/and.rb#29 + # source://activerecord//lib/arel/nodes/and.rb#33 def ==(other); end # Returns the value of attribute children. @@ -37024,7 +37107,7 @@ class Arel::Nodes::Binary < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/binary.rb#24 + # source://activerecord//lib/arel/nodes/binary.rb#29 def ==(other); end # @return [Boolean] @@ -37074,7 +37157,7 @@ class Arel::Nodes::BindParam < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bind_param.rb#17 + # source://activerecord//lib/arel/nodes/bind_param.rb#21 def ==(other); end # @return [Boolean] @@ -37171,7 +37254,7 @@ class Arel::Nodes::BoundSqlLiteral < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#42 + # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#48 def ==(other); end # @return [Boolean] @@ -37210,7 +37293,7 @@ class Arel::Nodes::Case < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/case.rb#40 + # source://activerecord//lib/arel/nodes/case.rb#46 def ==(other); end # Returns the value of attribute case. @@ -37281,7 +37364,7 @@ class Arel::Nodes::Casted < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/casted.rb#29 + # source://activerecord//lib/arel/nodes/casted.rb#34 def ==(other); end # Returns the value of attribute attribute. @@ -37309,7 +37392,7 @@ class Arel::Nodes::Casted < ::Arel::Nodes::NodeExpression # Returns the value of attribute value. # - # source://activerecord//lib/arel/nodes/casted.rb#6 + # source://activerecord//lib/arel/nodes/casted.rb#7 def value_before_type_cast; end # source://activerecord//lib/arel/nodes/casted.rb#17 @@ -37325,7 +37408,7 @@ class Arel::Nodes::Comment < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/comment.rb#22 + # source://activerecord//lib/arel/nodes/comment.rb#26 def ==(other); end # @return [Boolean] @@ -37380,7 +37463,7 @@ class Arel::Nodes::Cte < ::Arel::Nodes::Binary # @return [Boolean] # - # source://activerecord//lib/arel/nodes/cte.rb#19 + # source://activerecord//lib/arel/nodes/cte.rb#25 def ==(other); end # @return [Boolean] @@ -37416,7 +37499,7 @@ class Arel::Nodes::Cube < ::Arel::Nodes::Unary; end class Arel::Nodes::CurrentRow < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#108 + # source://activerecord//lib/arel/nodes/window.rb#111 def ==(other); end # @return [Boolean] @@ -37437,7 +37520,7 @@ class Arel::Nodes::DeleteStatement < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/delete_statement.rb#30 + # source://activerecord//lib/arel/nodes/delete_statement.rb#41 def ==(other); end # @return [Boolean] @@ -37573,7 +37656,7 @@ end class Arel::Nodes::Distinct < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/terminal.rb#10 + # source://activerecord//lib/arel/nodes/terminal.rb#13 def ==(other); end # @return [Boolean] @@ -37630,7 +37713,7 @@ class Arel::Nodes::Extract < ::Arel::Nodes::Unary # @return [Boolean] # - # source://activerecord//lib/arel/nodes/extract.rb#17 + # source://activerecord//lib/arel/nodes/extract.rb#21 def ==(other); end # @return [Boolean] @@ -37658,7 +37741,7 @@ end class Arel::Nodes::False < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/false.rb#10 + # source://activerecord//lib/arel/nodes/false.rb#13 def ==(other); end # @return [Boolean] @@ -37703,7 +37786,7 @@ class Arel::Nodes::Fragments < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/fragments.rb#28 + # source://activerecord//lib/arel/nodes/fragments.rb#32 def ==(other); end # @return [Boolean] @@ -37740,7 +37823,7 @@ class Arel::Nodes::Function < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/function.rb#26 + # source://activerecord//lib/arel/nodes/function.rb#32 def ==(other); end # Returns the value of attribute alias. @@ -37831,7 +37914,7 @@ class Arel::Nodes::HomogeneousIn < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#18 + # source://activerecord//lib/arel/nodes/homogeneous_in.rb#21 def ==(other); end # Returns the value of attribute attribute. @@ -37924,7 +38007,7 @@ class Arel::Nodes::InsertStatement < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/insert_statement.rb#27 + # source://activerecord//lib/arel/nodes/insert_statement.rb#34 def ==(other); end # Returns the value of attribute columns. @@ -38104,7 +38187,7 @@ class Arel::Nodes::NamedFunction < ::Arel::Nodes::Function # @return [Boolean] # - # source://activerecord//lib/arel/nodes/named_function.rb#17 + # source://activerecord//lib/arel/nodes/named_function.rb#20 def ==(other); end # @return [Boolean] @@ -38137,7 +38220,7 @@ class Arel::Nodes::NamedWindow < ::Arel::Nodes::Window # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#85 + # source://activerecord//lib/arel/nodes/window.rb#88 def ==(other); end # @return [Boolean] @@ -38487,7 +38570,7 @@ class Arel::Nodes::SelectCore < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/select_core.rb#52 + # source://activerecord//lib/arel/nodes/select_core.rb#64 def ==(other); end # Returns the value of attribute comment. @@ -38513,10 +38596,10 @@ class Arel::Nodes::SelectCore < ::Arel::Nodes::Node # source://activerecord//lib/arel/nodes/select_core.rb#28 def from=(value); end - # source://activerecord//lib/arel/nodes/select_core.rb#24 + # source://activerecord//lib/arel/nodes/select_core.rb#33 def froms; end - # source://activerecord//lib/arel/nodes/select_core.rb#28 + # source://activerecord//lib/arel/nodes/select_core.rb#32 def froms=(value); end # Returns the value of attribute groups. @@ -38633,7 +38716,7 @@ class Arel::Nodes::SelectStatement < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/select_statement.rb#29 + # source://activerecord//lib/arel/nodes/select_statement.rb#38 def ==(other); end # Returns the value of attribute cores. @@ -38769,7 +38852,7 @@ class Arel::Nodes::TableAlias < ::Arel::Nodes::Binary # source://activerecord//lib/arel/nodes/binary.rb#6 def relation; end - # source://activerecord//lib/arel/nodes/binary.rb#6 + # source://activerecord//lib/arel/nodes/table_alias.rb#8 def table_alias; end # source://activerecord//lib/arel/nodes/table_alias.rb#14 @@ -38789,7 +38872,7 @@ end class Arel::Nodes::True < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/true.rb#10 + # source://activerecord//lib/arel/nodes/true.rb#13 def ==(other); end # @return [Boolean] @@ -38810,7 +38893,7 @@ class Arel::Nodes::Unary < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/unary.rb#18 + # source://activerecord//lib/arel/nodes/unary.rb#22 def ==(other); end # @return [Boolean] @@ -38835,7 +38918,7 @@ class Arel::Nodes::Unary < ::Arel::Nodes::NodeExpression # Returns the value of attribute expr. # - # source://activerecord//lib/arel/nodes/unary.rb#6 + # source://activerecord//lib/arel/nodes/unary.rb#7 def value; end end @@ -38885,7 +38968,7 @@ class Arel::Nodes::UpdateStatement < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/update_statement.rb#31 + # source://activerecord//lib/arel/nodes/update_statement.rb#43 def ==(other); end # @return [Boolean] @@ -39028,7 +39111,7 @@ class Arel::Nodes::Window < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#59 + # source://activerecord//lib/arel/nodes/window.rb#65 def ==(other); end # @return [Boolean] @@ -39325,7 +39408,7 @@ class Arel::SelectManager < ::Arel::TreeManager # source://activerecord//lib/arel/select_manager.rb#19 def limit; end - # source://activerecord//lib/arel/select_manager.rb#234 + # source://activerecord//lib/arel/select_manager.rb#242 def limit=(limit); end # source://activerecord//lib/arel/select_manager.rb#52 @@ -39334,13 +39417,13 @@ class Arel::SelectManager < ::Arel::TreeManager # source://activerecord//lib/arel/select_manager.rb#65 def locked; end - # source://activerecord//lib/arel/select_manager.rb#213 + # source://activerecord//lib/arel/select_manager.rb#216 def minus(other); end # source://activerecord//lib/arel/select_manager.rb#28 def offset; end - # source://activerecord//lib/arel/select_manager.rb#32 + # source://activerecord//lib/arel/select_manager.rb#40 def offset=(amount); end # source://activerecord//lib/arel/select_manager.rb#69 @@ -39376,7 +39459,7 @@ class Arel::SelectManager < ::Arel::TreeManager # source://activerecord//lib/arel/select_manager.rb#234 def take(limit); end - # source://activerecord//lib/arel/select_manager.rb#19 + # source://activerecord//lib/arel/select_manager.rb#22 def taken; end # source://activerecord//lib/arel/select_manager.rb#198 @@ -39418,7 +39501,7 @@ class Arel::Table # @return [Boolean] # - # source://activerecord//lib/arel/table.rb#99 + # source://activerecord//lib/arel/table.rb#104 def ==(other); end # source://activerecord//lib/arel/table.rb#86 @@ -39620,7 +39703,7 @@ class Arel::Visitors::Dot < ::Arel::Visitors::Visitor # source://activerecord//lib/arel/visitors/dot.rb#183 def visit_Arel_Attributes_Attribute(o); end - # source://activerecord//lib/arel/visitors/dot.rb#188 + # source://activerecord//lib/arel/visitors/dot.rb#193 def visit_Arel_Nodes_And(o); end # source://activerecord//lib/arel/visitors/dot.rb#44 @@ -39643,13 +39726,13 @@ class Arel::Visitors::Dot < ::Arel::Visitors::Visitor # intentionally left blank # - # source://activerecord//lib/arel/visitors/dot.rb#103 + # source://activerecord//lib/arel/visitors/dot.rb#106 def visit_Arel_Nodes_CurrentRow(o); end # source://activerecord//lib/arel/visitors/dot.rb#159 def visit_Arel_Nodes_DeleteStatement(o); end - # source://activerecord//lib/arel/visitors/dot.rb#103 + # source://activerecord//lib/arel/visitors/dot.rb#107 def visit_Arel_Nodes_Distinct(o); end # source://activerecord//lib/arel/visitors/dot.rb#109 @@ -39673,13 +39756,13 @@ class Arel::Visitors::Dot < ::Arel::Visitors::Visitor # source://activerecord//lib/arel/visitors/dot.rb#96 def visit_Arel_Nodes_NamedWindow(o); end - # source://activerecord//lib/arel/visitors/dot.rb#60 + # source://activerecord//lib/arel/visitors/dot.rb#66 def visit_Arel_Nodes_NotRegexp(o); end # source://activerecord//lib/arel/visitors/dot.rb#68 def visit_Arel_Nodes_Ordering(o); end - # source://activerecord//lib/arel/visitors/dot.rb#60 + # source://activerecord//lib/arel/visitors/dot.rb#65 def visit_Arel_Nodes_Regexp(o); end # source://activerecord//lib/arel/visitors/dot.rb#128 @@ -39688,7 +39771,7 @@ class Arel::Visitors::Dot < ::Arel::Visitors::Visitor # source://activerecord//lib/arel/visitors/dot.rb#140 def visit_Arel_Nodes_SelectStatement(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#209 def visit_Arel_Nodes_SqlLiteral(o); end # source://activerecord//lib/arel/visitors/dot.rb#86 @@ -39712,7 +39795,7 @@ class Arel::Visitors::Dot < ::Arel::Visitors::Visitor # source://activerecord//lib/arel/visitors/dot.rb#90 def visit_Arel_Nodes_Window(o); end - # source://activerecord//lib/arel/visitors/dot.rb#188 + # source://activerecord//lib/arel/visitors/dot.rb#194 def visit_Arel_Nodes_With(o); end # source://activerecord//lib/arel/visitors/dot.rb#168 @@ -39721,43 +39804,43 @@ class Arel::Visitors::Dot < ::Arel::Visitors::Visitor # source://activerecord//lib/arel/visitors/dot.rb#225 def visit_Array(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#206 def visit_BigDecimal(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#200 def visit_Date(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#201 def visit_DateTime(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#204 def visit_FalseClass(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#207 def visit_Float(o); end # source://activerecord//lib/arel/visitors/dot.rb#219 def visit_Hash(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#205 def visit_Integer(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#202 def visit_NilClass(o); end - # source://activerecord//lib/arel/visitors/dot.rb#225 + # source://activerecord//lib/arel/visitors/dot.rb#230 def visit_Set(o); end # source://activerecord//lib/arel/visitors/dot.rb#196 def visit_String(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#208 def visit_Symbol(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#199 def visit_Time(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # source://activerecord//lib/arel/visitors/dot.rb#203 def visit_TrueClass(o); end # source://activerecord//lib/arel/visitors/dot.rb#188 @@ -39837,7 +39920,7 @@ class Arel::Visitors::MySQL < ::Arel::Visitors::ToSql # query. However, this does not allow for LIMIT, OFFSET and ORDER. To support # these, we must use a subquery. # - # source://activerecord//lib/arel/visitors/mysql.rb#76 + # source://activerecord//lib/arel/visitors/mysql.rb#84 def prepare_delete_statement(o); end # In the simple case, MySQL allows us to place JOINs directly into the UPDATE @@ -40037,7 +40120,7 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor # on MySQL (even when aliasing the tables), but MySQL allows using JOIN directly in # an UPDATE statement, so in the MySQL visitor we redefine this to do that. # - # source://activerecord//lib/arel/visitors/to_sql.rb#927 + # source://activerecord//lib/arel/visitors/to_sql.rb#942 def prepare_delete_statement(o); end # The default strategy for an UPDATE with joins is to use a subquery. This doesn't work @@ -40074,12 +40157,12 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#835 def visit_ActiveSupport_Multibyte_Chars(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#836 def visit_ActiveSupport_StringInquirer(o, collector); end # source://activerecord//lib/arel/visitors/to_sql.rb#751 @@ -40286,7 +40369,7 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor # source://activerecord//lib/arel/visitors/to_sql.rb#273 def visit_Arel_Nodes_Preceding(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#84 + # source://activerecord//lib/arel/visitors/to_sql.rb#87 def visit_Arel_Nodes_Quoted(o, collector); end # source://activerecord//lib/arel/visitors/to_sql.rb#264 @@ -40371,37 +40454,37 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#837 def visit_BigDecimal(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#838 def visit_Class(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#839 def visit_Date(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#840 def visit_DateTime(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#841 def visit_FalseClass(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#842 def visit_Float(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#843 def visit_Hash(o, collector); end # source://activerecord//lib/arel/visitors/to_sql.rb#827 @@ -40409,30 +40492,30 @@ class Arel::Visitors::ToSql < ::Arel::Visitors::Visitor # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#844 def visit_NilClass(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#861 + # source://activerecord//lib/arel/visitors/to_sql.rb#864 def visit_Set(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#845 def visit_String(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#846 def visit_Symbol(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#847 def visit_Time(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # source://activerecord//lib/arel/visitors/to_sql.rb#848 def visit_TrueClass(o, collector); end end diff --git a/sorbet/rbi/gems/activeresource@6.1.0.rbi b/sorbet/rbi/gems/activeresource@6.1.0.rbi index 9f43ba012..b80a7df4e 100644 --- a/sorbet/rbi/gems/activeresource@6.1.0.rbi +++ b/sorbet/rbi/gems/activeresource@6.1.0.rbi @@ -191,7 +191,7 @@ class ActiveResource::Associations::Builder::Association # source://activeresource//lib/active_resource/associations/builder/association.rb#14 def build(model, name, options); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#7 def macro; end # source://activeresource//lib/active_resource/associations/builder/association.rb#10 @@ -200,7 +200,7 @@ class ActiveResource::Associations::Builder::Association # source://activeresource//lib/active_resource/associations/builder/association.rb#10 def macro?; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#5 def valid_options; end # source://activeresource//lib/active_resource/associations/builder/association.rb#6 @@ -217,10 +217,10 @@ class ActiveResource::Associations::Builder::BelongsTo < ::ActiveResource::Assoc def build; end class << self - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#7 def macro; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#5 def valid_options; end end end @@ -231,7 +231,7 @@ class ActiveResource::Associations::Builder::HasMany < ::ActiveResource::Associa def build; end class << self - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # source://activeresource//lib/active_resource/associations/builder/has_many.rb#5 def macro; end end end @@ -242,7 +242,7 @@ class ActiveResource::Associations::Builder::HasOne < ::ActiveResource::Associat def build; end class << self - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # source://activeresource//lib/active_resource/associations/builder/has_one.rb#5 def macro; end end end @@ -615,10 +615,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1318 def ==(other); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks?; end # source://activeresource//lib/active_resource/base.rb#331 @@ -630,10 +630,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#331 def _collection_parser?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _create_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _destroy_callbacks; end # source://activeresource//lib/active_resource/base.rb#330 @@ -645,40 +645,40 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#330 def _format?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_create_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_destroy_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_save_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_update_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://activeresource//lib/active_resource/base.rb#1724 def _run_validation_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _save_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _update_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _validate_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://activeresource//lib/active_resource/base.rb#1724 def _validation_callbacks; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators?; end # source://activeresource//lib/active_resource/base.rb#1184 @@ -813,10 +813,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#332 def include_format_in_path?; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json?; end # This is a list of known attributes for this resource. Either @@ -857,7 +857,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#323 def logger; end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://activeresource//lib/active_resource/base.rb#1727 def model_name(&block); end # Returns +true+ if this object hasn't yet been saved, otherwise, returns +false+. @@ -891,10 +891,10 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1265 + # source://activeresource//lib/active_resource/base.rb#1268 def new_record?; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter=(_arg0); end # Returns +true+ if this object has been saved, otherwise returns +false+. @@ -923,13 +923,13 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1565 def read_attribute_for_serialization(n); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections; end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections=(_arg0); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections?; end # A method to \reload the attributes of this object from the remote web service. @@ -948,6 +948,8 @@ class ActiveResource::Base def reload; end # For checking respond_to? without searching the attributes (which is faster). + # + # source://activeresource//lib/active_resource/base.rb#1537 def respond_to_without_attributes?(*_arg0); end # Saves (+POST+) or \updates (+PUT+) a resource. Delegates to +create+ if the object is \new, @@ -964,7 +966,7 @@ class ActiveResource::Base # my_company.size = 10 # my_company.save # sends PUT /companies/1 (update) # - # source://activeresource//lib/active_resource/validations.rb#111 + # source://activeresource//lib/active_resource/base.rb#1724 def save(options = T.unsafe(nil)); end # Saves the resource. @@ -984,7 +986,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1384 def save!; end - # source://activeresource//lib/active_resource/base.rb#1365 + # source://activeresource//lib/active_resource/base.rb#1724 def save_without_validation; end # If no schema has been defined for the class (see @@ -1029,7 +1031,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1532 def update_attributes(attributes); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://activeresource//lib/active_resource/base.rb#1724 def validation_context; end protected @@ -1117,26 +1119,26 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1697 def split_options(options = T.unsafe(nil)); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://activeresource//lib/active_resource/base.rb#1724 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://activeresource//lib/active_resource/base.rb#1724 def __callbacks?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _bearer_token; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _bearer_token=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _bearer_token_defined?; end # source://activeresource//lib/active_resource/base.rb#331 @@ -1148,25 +1150,25 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#331 def _collection_parser?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _connection; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _connection=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _connection_defined?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _create_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _create_callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _destroy_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _destroy_callbacks=(value); end # source://activeresource//lib/active_resource/base.rb#330 @@ -1178,94 +1180,94 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#330 def _format?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _headers; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _headers=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _headers_defined?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _password; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _password=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _password_defined?; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _proxy; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _proxy=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _proxy_defined?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _save_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _save_callbacks=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _site; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _site=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _site_defined?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _update_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _update_callbacks=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#15 + # source://activeresource//lib/active_resource/base.rb#340 def _user; end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#19 + # source://activeresource//lib/active_resource/base.rb#340 def _user=(value); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#23 + # source://activeresource//lib/active_resource/base.rb#340 def _user_defined?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _validate_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _validate_callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://activeresource//lib/active_resource/base.rb#1724 def _validation_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://activeresource//lib/active_resource/base.rb#1724 def _validation_callbacks=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://activeresource//lib/active_resource/base.rb#1724 def _validators?; end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_create(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_destroy(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_save(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 + # source://activeresource//lib/active_resource/base.rb#1724 def after_update(*args, **options, &block); end # This is an alias for find(:all). You can pass in all the same @@ -1274,16 +1276,16 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#1039 def all(*args); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_create(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_destroy(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_save(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 + # source://activeresource//lib/active_resource/base.rb#1724 def around_update(*args, **options, &block); end # source://activeresource//lib/active_resource/base.rb#562 @@ -1302,16 +1304,16 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#557 def bearer_token=(bearer_token); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_create(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_destroy(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_save(*args, **options, &block); end - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 + # source://activeresource//lib/active_resource/base.rb#1724 def before_update(*args, **options, &block); end # Builds a new, unsaved record using the default values from the remote server so @@ -1374,7 +1376,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#678 def connection(refresh = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#335 + # source://activeresource//lib/active_resource/base.rb#336 def connection_class; end # source://activeresource//lib/active_resource/base.rb#335 @@ -1437,7 +1439,7 @@ class ActiveResource::Base # # Let's assume a request to events/5/cancel.json # Event.delete(params[:id]) # sends DELETE /events/5 # - # source://activeresource//lib/active_resource/custom_methods.rb#76 + # source://activeresource//lib/active_resource/base.rb#1724 def delete(custom_method_name, options = T.unsafe(nil)); end # source://activeresource//lib/active_resource/base.rb#708 @@ -1612,13 +1614,13 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#775 def format_extension; end - # source://activeresource//lib/active_resource/custom_methods.rb#58 + # source://activeresource//lib/active_resource/base.rb#1724 def get(custom_method_name, options = T.unsafe(nil)); end # source://activeresource//lib/active_resource/base.rb#698 def headers; end - # source://activeresource//lib/active_resource/base.rb#332 + # source://activeresource//lib/active_resource/base.rb#333 def include_format_in_path; end # source://activeresource//lib/active_resource/base.rb#332 @@ -1627,13 +1629,13 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#332 def include_format_in_path?; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json=(value); end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://activeresource//lib/active_resource/base.rb#1726 def include_root_in_json?; end # Returns the list of known attributes for this resource, gathered @@ -1690,16 +1692,16 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#612 def open_timeout=(timeout); end - # source://activeresource//lib/active_resource/base.rb#1063 + # source://activeresource//lib/active_resource/base.rb#1724 def orig_delete(id, options = T.unsafe(nil)); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter=(value); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://activeresource//lib/active_resource/base.rb#1725 def param_delimiter?; end # Gets the \password for REST HTTP authentication. @@ -1712,10 +1714,10 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#541 def password=(password); end - # source://activeresource//lib/active_resource/custom_methods.rb#68 + # source://activeresource//lib/active_resource/base.rb#1724 def patch(custom_method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/custom_methods.rb#64 + # source://activeresource//lib/active_resource/base.rb#1724 def post(custom_method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end # Gets the \prefix for a resource's nested URL (e.g., prefix/collectionname/1.json) @@ -1756,7 +1758,7 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#509 def proxy=(proxy); end - # source://activeresource//lib/active_resource/custom_methods.rb#72 + # source://activeresource//lib/active_resource/base.rb#1724 def put(custom_method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end # Gets the number of seconds after which reads to the REST API should time out. @@ -1769,13 +1771,13 @@ class ActiveResource::Base # source://activeresource//lib/active_resource/base.rb#618 def read_timeout=(timeout); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections; end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections=(value); end - # source://activeresource//lib/active_resource/reflection.rb#16 + # source://activeresource//lib/active_resource/base.rb#1728 def reflections?; end # Creates a schema for this resource - setting the attributes that are @@ -1860,27 +1862,27 @@ class ActiveResource::Base # # @param value the value to set the attribute collection_name to. # - # source://activeresource//lib/active_resource/base.rb#712 + # source://activeresource//lib/active_resource/base.rb#773 def set_collection_name(_arg0); end # Sets the attribute element_name # # @param value the value to set the attribute element_name to. # - # source://activeresource//lib/active_resource/base.rb#706 + # source://activeresource//lib/active_resource/base.rb#772 def set_element_name(_arg0); end # Sets the \prefix for a resource's nested URL (e.g., prefix/collectionname/1.json). # Default value is site.path. # - # source://activeresource//lib/active_resource/base.rb#751 + # source://activeresource//lib/active_resource/base.rb#770 def set_prefix(value = T.unsafe(nil)); end # Sets the attribute primary_key # # @param value the value to set the attribute primary_key to. # - # source://activeresource//lib/active_resource/base.rb#718 + # source://activeresource//lib/active_resource/base.rb#889 def set_primary_key(_arg0); end # Gets the URI of the REST resources to map for this class. The site variable is required for @@ -2313,7 +2315,7 @@ class ActiveResource::Collection # source://activeresource//lib/active_resource/collection.rb#10 def map(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#67 + # source://activeresource//lib/active_resource/collection.rb#74 def map!; end # source://activeresource//lib/active_resource/collection.rb#10 @@ -3028,25 +3030,25 @@ class ActiveResource::HttpMock # source://activeresource//lib/active_resource/http_mock.rb#270 def initialize(site); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def delete(path, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def get(path, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def head(path, headers, options = T.unsafe(nil)); end # source://activeresource//lib/active_resource/http_mock.rb#274 def inspect_responses; end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def patch(path, body, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def post(path, body, headers, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#257 + # source://activeresource//lib/active_resource/http_mock.rb#256 def put(path, body, headers, options = T.unsafe(nil)); end class << self @@ -3202,22 +3204,22 @@ class ActiveResource::HttpMock::Responder # source://activeresource//lib/active_resource/http_mock.rb#56 def initialize(responses); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def delete(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def get(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def head(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def patch(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def post(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#65 + # source://activeresource//lib/active_resource/http_mock.rb#64 def put(path, request_headers = T.unsafe(nil), body = T.unsafe(nil), status = T.unsafe(nil), response_headers = T.unsafe(nil), options = T.unsafe(nil)); end private @@ -3607,37 +3609,37 @@ class ActiveResource::Schema # source://activeresource//lib/active_resource/schema.rb#11 def attrs=(_arg0); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def binary(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def boolean(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def date(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def datetime(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def decimal(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def float(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def integer(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def string(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def text(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def time(*args); end - # source://activeresource//lib/active_resource/schema.rb#51 + # source://activeresource//lib/active_resource/schema.rb#49 def timestamp(*args); end end diff --git a/sorbet/rbi/gems/activestorage@7.1.3.4.rbi b/sorbet/rbi/gems/activestorage@7.1.3.4.rbi index e689832c1..bf605ca0c 100644 --- a/sorbet/rbi/gems/activestorage@7.1.3.4.rbi +++ b/sorbet/rbi/gems/activestorage@7.1.3.4.rbi @@ -11,501 +11,7 @@ class ActiveRecord::Base include ::ActiveModel::AttributeAssignment include ::ActiveModel::Serialization - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _before_commit_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _commit_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _create_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _destroy_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _find_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _initialize_callbacks; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _rollback_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_before_commit_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_commit_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_create_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_destroy_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_find_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_initialize_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_rollback_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_save_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_touch_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_update_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_validate_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 - def _run_validation_callbacks(&block); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _save_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _touch_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _update_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _validate_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 - def _validation_callbacks; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators?; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12 - def aggregate_reflections; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12 - def aggregate_reflections?; end - - # source://activestorage//lib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activestorage//lib/active_storage/reflection.rb#53 - def attachment_reflections?; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13 - def automatic_scope_inversing; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13 - def automatic_scope_inversing?; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16 - def cache_timestamp_format; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16 - def cache_timestamp_format?; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24 - def cache_versioning; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24 - def cache_versioning?; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32 - def collection_cache_versioning; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32 - def collection_cache_versioning?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#178 - def column_for_attribute(name, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#97 - def default_connection_handler; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#97 - def default_connection_handler?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#99 - def default_role; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#99 - def default_role?; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#20 - def default_scope_override; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#19 - def default_scopes; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#101 - def default_shard; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#101 - def default_shard?; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#47 - def destroy_association_async_batch_size; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#37 - def destroy_association_async_job(&block); end - - # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes?; end - - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56 - def lock_optimistically; end - - # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56 - def lock_optimistically?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#22 - def logger; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#22 - def logger?; end - - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 - def model_name(&block); end - - # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15 - def nested_attributes_options; end - - # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15 - def nested_attributes_options?; end - - # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8 - def normalized_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8 - def normalized_attributes=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8 - def normalized_attributes?; end - - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 - def param_delimiter=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163 - def pluralize_table_names; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163 - def pluralize_table_names?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158 - def primary_key_prefix_type; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158 - def primary_key_prefix_type?; end - - # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47 - def record_timestamps; end - - # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47 - def record_timestamps=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47 - def record_timestamps?; end - - # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret; end - - # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes?; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43 - def store_full_class_name; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43 - def store_full_class_name?; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47 - def store_full_sti_class; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47 - def store_full_sti_class?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159 - def table_name_prefix; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159 - def table_name_prefix?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160 - def table_name_suffix; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160 - def table_name_suffix?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#178 - def type_for_attribute(attr_name, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 - def validation_context; end - - private - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 - def validation_context=(_arg0); end - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activerecord/7.1.3.4/lib/active_record/readonly_attributes.rb#11 - def _attr_readonly; end - - # source://activerecord/7.1.3.4/lib/active_record/readonly_attributes.rb#11 - def _attr_readonly=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/readonly_attributes.rb#11 - def _attr_readonly?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _before_commit_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _before_commit_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _commit_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _commit_callbacks=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/counter_cache.rb#9 - def _counter_cache_columns; end - - # source://activerecord/7.1.3.4/lib/active_record/counter_cache.rb#9 - def _counter_cache_columns=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/counter_cache.rb#9 - def _counter_cache_columns?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _create_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _create_callbacks=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#24 - def _destroy_association_async_job; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#24 - def _destroy_association_async_job=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#24 - def _destroy_association_async_job?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _destroy_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _destroy_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _find_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _find_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _initialize_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _initialize_callbacks=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections?; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _rollback_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _rollback_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _save_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _save_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _touch_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _touch_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _update_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _update_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _validate_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _validate_callbacks=(value); end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 - def _validation_callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 - def _validation_callbacks=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators?; end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_create(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_destroy(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_find(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_initialize(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_save(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_touch(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#144 - def after_update(*args, **options, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12 - def aggregate_reflections; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12 - def aggregate_reflections=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#12 - def aggregate_reflections?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#105 - def application_record_class?; end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_create(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_destroy(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_save(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#137 - def around_update(*args, **options, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#125 - def asynchronous_queries_session; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#129 - def asynchronous_queries_tracker; end - # source://activestorage//lib/active_storage/reflection.rb#53 def attachment_reflections; end @@ -514,491 +20,6 @@ class ActiveRecord::Base # source://activestorage//lib/active_storage/reflection.rb#53 def attachment_reflections?; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - - # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads?; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13 - def automatic_scope_inversing; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13 - def automatic_scope_inversing=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#13 - def automatic_scope_inversing?; end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_create(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_destroy(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_save(*args, **options, &block); end - - # source://activemodel/7.1.3.4/lib/active_model/callbacks.rb#130 - def before_update(*args, **options, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#89 - def belongs_to_required_by_default; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#89 - def belongs_to_required_by_default=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#89 - def belongs_to_required_by_default?; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16 - def cache_timestamp_format; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16 - def cache_timestamp_format=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#16 - def cache_timestamp_format?; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24 - def cache_versioning; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24 - def cache_versioning=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#24 - def cache_versioning?; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32 - def collection_cache_versioning; end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32 - def collection_cache_versioning=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/integration.rb#32 - def collection_cache_versioning?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#77 - def configurations; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#71 - def configurations=(config); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#189 - def connected_to_stack; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#203 - def connection_class; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#199 - def connection_class=(b); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#207 - def connection_class?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#211 - def connection_class_for_self; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#117 - def connection_handler; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#121 - def connection_handler=(handler); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#180 - def current_preventing_writes; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#143 - def current_role; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#161 - def current_shard; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#97 - def default_connection_handler; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#97 - def default_connection_handler=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#97 - def default_connection_handler?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#99 - def default_role; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#99 - def default_role=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#99 - def default_role?; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#20 - def default_scope_override; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#20 - def default_scope_override=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#19 - def default_scopes; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/default.rb#19 - def default_scopes=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#101 - def default_shard; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#101 - def default_shard=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#101 - def default_shard?; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#47 - def destroy_association_async_batch_size; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#47 - def destroy_association_async_batch_size=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#27 - def destroy_association_async_job; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#24 - def destroy_association_async_job=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#87 - def enumerate_columns_in_select_statements; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#87 - def enumerate_columns_in_select_statements=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#87 - def enumerate_columns_in_select_statements?; end - - # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#11 - def generated_token_verifier; end - - # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#11 - def generated_token_verifier=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#93 - def has_many_inversing; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#93 - def has_many_inversing=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#93 - def has_many_inversing?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#165 - def immutable_strings_by_default; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#165 - def immutable_strings_by_default=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#165 - def immutable_strings_by_default?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#164 - def implicit_order_column; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#164 - def implicit_order_column=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#164 - def implicit_order_column?; end - - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#167 - def inheritance_column; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#321 - def inheritance_column=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#167 - def inheritance_column?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#162 - def internal_metadata_table_name; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#162 - def internal_metadata_table_name=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#162 - def internal_metadata_table_name?; end - - # source://activerecord/7.1.3.4/lib/active_record/store.rb#101 - def local_stored_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/store.rb#101 - def local_stored_attributes=(_arg0); end - - # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56 - def lock_optimistically; end - - # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56 - def lock_optimistically=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/locking/optimistic.rb#56 - def lock_optimistically?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#22 - def logger; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#22 - def logger=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#22 - def logger?; end - - # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15 - def nested_attributes_options; end - - # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15 - def nested_attributes_options=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/nested_attributes.rb#15 - def nested_attributes_options?; end - - # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8 - def normalized_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8 - def normalized_attributes=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/normalization.rb#8 - def normalized_attributes?; end - - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 - def param_delimiter; end - - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 - def param_delimiter=(value); end - - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 - def param_delimiter?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/dirty.rb#49 - def partial_updates?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163 - def pluralize_table_names; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163 - def pluralize_table_names=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#163 - def pluralize_table_names?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158 - def primary_key_prefix_type; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158 - def primary_key_prefix_type=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#158 - def primary_key_prefix_type?; end - - # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47 - def record_timestamps; end - - # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47 - def record_timestamps=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/timestamp.rb#47 - def record_timestamps?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#95 - def run_commit_callbacks_on_first_saved_instances_in_transaction; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#95 - def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#95 - def run_commit_callbacks_on_first_saved_instances_in_transaction?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#161 - def schema_migrations_table_name; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#161 - def schema_migrations_table_name=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#161 - def schema_migrations_table_name?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#103 - def shard_selector; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#103 - def shard_selector=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#103 - def shard_selector?; end - - # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret; end - - # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/signed_id.rb#13 - def signed_id_verifier_secret?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes?; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43 - def store_full_class_name; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43 - def store_full_class_name=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#43 - def store_full_class_name?; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47 - def store_full_sti_class; end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47 - def store_full_sti_class=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/inheritance.rb#47 - def store_full_sti_class?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#91 - def strict_loading_by_default; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#91 - def strict_loading_by_default=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#91 - def strict_loading_by_default?; end - - # source://activerecord/7.1.3.4/lib/active_record/core.rb#226 - def strict_loading_violation!(owner:, reflection:); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159 - def table_name_prefix; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159 - def table_name_prefix=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#159 - def table_name_prefix?; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160 - def table_name_suffix; end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160 - def table_name_suffix=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#160 - def table_name_suffix?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes?; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types; end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types?; end - - # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#10 - def token_definitions; end - - # source://activerecord/7.1.3.4/lib/active_record/token_for.rb#10 - def token_definitions=(value); end - - private - - # source://activerecord/7.1.3.4/lib/active_record/model_schema.rb#167 - def _inheritance_column=(value); end end end @@ -1198,13 +219,13 @@ module ActiveStorage # source://activestorage//lib/active_storage.rb#52 def queues=(val); end - # source://railties/7.1.3.4/lib/rails/engine.rb#412 + # source://activestorage//lib/active_storage/engine.rb#26 def railtie_helpers_paths; end - # source://railties/7.1.3.4/lib/rails/engine.rb#395 + # source://activestorage//lib/active_storage/engine.rb#26 def railtie_namespace; end - # source://railties/7.1.3.4/lib/rails/engine.rb#416 + # source://activestorage//lib/active_storage/engine.rb#26 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end # source://activestorage//lib/active_storage.rb#367 @@ -1243,9 +264,6 @@ module ActiveStorage # source://activestorage//lib/active_storage.rb#65 def supported_image_processing_methods=(val); end - # source://railties/7.1.3.4/lib/rails/engine.rb#401 - def table_name_prefix; end - # source://activestorage//lib/active_storage.rb#363 def track_variants; end @@ -1264,7 +282,7 @@ module ActiveStorage # source://activestorage//lib/active_storage.rb#357 def urls_expire_in=(val); end - # source://railties/7.1.3.4/lib/rails/engine.rb#408 + # source://activestorage//lib/active_storage/engine.rb#26 def use_relative_model_naming?; end # source://activestorage//lib/active_storage.rb#59 @@ -1308,10 +326,7 @@ class ActiveStorage::AnalyzeJob < ::ActiveStorage::BaseJob def perform(blob); end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -1841,7 +856,7 @@ class ActiveStorage::Attached::Many < ::ActiveStorage::Attached # source://activestorage//lib/active_storage/attached/many.rb#25 def detach(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331 + # source://activestorage//lib/active_storage/attached/many.rb#27 def method_missing(method, *args, **_arg2, &block); end # source://activestorage//lib/active_storage/attached/many.rb#13 @@ -1858,7 +873,7 @@ class ActiveStorage::Attached::Many < ::ActiveStorage::Attached # source://activestorage//lib/active_storage/attached/many.rb#71 def purge_many; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323 + # source://activestorage//lib/active_storage/attached/many.rb#27 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -1883,7 +898,7 @@ module ActiveStorage::Attached::Model def initialize_dup(*_arg0); end end -# source://activestorage//lib/active_storage/attached/model.rb#0 +# source://activestorage//lib/active_storage/attached/model.rb#54 module ActiveStorage::Attached::Model::ClassMethods # source://activestorage//lib/active_storage/attached/model.rb#182 def has_many_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end @@ -1917,7 +932,7 @@ class ActiveStorage::Attached::One < ::ActiveStorage::Attached # source://activestorage//lib/active_storage/attached/one.rb#25 def detach(*_arg0, **_arg1, &_arg2); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331 + # source://activestorage//lib/active_storage/attached/one.rb#27 def method_missing(method, *args, **_arg2, &block); end # source://activestorage//lib/active_storage/attached/one.rb#13 @@ -1934,7 +949,7 @@ class ActiveStorage::Attached::One < ::ActiveStorage::Attached # source://activestorage//lib/active_storage/attached/one.rb#78 def purge_one; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323 + # source://activestorage//lib/active_storage/attached/one.rb#27 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -1942,24 +957,15 @@ class ActiveStorage::Attachment < ::ActiveStorage::Record include ::ActiveStorage::Attachment::GeneratedAttributeMethods include ::ActiveStorage::Attachment::GeneratedAssociationMethods - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_blob(*args); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_record(*args); end - - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#331 def method_missing(method, *args, **_arg2, &block); end - def preview(transformations); end def purge; end def purge_later; end def representation(transformations); end def signed_id(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def validate_associated_records_for_blob(*args); end - def variant(transformations); end private @@ -1969,75 +975,26 @@ class ActiveStorage::Attachment < ::ActiveStorage::Record def mirror_blob_later; end def named_variants; end def purge_dependent_blob_later; end - - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/delegation.rb#323 def respond_to_missing?(name, include_private = T.unsafe(nil)); end - def transform_variants_later; end def transformations_by_name(transformations); end - - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def with_all_variant_records(*args, **_arg1); end - end end module ActiveStorage::Attachment::GeneratedAssociationMethods - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def blob=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145 def blob_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149 def blob_previously_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32 def build_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36 def create_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40 def create_blob!(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def record; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def record=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145 def record_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149 def record_previously_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_record; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_record; end end @@ -2048,17 +1005,11 @@ class ActiveStorage::BaseController < ::ActionController::Base private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal/etag_with_template_digest.rb#29 def etag_with_template_digest; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2077,14 +1028,10 @@ class ActiveStorage::Blobs::ProxyController < ::ActiveStorage::BaseController private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2096,24 +1043,17 @@ class ActiveStorage::Blobs::RedirectController < ::ActiveStorage::BaseController private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end class ActiveStorage::Current < ::ActiveSupport::CurrentAttributes class << self - # source://activesupport/7.1.3.4/lib/active_support/current_attributes.rb#127 def url_options; end - - # source://activesupport/7.1.3.4/lib/active_support/current_attributes.rb#127 def url_options=(value); end end end @@ -2123,14 +1063,11 @@ class ActiveStorage::DirectUploadsController < ::ActiveStorage::BaseController private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def blob_args; end def direct_upload_json(blob); end class << self - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2147,19 +1084,14 @@ class ActiveStorage::DiskController < ::ActiveStorage::BaseController private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def acceptable_content?(token); end def decode_verified_key; end def decode_verified_token; end def named_disk_service(name); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2192,12 +1124,7 @@ class ActiveStorage::Downloader end # source://activestorage//lib/active_storage/engine.rb#25 -class ActiveStorage::Engine < ::Rails::Engine - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +class ActiveStorage::Engine < ::Rails::Engine; end # Generic base class for all Active Storage exceptions. # @@ -2280,10 +1207,10 @@ class ActiveStorage::FixtureSet include ::ActiveRecord::SecureToken extend ::ActiveRecord::SecureToken::ClassMethods - # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path; end - # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path?; end # source://activestorage//lib/active_storage/fixture_set.rb#70 @@ -2311,13 +1238,10 @@ class ActiveStorage::FixtureSet # source://activestorage//lib/active_storage/fixture_set.rb#66 def blob(filename:, **attributes); end - # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20 - def file_fixture_path; end - - # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path=(value); end - # source://activesupport/7.1.3.4/lib/active_support/testing/file_fixtures.rb#20 + # source://activestorage//lib/active_storage/fixture_set.rb#45 def file_fixture_path?; end end end @@ -2381,7 +1305,7 @@ class ActiveStorage::LogSubscriber < ::ActiveSupport::LogSubscriber def log_prefix_for_service(event); end class << self - # source://activesupport/7.1.3.4/lib/active_support/log_subscriber.rb#87 + # source://activestorage//lib/active_storage/log_subscriber.rb#51 def log_levels; end end end @@ -2390,10 +1314,7 @@ class ActiveStorage::MirrorJob < ::ActiveStorage::BaseJob def perform(key, checksum:); end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -2562,10 +1483,7 @@ class ActiveStorage::PurgeJob < ::ActiveStorage::BaseJob def perform(blob); end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -2573,14 +1491,6 @@ end class ActiveStorage::Record < ::ActiveRecord::Base include ::ActiveStorage::Record::GeneratedAttributeMethods include ::ActiveStorage::Record::GeneratedAssociationMethods - - class << self - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - end end module ActiveStorage::Record::GeneratedAssociationMethods; end @@ -2671,17 +1581,12 @@ class ActiveStorage::Representations::BaseController < ::ActiveStorage::BaseCont private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end - def blob_scope; end def set_representation; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2696,14 +1601,10 @@ class ActiveStorage::Representations::ProxyController < ::ActiveStorage::Represe private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 def __callbacks; end - - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2713,11 +1614,9 @@ class ActiveStorage::Representations::RedirectController < ::ActiveStorage::Repr private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 def _layout(lookup_context, formats); end class << self - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 def middleware_stack; end end end @@ -2987,10 +1886,7 @@ class ActiveStorage::TransformJob < ::ActiveStorage::BaseJob def perform(blob, transformations); end class << self - # source://activejob/7.1.3.4/lib/active_job/queue_name.rb#55 def queue_name; end - - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 def rescue_handlers; end end end @@ -3073,110 +1969,41 @@ class ActiveStorage::VariantRecord < ::ActiveStorage::Record include ::ActiveStorage::VariantRecord::GeneratedAttributeMethods include ::ActiveStorage::VariantRecord::GeneratedAssociationMethods - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_blob(*args); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_image_attachment(*args); end - - # source://activerecord/7.1.3.4/lib/active_record/autosave_association.rb#160 def autosave_associated_records_for_image_blob(*args); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.1.3.4/lib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 - def _validators; end - # source://activestorage//lib/active_storage/reflection.rb#53 def attachment_reflections; end - - # source://activerecord/7.1.3.4/lib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.1.3.4/lib/active_record/scoping/named.rb#174 - def with_attached_image(*args, **_arg1); end end end module ActiveStorage::VariantRecord::GeneratedAssociationMethods - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def blob=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#145 def blob_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/belongs_to.rb#149 def blob_previously_changed?; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32 def build_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32 def build_image_attachment(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#32 def build_image_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36 def create_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40 def create_blob!(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36 def create_image_attachment(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40 def create_image_attachment!(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#36 def create_image_blob(*args, &block); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#40 def create_image_blob!(*args, &block); end - - # source://activestorage//lib/active_storage/attached/model.rb#99 def image; end - - # source://activestorage//lib/active_storage/attached/model.rb#104 def image=(attachable); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def image_attachment; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def image_attachment=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#103 def image_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/association.rb#111 def image_blob=(value); end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_image_attachment; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#19 def reload_image_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_blob; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_image_attachment; end - - # source://activerecord/7.1.3.4/lib/active_record/associations/builder/singular_association.rb#23 def reset_image_blob; end end diff --git a/sorbet/rbi/gems/activesupport@7.1.3.4.rbi b/sorbet/rbi/gems/activesupport@7.1.3.4.rbi index a55fd64ca..26a3b7577 100644 --- a/sorbet/rbi/gems/activesupport@7.1.3.4.rbi +++ b/sorbet/rbi/gems/activesupport@7.1.3.4.rbi @@ -330,7 +330,7 @@ class ActiveSupport::BacktraceCleaner # Returns the backtrace after all filters and silencers have been run # against it. Filters run first, then silencers. # - # source://activesupport//lib/active_support/backtrace_cleaner.rb#43 + # source://activesupport//lib/active_support/backtrace_cleaner.rb#55 def filter(backtrace, kind = T.unsafe(nil)); end # Removes all filters, but leaves in the silencers. Useful if you suddenly @@ -599,7 +599,7 @@ class ActiveSupport::BroadcastLogger # source://activesupport//lib/active_support/broadcast_logger.rb#156 def local_level=(level); end - # source://activesupport//lib/active_support/broadcast_logger.rb#116 + # source://activesupport//lib/active_support/broadcast_logger.rb#119 def log(*args, &block); end # Returns the value of attribute progname. @@ -614,13 +614,13 @@ class ActiveSupport::BroadcastLogger # source://activesupport//lib/active_support/broadcast_logger.rb#80 def progname=(_arg0); end - # source://activesupport//lib/active_support/broadcast_logger.rb#151 + # source://activesupport//lib/active_support/broadcast_logger.rb#154 def sev_threshold=(level); end - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer; end - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer=(val); end # Remove a logger from the broadcast. When a logger is removed, messages sent to @@ -670,10 +670,10 @@ class ActiveSupport::BroadcastLogger def respond_to_missing?(method, include_all); end class << self - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer; end - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/broadcast_logger.rb#75 def silencer=(val); end end end @@ -1252,19 +1252,19 @@ ActiveSupport::Cache::MemoryStore::PER_ENTRY_OVERHEAD = T.let(T.unsafe(nil), Int class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store include ::ActiveSupport::Cache::Strategy::LocalCache - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#85 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#276 def cleanup(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#79 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#284 def clear(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#108 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#262 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#91 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#198 def delete_matched(matcher, options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#97 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#236 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # source://activesupport//lib/active_support/cache/null_store.rb#37 @@ -1272,19 +1272,19 @@ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store private - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#162 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#379 def delete_entry(key, **_arg1); end # source://activesupport//lib/active_support/cache/null_store.rb#42 def read_entry(key, **s); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#120 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#318 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end # source://activesupport//lib/active_support/cache/null_store.rb#49 def write_entry(key, entry, **_arg2); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#153 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#355 def write_serialized_entry(key, payload, **_arg2); end class << self @@ -1372,7 +1372,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # Removes expired entries. Handled natively by Redis least-recently-/ # least-frequently-used expiry, so manual cleanup is not supported. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#85 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#276 def cleanup(options = T.unsafe(nil)); end # Clear the entire cache on all Redis servers. Safe to use on @@ -1380,7 +1380,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#79 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#284 def clear(options = T.unsafe(nil)); end # Decrement a cached integer value using the Redis decrby atomic operator. @@ -1400,7 +1400,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#108 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#262 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # Cache Store API implementation. @@ -1419,7 +1419,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#91 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#198 def delete_matched(matcher, options = T.unsafe(nil)); end # Increment a cached integer value using the Redis incrby atomic operator. @@ -1440,7 +1440,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#97 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#236 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # source://activesupport//lib/active_support/cache/redis_cache_store.rb#164 @@ -1476,7 +1476,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # Delete an entry from the cache. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#162 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#379 def delete_entry(key, **_arg1); end # Deletes multiple entries in the cache. Returns the number of entries deleted. @@ -1504,10 +1504,10 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # source://activesupport//lib/active_support/cache/redis_cache_store.rb#314 def read_entry(key, **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#134 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#324 def read_multi_entries(names, **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#120 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#318 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end # source://activesupport//lib/active_support/cache/redis_cache_store.rb#438 @@ -1536,7 +1536,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # source://activesupport//lib/active_support/cache/redis_cache_store.rb#393 def write_multi_entries(entries, **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#153 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#355 def write_serialized_entry(key, payload, **_arg2); end class << self @@ -1609,7 +1609,7 @@ module ActiveSupport::Cache::SerializerWithFallback::Marshal61WithFallback extend ::ActiveSupport::Cache::SerializerWithFallback extend ::ActiveSupport::Cache::SerializerWithFallback::Marshal61WithFallback - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#39 + # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#80 def _load(payload); end # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#72 @@ -2130,7 +2130,7 @@ class ActiveSupport::Cache::Store # Returns the value of attribute silence. # - # source://activesupport//lib/active_support/cache.rb#198 + # source://activesupport//lib/active_support/cache.rb#199 def silence?; end # Writes the value to the cache with the key. The value must be supported @@ -2336,19 +2336,19 @@ module ActiveSupport::Cache::Strategy; end # # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#13 module ActiveSupport::Cache::Strategy::LocalCache - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#85 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#276 def cleanup(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#79 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#284 def clear(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#108 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#262 def decrement(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#91 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#198 def delete_matched(matcher, options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#97 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#236 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end # Middleware class can be inserted as a Rack handler to be local cache for the @@ -2367,7 +2367,7 @@ module ActiveSupport::Cache::Strategy::LocalCache # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#185 def bypass_local_cache(&block); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#162 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#379 def delete_entry(key, **_arg1); end # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#181 @@ -2376,10 +2376,10 @@ module ActiveSupport::Cache::Strategy::LocalCache # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#177 def local_cache_key; end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#134 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#324 def read_multi_entries(names, **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#120 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#318 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#189 @@ -2388,7 +2388,7 @@ module ActiveSupport::Cache::Strategy::LocalCache # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#167 def write_cache_value(name, value, **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#153 + # source://activesupport//lib/active_support/cache/redis_cache_store.rb#355 def write_serialized_entry(key, payload, **_arg2); end end @@ -3226,41 +3226,62 @@ class ActiveSupport::Callbacks::Filters::Environment < ::Struct # Returns the value of attribute halted # # @return [Object] the current value of halted + # + # source://activesupport//lib/active_support/callbacks.rb#163 def halted; end # Sets the attribute halted # # @param value [Object] the value to set the attribute halted to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def halted=(_); end # Returns the value of attribute target # # @return [Object] the current value of target + # + # source://activesupport//lib/active_support/callbacks.rb#163 def target; end # Sets the attribute target # # @param value [Object] the value to set the attribute target to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def target=(_); end # Returns the value of attribute value # # @return [Object] the current value of value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def value; end # Sets the attribute value # # @param value [Object] the value to set the attribute value to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/callbacks.rb#163 def value=(_); end class << self + # source://activesupport//lib/active_support/callbacks.rb#163 def [](*_arg0); end + + # source://activesupport//lib/active_support/callbacks.rb#163 def inspect; end + + # source://activesupport//lib/active_support/callbacks.rb#163 def keyword_init?; end + + # source://activesupport//lib/active_support/callbacks.rb#163 def members; end + + # source://activesupport//lib/active_support/callbacks.rb#163 def new(*_arg0); end end end @@ -3528,7 +3549,7 @@ end module ActiveSupport::Concurrency::LoadInterlockAwareMonitorMixin # Enters an exclusive section, but allows dependency loading while blocked # - # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#13 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#54 def mon_enter; end # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#18 @@ -3653,7 +3674,7 @@ class ActiveSupport::Concurrency::ThreadLoadInterlockAwareMonitor # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#39 def initialize; end - # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#13 + # source://activesupport//lib/active_support/concurrency/load_interlock_aware_monitor.rb#54 def mon_enter; end private @@ -3841,7 +3862,7 @@ module ActiveSupport::CoreExt::ERBUtil # puts html_escape('is a > 0 & a < 10?') # # => is a > 0 & a < 10? # - # source://activesupport//lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#28 def h(s); end # A utility method for escaping HTML tag characters. @@ -3856,7 +3877,7 @@ module ActiveSupport::CoreExt::ERBUtil # HTML escapes strings but doesn't wrap them with an ActiveSupport::SafeBuffer. # This method is not for public consumption! Seriously! # - # source://activesupport//lib/active_support/core_ext/erb/util.rb#10 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#18 def unwrapped_html_escape(s); end end @@ -3866,13 +3887,13 @@ module ActiveSupport::CoreExt::ERBUtilPrivate private - # source://activesupport//lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#33 def h(s); end - # source://activesupport//lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#33 def html_escape(s); end - # source://activesupport//lib/active_support/core_ext/erb/util.rb#10 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#33 def unwrapped_html_escape(s); end end @@ -3971,16 +3992,16 @@ class ActiveSupport::CurrentAttributes # source://activesupport//lib/active_support/current_attributes.rb#197 def initialize; end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks?; end - # source://activesupport//lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _reset_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _run_reset_callbacks(&block); end # Returns the value of attribute attributes. @@ -4023,24 +4044,24 @@ class ActiveSupport::CurrentAttributes def compute_attributes(keys); end class << self - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks=(value); end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/current_attributes.rb#92 def __callbacks?; end - # source://activesupport//lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _reset_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/current_attributes.rb#93 def _reset_callbacks=(value); end # Calls this callback after #reset is called on the instance. Used for resetting external collaborators, like Time.zone. # - # source://activesupport//lib/active_support/current_attributes.rb#151 + # source://activesupport//lib/active_support/current_attributes.rb#154 def after_reset(*methods, &block); end # Declares one or more attributes that will be given both class and instance accessor methods. @@ -4336,67 +4357,67 @@ class ActiveSupport::Deprecation def deprecation_horizon=(_arg0); end class << self - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def allow(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def begin_silence(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def behavior(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def behavior=(arg); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def debug(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def debug=(arg); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#59 def deprecate_methods(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#62 def deprecation_horizon(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#62 def deprecation_horizon=(arg); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#58 + # source://activesupport//lib/active_support/deprecation.rb#57 def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def disallowed_behavior(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#56 def disallowed_behavior=(arg); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#58 def disallowed_warnings(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#58 def disallowed_warnings=(arg); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def end_silence(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def gem_name(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def gem_name=(arg); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def silence(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def silenced(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#34 + # source://activesupport//lib/active_support/deprecation.rb#57 def silenced=(arg); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#53 + # source://activesupport//lib/active_support/deprecation.rb#57 def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end end end @@ -4855,10 +4876,10 @@ ActiveSupport::Deprecation::InstanceDelegator::ClassMethods::MUTEX = T.let(T.uns # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#52 module ActiveSupport::Deprecation::InstanceDelegator::OverrideDelegators - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#58 + # source://activesupport//lib/active_support/deprecation.rb#57 def deprecation_warning(deprecated_method_name, message = T.unsafe(nil), caller_backtrace = T.unsafe(nil)); end - # source://activesupport//lib/active_support/deprecation/instance_delegator.rb#53 + # source://activesupport//lib/active_support/deprecation.rb#57 def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end end @@ -5161,7 +5182,7 @@ class ActiveSupport::Duration # Calculates a new Time or Date that is as far in the future # as this Duration represents. # - # source://activesupport//lib/active_support/duration.rb#431 + # source://activesupport//lib/active_support/duration.rb#435 def after(time = T.unsafe(nil)); end # Calculates a new Time or Date that is as far in the past @@ -5176,7 +5197,7 @@ class ActiveSupport::Duration # Calculates a new Time or Date that is as far in the past # as this Duration represents. # - # source://activesupport//lib/active_support/duration.rb#439 + # source://activesupport//lib/active_support/duration.rb#443 def before(time = T.unsafe(nil)); end # source://activesupport//lib/active_support/duration.rb#240 @@ -5196,7 +5217,7 @@ class ActiveSupport::Duration # Calculates a new Time or Date that is as far in the future # as this Duration represents. # - # source://activesupport//lib/active_support/duration.rb#431 + # source://activesupport//lib/active_support/duration.rb#434 def from_now(time = T.unsafe(nil)); end # source://activesupport//lib/active_support/duration.rb#425 @@ -5251,7 +5272,7 @@ class ActiveSupport::Duration # Time[https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html] should be used for precision # date and time arithmetic. # - # source://activesupport//lib/active_support/duration.rb#372 + # source://activesupport//lib/active_support/duration.rb#375 def in_seconds; end # Returns the amount of weeks a duration covers as a float @@ -5292,7 +5313,7 @@ class ActiveSupport::Duration # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#325 + # source://activesupport//lib/active_support/duration.rb#328 def kind_of?(klass); end # Returns a copy of the parts hash that defines the duration @@ -5341,7 +5362,7 @@ class ActiveSupport::Duration # Calculates a new Time or Date that is as far in the past # as this Duration represents. # - # source://activesupport//lib/active_support/duration.rb#439 + # source://activesupport//lib/active_support/duration.rb#442 def until(time = T.unsafe(nil)); end # Returns the value of attribute value. @@ -5726,7 +5747,7 @@ class ActiveSupport::EncryptedConfiguration < ::ActiveSupport::EncryptedFile # source://activesupport//lib/active_support/encrypted_configuration.rb#79 def inspect; end - # source://activesupport//lib/active_support/core_ext/module/delegation.rb#331 + # source://activesupport//lib/active_support/encrypted_configuration.rb#46 def method_missing(method, *args, **_arg2, &block); end # Reads the file and returns the decrypted content. See EncryptedFile#read. @@ -5748,7 +5769,7 @@ class ActiveSupport::EncryptedConfiguration < ::ActiveSupport::EncryptedFile # source://activesupport//lib/active_support/encrypted_configuration.rb#94 def options; end - # source://activesupport//lib/active_support/core_ext/module/delegation.rb#323 + # source://activesupport//lib/active_support/encrypted_configuration.rb#46 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -5915,7 +5936,7 @@ class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer # source://activesupport//lib/active_support/environment_inquirer.rb#15 def initialize(env); end - # source://activesupport//lib/active_support/environment_inquirer.rb#29 + # source://activesupport//lib/active_support/environment_inquirer.rb#28 def development?; end # Returns true if we're in the development or test environment. @@ -5925,10 +5946,10 @@ class ActiveSupport::EnvironmentInquirer < ::ActiveSupport::StringInquirer # source://activesupport//lib/active_support/environment_inquirer.rb#36 def local?; end - # source://activesupport//lib/active_support/environment_inquirer.rb#29 + # source://activesupport//lib/active_support/environment_inquirer.rb#28 def production?; end - # source://activesupport//lib/active_support/environment_inquirer.rb#29 + # source://activesupport//lib/active_support/environment_inquirer.rb#28 def test?; end end @@ -6145,22 +6166,22 @@ class ActiveSupport::ExecutionWrapper extend ::ActiveSupport::Callbacks::ClassMethods extend ::ActiveSupport::DescendantsTracker - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks?; end - # source://activesupport//lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _complete_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _run_complete_callbacks(&block); end - # source://activesupport//lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_run_callbacks(&block); end # source://activesupport//lib/active_support/execution_wrapper.rb#142 @@ -6186,25 +6207,25 @@ class ActiveSupport::ExecutionWrapper def hook_state; end class << self - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/reloader.rb#29 def __callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks=(value); end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/execution_wrapper.rb#9 def __callbacks?; end - # source://activesupport//lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _complete_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/execution_wrapper.rb#16 def _complete_callbacks=(value); end - # source://activesupport//lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/execution_wrapper.rb#15 def _run_callbacks=(value); end # @return [Boolean] @@ -6258,7 +6279,7 @@ end # source://activesupport//lib/active_support/execution_wrapper.rb#33 class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct - # source://activesupport//lib/active_support/execution_wrapper.rb#34 + # source://activesupport//lib/active_support/execution_wrapper.rb#40 def after(target); end # source://activesupport//lib/active_support/execution_wrapper.rb#34 @@ -6267,19 +6288,32 @@ class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct # Returns the value of attribute hook # # @return [Object] the current value of hook + # + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def hook; end # Sets the attribute hook # # @param value [Object] the value to set the attribute hook to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def hook=(_); end class << self + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def [](*_arg0); end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def inspect; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def keyword_init?; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def members; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#33 def new(*_arg0); end end end @@ -6295,19 +6329,32 @@ class ActiveSupport::ExecutionWrapper::RunHook < ::Struct # Returns the value of attribute hook # # @return [Object] the current value of hook + # + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def hook; end # Sets the attribute hook # # @param value [Object] the value to set the attribute hook to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def hook=(_); end class << self + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def [](*_arg0); end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def inspect; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def keyword_init?; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def members; end + + # source://activesupport//lib/active_support/execution_wrapper.rb#26 def new(*_arg0); end end end @@ -6442,7 +6489,7 @@ module ActiveSupport::ForkTracker::CoreExtPrivate private - # source://activesupport//lib/active_support/fork_tracker.rb#16 + # source://activesupport//lib/active_support/fork_tracker.rb#33 def fork(*_arg0, **_arg1, &_arg2); end end @@ -6687,7 +6734,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#151 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#156 def has_key?(key); end # Checks the hash for a key matching the argument passed in: @@ -6699,7 +6746,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#151 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#155 def include?(key); end # Checks the hash for a key matching the argument passed in: @@ -6723,7 +6770,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#151 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#157 def member?(key); end # This method has the same semantics of +update+, except it does not @@ -6762,7 +6809,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash_2['key'] = 12 # hash_1.update(hash_2) { |key, old, new| old + new } # => {"key"=>22} # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#132 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#143 def merge!(*other_hashes, &block); end # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#66 @@ -6813,7 +6860,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # This value can be later fetched using either +:key+ or 'key'. # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#98 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#102 def store(key, value); end # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#318 @@ -6830,7 +6877,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#380 def to_hash; end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#322 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#323 def to_options; end # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#325 @@ -6894,12 +6941,12 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash['a'] = nil # hash.reverse_merge(a: 0, b: 1) # => {"a"=>nil, "b"=>1} # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#283 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#286 def with_defaults(other_hash); end # Same semantics as +reverse_merge+ but modifies the receiver in-place. # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#289 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#292 def with_defaults!(other_hash); end # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#62 @@ -6910,7 +6957,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash.except(:a, "b") # => {c: 10}.with_indifferent_access # hash # => { a: "x", b: "y", c: 10 }.with_indifferent_access # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#311 + # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#314 def without(*keys); end private @@ -7686,7 +7733,7 @@ module ActiveSupport::JSON # source://activesupport//lib/active_support/json/decoding.rb#22 def decode(json); end - # source://activesupport//lib/active_support/json/encoding.rb#22 + # source://activesupport//lib/active_support/json/encoding.rb#25 def dump(value, options = T.unsafe(nil)); end # source://activesupport//lib/active_support/json/encoding.rb#22 @@ -7698,7 +7745,7 @@ module ActiveSupport::JSON # ActiveSupport::JSON.decode("{\"team\":\"rails\",\"players\":\"36\"}") # => {"team" => "rails", "players" => "36"} # - # source://activesupport//lib/active_support/json/decoding.rb#22 + # source://activesupport//lib/active_support/json/decoding.rb#31 def load(json); end # Returns the class of the error that will be raised when there is an @@ -8070,9 +8117,6 @@ class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber # source://activesupport//lib/active_support/log_subscriber.rb#115 def flush_all!; end - # source://activesupport//lib/active_support/log_subscriber.rb#87 - def log_levels; end - # source://activesupport//lib/active_support/log_subscriber.rb#87 def log_levels=(value); end @@ -8157,10 +8201,10 @@ class ActiveSupport::Logger < ::Logger # source://activesupport//lib/active_support/logger.rb#29 def initialize(*args, **kwargs); end - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer; end - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer=(val); end class << self @@ -8175,10 +8219,10 @@ class ActiveSupport::Logger < ::Logger # source://activesupport//lib/active_support/logger.rb#16 def logger_outputs_to?(logger, *sources); end - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer; end - # source://activesupport//lib/active_support/logger_silence.rb#12 + # source://activesupport//lib/active_support/logger.rb#9 def silencer=(val); end end end @@ -8208,16 +8252,16 @@ end module ActiveSupport::LoggerThreadSafeLevel extend ::ActiveSupport::Concern - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def debug?; end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def error?; end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def fatal?; end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def info?; end # source://activesupport//lib/active_support/logger_thread_safe_level.rb#38 @@ -8234,10 +8278,10 @@ module ActiveSupport::LoggerThreadSafeLevel # source://activesupport//lib/active_support/logger_thread_safe_level.rb#43 def log_at(level); end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def unknown?; end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#12 + # source://activesupport//lib/active_support/logger_thread_safe_level.rb#11 def warn?; end private @@ -8395,7 +8439,7 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec # # @return [MessageEncryptor] a new instance of MessageEncryptor # - # source://activesupport//lib/active_support/messages/rotator.rb#6 + # source://activesupport//lib/active_support/message_encryptor.rb#183 def initialize(*args, on_rotation: T.unsafe(nil), **options); end # source://activesupport//lib/active_support/message_encryptor.rb#256 @@ -8455,7 +8499,7 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec # source://activesupport//lib/active_support/message_encryptor.rb#264 def inspect; end - # source://activesupport//lib/active_support/messages/rotator.rb#23 + # source://activesupport//lib/active_support/message_encryptor.rb#260 def read_message(message, on_rotation: T.unsafe(nil), **options); end private @@ -8467,7 +8511,7 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec # Returns the value of attribute aead_mode. # - # source://activesupport//lib/active_support/message_encryptor.rb#371 + # source://activesupport//lib/active_support/message_encryptor.rb#372 def aead_mode?; end # source://activesupport//lib/active_support/message_encryptor.rb#295 @@ -8694,7 +8738,7 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # @raise [ArgumentError] # @return [MessageVerifier] a new instance of MessageVerifier # - # source://activesupport//lib/active_support/messages/rotator.rb#6 + # source://activesupport//lib/active_support/message_encryptor.rb#183 def initialize(*args, on_rotation: T.unsafe(nil), **options); end # source://activesupport//lib/active_support/message_verifier.rb#296 @@ -8741,7 +8785,7 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # source://activesupport//lib/active_support/message_verifier.rb#304 def inspect; end - # source://activesupport//lib/active_support/messages/rotator.rb#23 + # source://activesupport//lib/active_support/message_encryptor.rb#260 def read_message(message, on_rotation: T.unsafe(nil), **options); end # Checks if a signed message could have been generated by signing an object @@ -9073,13 +9117,13 @@ end # source://activesupport//lib/active_support/messages/rotator.rb#5 module ActiveSupport::Messages::Rotator - # source://activesupport//lib/active_support/messages/rotator.rb#6 + # source://activesupport//lib/active_support/message_encryptor.rb#183 def initialize(*args, on_rotation: T.unsafe(nil), **options); end # source://activesupport//lib/active_support/messages/rotator.rb#18 def fall_back_to(fallback); end - # source://activesupport//lib/active_support/messages/rotator.rb#23 + # source://activesupport//lib/active_support/message_encryptor.rb#260 def read_message(message, on_rotation: T.unsafe(nil), **options); end # source://activesupport//lib/active_support/messages/rotator.rb#14 @@ -9402,7 +9446,7 @@ class ActiveSupport::Multibyte::Chars # "ÉL QUE SE ENTERÓ".mb_chars.titleize.to_s # => "Él Que Se Enteró" # "日本語".mb_chars.titleize.to_s # => "日本語" # - # source://activesupport//lib/active_support/multibyte/chars.rb#123 + # source://activesupport//lib/active_support/multibyte/chars.rb#126 def titlecase; end # Capitalizes the first letter of every word, when possible. @@ -9415,12 +9459,12 @@ class ActiveSupport::Multibyte::Chars # Returns the value of attribute wrapped_string. # - # source://activesupport//lib/active_support/multibyte/chars.rb#49 + # source://activesupport//lib/active_support/multibyte/chars.rb#50 def to_s; end # Returns the value of attribute wrapped_string. # - # source://activesupport//lib/active_support/multibyte/chars.rb#49 + # source://activesupport//lib/active_support/multibyte/chars.rb#51 def to_str; end # Returns the value of attribute wrapped_string. @@ -9895,10 +9939,10 @@ class ActiveSupport::Notifications::Fanout # source://activesupport//lib/active_support/notifications/fanout.rb#314 def listening?(name); end - # source://mutex_m/0.2.0/mutex_m.rb#91 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def lock; end - # source://mutex_m/0.2.0/mutex_m.rb#81 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def locked?; end # source://activesupport//lib/active_support/notifications/fanout.rb#293 @@ -9913,13 +9957,13 @@ class ActiveSupport::Notifications::Fanout # source://activesupport//lib/active_support/notifications/fanout.rb#68 def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end - # source://mutex_m/0.2.0/mutex_m.rb#76 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def synchronize(&block); end - # source://mutex_m/0.2.0/mutex_m.rb#86 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def try_lock; end - # source://mutex_m/0.2.0/mutex_m.rb#96 + # source://activesupport//lib/active_support/notifications/fanout.rb#52 def unlock; end # source://activesupport//lib/active_support/notifications/fanout.rb#85 @@ -10759,7 +10803,7 @@ class ActiveSupport::NumberHelper::NumberConverter # source://activesupport//lib/active_support/number_helper/number_converter.rb#120 def convert(number, options); end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#8 def namespace; end # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 @@ -10768,7 +10812,7 @@ class ActiveSupport::NumberHelper::NumberConverter # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 def namespace?; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#11 def validate_float; end # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 @@ -10796,7 +10840,7 @@ class ActiveSupport::NumberHelper::NumberToCurrencyConverter < ::ActiveSupport:: def options; end class << self - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#8 def namespace; end end end @@ -10815,7 +10859,7 @@ class ActiveSupport::NumberHelper::NumberToDelimitedConverter < ::ActiveSupport: def parts; end class << self - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#8 def validate_float; end end end @@ -10843,10 +10887,10 @@ class ActiveSupport::NumberHelper::NumberToHumanConverter < ::ActiveSupport::Num def unit_exponents(units); end class << self - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#12 def namespace; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#13 def validate_float; end end end @@ -10885,10 +10929,10 @@ class ActiveSupport::NumberHelper::NumberToHumanSizeConverter < ::ActiveSupport: def unit; end class << self - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#10 def namespace; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#11 def validate_float; end end end @@ -10902,7 +10946,7 @@ class ActiveSupport::NumberHelper::NumberToPercentageConverter < ::ActiveSupport def convert; end class << self - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#8 def namespace; end end end @@ -10955,10 +10999,10 @@ class ActiveSupport::NumberHelper::NumberToRoundedConverter < ::ActiveSupport::N def strip_insignificant_zeros; end class << self - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#8 def namespace; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#9 def validate_float; end end end @@ -11098,7 +11142,7 @@ module ActiveSupport::NumericWithFormat # separator: ',', # significant: false) # => "1,2 Million" # - # source://activesupport//lib/active_support/core_ext/numeric/conversions.rb#113 + # source://activesupport//lib/active_support/core_ext/numeric/conversions.rb#139 def to_formatted_s(format = T.unsafe(nil), options = T.unsafe(nil)); end # \Numeric With Format @@ -11463,7 +11507,7 @@ module ActiveSupport::RangeWithFormat # # config/initializers/range_formats.rb # Range::RANGE_FORMATS[:short] = ->(start, stop) { "Between #{start.to_fs(:db)} and #{stop.to_fs(:db)}" } # - # source://activesupport//lib/active_support/core_ext/range/conversions.rb#51 + # source://activesupport//lib/active_support/core_ext/range/conversions.rb#58 def to_formatted_s(format = T.unsafe(nil)); end # Convert range to a formatted string. See RANGE_FORMATS for predefined formats. @@ -11523,16 +11567,16 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper # source://activesupport//lib/active_support/reloader.rb#99 def initialize; end - # source://activesupport//lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/reloader.rb#31 def _class_unload_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/reloader.rb#29 def _prepare_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/reloader.rb#31 def _run_class_unload_callbacks(&block); end - # source://activesupport//lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/reloader.rb#29 def _run_prepare_callbacks(&block); end # source://activesupport//lib/active_support/reloader.rb#85 @@ -11574,19 +11618,16 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper def run!; end class << self - # source://activesupport//lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport//lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/reloader.rb#31 def _class_unload_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/reloader.rb#31 def _class_unload_callbacks=(value); end - # source://activesupport//lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/reloader.rb#29 def _prepare_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/reloader.rb#29 def _prepare_callbacks=(value); end # Registers a callback that will run immediately after the classes are unloaded. @@ -11611,9 +11652,6 @@ class ActiveSupport::Reloader < ::ActiveSupport::ExecutionWrapper # source://activesupport//lib/active_support/reloader.rb#85 def check?; end - # source://activesupport//lib/active_support/reloader.rb#84 - def executor; end - # source://activesupport//lib/active_support/reloader.rb#84 def executor=(value); end @@ -11777,7 +11815,7 @@ class ActiveSupport::SafeBuffer < ::String # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#119 def +(other); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#87 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#93 def <<(value); end # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#38 @@ -11789,22 +11827,22 @@ class ActiveSupport::SafeBuffer < ::String # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#95 def bytesplice(*args, value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def capitalize(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def capitalize!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chomp(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chomp!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chop(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def chop!(*args); end # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#59 @@ -11816,57 +11854,57 @@ class ActiveSupport::SafeBuffer < ::String # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#87 def concat(value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_prefix(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_prefix!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_suffix(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def delete_suffix!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def downcase(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def downcase!(*args); end # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#153 def encode_with(coder); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#174 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def gsub(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#185 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def gsub!(*args, &block); end # Returns the value of attribute html_safe. # - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#141 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#142 def html_safe?; end # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#99 def insert(index, value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def lstrip(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def lstrip!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def next(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def next!(*args); end # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#103 @@ -11875,16 +11913,16 @@ class ActiveSupport::SafeBuffer < ::String # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#107 def replace(value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def reverse(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def reverse!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def rstrip(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def rstrip!(*args); end # @raise [SafeConcatError] @@ -11892,46 +11930,46 @@ class ActiveSupport::SafeBuffer < ::String # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#65 def safe_concat(value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def scrub(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def scrub!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#38 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#49 def slice(*args); end # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#51 def slice!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def squeeze(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def squeeze!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def strip(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def strip!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#174 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def sub(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#185 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#173 def sub!(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def succ(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def succ!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def swapcase(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def swapcase!(*args); end # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#149 @@ -11940,28 +11978,28 @@ class ActiveSupport::SafeBuffer < ::String # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#145 def to_s; end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr_s(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def tr_s!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def unicode_normalize(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def unicode_normalize!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#160 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def upcase(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#164 + # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#159 def upcase!(*args); end private @@ -12067,7 +12105,7 @@ module ActiveSupport::SecurityUtils class << self # @raise [ArgumentError] # - # source://activesupport//lib/active_support/security_utils.rb#11 + # source://activesupport//lib/active_support/security_utils.rb#25 def fixed_length_secure_compare(a, b); end # Secure string comparison for strings of variable length. @@ -12077,7 +12115,7 @@ module ActiveSupport::SecurityUtils # the secret length. This should be considered when using secure_compare # to compare weak, short secrets to user input. # - # source://activesupport//lib/active_support/security_utils.rb#33 + # source://activesupport//lib/active_support/security_utils.rb#36 def secure_compare(a, b); end end end @@ -12402,104 +12440,98 @@ class ActiveSupport::TestCase < ::Minitest::Test extend ::ActiveSupport::Testing::SetupAndTeardown::ClassMethods extend ::ActiveSupport::Testing::Declarative - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks?; end - # source://activesupport//lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/test_case.rb#144 def _run_setup_callbacks(&block); end - # source://activesupport//lib/active_support/callbacks.rb#951 + # source://activesupport//lib/active_support/test_case.rb#144 def _run_teardown_callbacks(&block); end - # source://activesupport//lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/test_case.rb#144 def _setup_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#963 + # source://activesupport//lib/active_support/test_case.rb#144 def _teardown_callbacks; end - # source://minitest/5.24.1/lib/minitest/assertions.rb#736 + # source://activesupport//lib/active_support/test_case.rb#239 def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#665 + # source://activesupport//lib/active_support/test_case.rb#162 def assert_not_empty(obj, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#676 + # source://activesupport//lib/active_support/test_case.rb#173 def assert_not_equal(exp, act, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#688 + # source://activesupport//lib/active_support/test_case.rb#184 def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#700 + # source://activesupport//lib/active_support/test_case.rb#195 def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#707 + # source://activesupport//lib/active_support/test_case.rb#206 def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#718 + # source://activesupport//lib/active_support/test_case.rb#217 def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#728 + # source://activesupport//lib/active_support/test_case.rb#228 def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#746 + # source://activesupport//lib/active_support/test_case.rb#250 def assert_not_nil(obj, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#781 + # source://activesupport//lib/active_support/test_case.rb#261 def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#804 + # source://activesupport//lib/active_support/test_case.rb#272 def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#813 + # source://activesupport//lib/active_support/test_case.rb#283 def assert_not_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end - # source://minitest/5.24.1/lib/minitest/assertions.rb#822 + # source://activesupport//lib/active_support/test_case.rb#294 def assert_not_same(exp, act, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path; end - # source://activesupport//lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path?; end # source://activesupport//lib/active_support/test_case.rb#298 def inspect; end - # source://minitest/5.24.1/lib/minitest.rb#376 - def method_name; end - class << self - # source://activesupport//lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks=(value); end - # source://activesupport//lib/active_support/callbacks.rb#70 + # source://activesupport//lib/active_support/test_case.rb#144 def __callbacks?; end - # source://activesupport//lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/test_case.rb#144 def _setup_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/test_case.rb#144 def _setup_callbacks=(value); end - # source://activesupport//lib/active_support/callbacks.rb#955 + # source://activesupport//lib/active_support/test_case.rb#144 def _teardown_callbacks; end - # source://activesupport//lib/active_support/callbacks.rb#959 + # source://activesupport//lib/active_support/test_case.rb#144 def _teardown_callbacks=(value); end - # source://activesupport//lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path; end - # source://activesupport//lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path=(value); end - # source://activesupport//lib/active_support/testing/file_fixtures.rb#20 + # source://activesupport//lib/active_support/test_case.rb#150 def file_fixture_path?; end # Parallelizes the test suite. @@ -12780,7 +12812,7 @@ module ActiveSupport::Testing::Assertions # perform_service(param: 'exception') # end # - # source://activesupport//lib/active_support/testing/assertions.rb#34 + # source://activesupport//lib/active_support/testing/assertions.rb#39 def assert_raise(*exp, match: T.unsafe(nil), &block); end # Asserts that a block raises one of +exp+. This is an enhancement of the @@ -12988,68 +13020,99 @@ class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < # Returns the value of attribute context # # @return [Object] the current value of context + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def context; end # Sets the attribute context # # @param value [Object] the value to set the attribute context to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def context=(_); end # Returns the value of attribute error # # @return [Object] the current value of error + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def error; end # Sets the attribute error # # @param value [Object] the value to set the attribute error to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def error=(_); end # Returns the value of attribute handled # # @return [Object] the current value of handled + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def handled; end # Sets the attribute handled # # @param value [Object] the value to set the attribute handled to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def handled=(_); end # Returns the value of attribute handled # # @return [Object] the current value of handled + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#12 def handled?; end # Returns the value of attribute severity # # @return [Object] the current value of severity + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def severity; end # Sets the attribute severity # # @param value [Object] the value to set the attribute severity to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def severity=(_); end # Returns the value of attribute source # # @return [Object] the current value of source + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def source; end # Sets the attribute source # # @param value [Object] the value to set the attribute source to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def source=(_); end class << self + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def [](*_arg0); end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def inspect; end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def keyword_init?; end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def members; end + + # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 def new(*_arg0); end end end @@ -13397,41 +13460,62 @@ class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct # Returns the value of attribute method_name # # @return [Object] the current value of method_name + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def method_name; end # Sets the attribute method_name # # @param value [Object] the value to set the attribute method_name to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def method_name=(_); end # Returns the value of attribute object # # @return [Object] the current value of object + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def object; end # Sets the attribute object # # @param value [Object] the value to set the attribute object to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def object=(_); end # Returns the value of attribute original_method # # @return [Object] the current value of original_method + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def original_method; end # Sets the attribute original_method # # @param value [Object] the value to set the attribute original_method to. # @return [Object] the newly set value + # + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def original_method=(_); end class << self + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def [](*_arg0); end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def inspect; end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def keyword_init?; end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def members; end + + # source://activesupport//lib/active_support/testing/time_helpers.rb#10 def new(*_arg0); end end end @@ -13608,7 +13692,7 @@ module ActiveSupport::Testing::TimeHelpers # # Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00 # - # source://activesupport//lib/active_support/testing/time_helpers.rb#230 + # source://activesupport//lib/active_support/testing/time_helpers.rb#238 def unfreeze_time; end private @@ -13756,6 +13840,7 @@ class ActiveSupport::TimeWithZone # source://activesupport//lib/active_support/time_with_zone.rb#422 def advance(options); end + # source://activesupport//lib/active_support/time_with_zone.rb#236 def after?(_arg0); end # Subtracts an interval of time from the current object's time and returns @@ -13795,6 +13880,7 @@ class ActiveSupport::TimeWithZone # source://activesupport//lib/active_support/time_with_zone.rb#166 def as_json(options = T.unsafe(nil)); end + # source://activesupport//lib/active_support/time_with_zone.rb#235 def before?(_arg0); end # Returns true if the current object's time is within the specified @@ -13835,10 +13921,10 @@ class ActiveSupport::TimeWithZone # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#66 def comparable_time; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def day; end # Returns true if the current time is within Daylight Savings Time for the @@ -13887,17 +13973,17 @@ class ActiveSupport::TimeWithZone # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#67 def getgm; end # Returns a Time instance of the simultaneous time in the system timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#83 + # source://activesupport//lib/active_support/time_with_zone.rb#86 def getlocal(utc_offset = T.unsafe(nil)); end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#68 def getutc; end # Returns true if the current time zone is set to UTC. @@ -13909,28 +13995,28 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#105 + # source://activesupport//lib/active_support/time_with_zone.rb#108 def gmt?; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport//lib/active_support/time_with_zone.rb#111 + # source://activesupport//lib/active_support/time_with_zone.rb#114 def gmt_offset; end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#63 + # source://activesupport//lib/active_support/time_with_zone.rb#69 def gmtime; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport//lib/active_support/time_with_zone.rb#111 + # source://activesupport//lib/active_support/time_with_zone.rb#115 def gmtoff; end # source://activesupport//lib/active_support/time_with_zone.rb#279 def hash; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def hour; end # Returns a string of the object's date and time in the format used by @@ -13958,7 +14044,7 @@ class ActiveSupport::TimeWithZone # now + 24.hours # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00 # now + 1.day # => Mon, 03 Nov 2014 01:26:28.725182881 EST -05:00 # - # source://activesupport//lib/active_support/time_with_zone.rb#299 + # source://activesupport//lib/active_support/time_with_zone.rb#308 def in(other); end # Returns the simultaneous time in Time.zone, or the specified zone. @@ -13992,7 +14078,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#94 + # source://activesupport//lib/active_support/time_with_zone.rb#97 def isdst; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -14000,14 +14086,14 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport//lib/active_support/time_with_zone.rb#148 + # source://activesupport//lib/active_support/time_with_zone.rb#151 def iso8601(fraction_digits = T.unsafe(nil)); end # Say we're a Time to thwart type checking. # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#499 + # source://activesupport//lib/active_support/time_with_zone.rb#502 def kind_of?(klass); end # Returns a Time instance of the simultaneous time in the system timezone. @@ -14021,7 +14107,7 @@ class ActiveSupport::TimeWithZone # source://activesupport//lib/active_support/time_with_zone.rb#519 def marshal_load(variables); end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def mday; end # Send the missing method to +time+ instance, and wrap result in a new @@ -14030,13 +14116,13 @@ class ActiveSupport::TimeWithZone # source://activesupport//lib/active_support/time_with_zone.rb#540 def method_missing(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def min; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def mon; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def month; end # Returns true if the current object's time falls within @@ -14044,10 +14130,10 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#257 + # source://activesupport//lib/active_support/time_with_zone.rb#260 def next_day?; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def nsec; end # Returns true if the current object's time is in the past. @@ -14067,7 +14153,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#264 + # source://activesupport//lib/active_support/time_with_zone.rb#267 def prev_day?; end # respond_to_missing? is not called in some cases, such as when type conversion is @@ -14091,7 +14177,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport//lib/active_support/time_with_zone.rb#148 + # source://activesupport//lib/active_support/time_with_zone.rb#152 def rfc3339(fraction_digits = T.unsafe(nil)); end # Returns a string of the object's date and time in the RFC 2822 standard @@ -14099,10 +14185,10 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.rfc2822 # => "Tue, 01 Jan 2013 04:51:39 +0000" # - # source://activesupport//lib/active_support/time_with_zone.rb#194 + # source://activesupport//lib/active_support/time_with_zone.rb#197 def rfc822; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def sec; end # Adds an interval of time to the current object's time and returns that @@ -14122,7 +14208,7 @@ class ActiveSupport::TimeWithZone # now + 24.hours # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00 # now + 1.day # => Mon, 03 Nov 2014 01:26:28.725182881 EST -05:00 # - # source://activesupport//lib/active_support/time_with_zone.rb#299 + # source://activesupport//lib/active_support/time_with_zone.rb#307 def since(other); end # Replaces %Z directive with +zone before passing to Time#strftime, @@ -14150,7 +14236,7 @@ class ActiveSupport::TimeWithZone # source://activesupport//lib/active_support/time_with_zone.rb#445 def to_a; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def to_date; end # Returns an instance of DateTime with the timezone's UTC offset @@ -14178,7 +14264,7 @@ class ActiveSupport::TimeWithZone # * :db - format outputs time in UTC :db time. See Time#to_fs(:db). # * Any key in +Time::DATE_FORMATS+ can be used. See active_support/core_ext/time/conversions.rb. # - # source://activesupport//lib/active_support/time_with_zone.rb#212 + # source://activesupport//lib/active_support/time_with_zone.rb#222 def to_formatted_s(format = T.unsafe(nil)); end # Returns a string of the object's date and time. @@ -14242,10 +14328,10 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_i # => 1417709320 # - # source://activesupport//lib/active_support/time_with_zone.rb#461 + # source://activesupport//lib/active_support/time_with_zone.rb#464 def tv_sec; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def usec; end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -14270,7 +14356,7 @@ class ActiveSupport::TimeWithZone # source://activesupport//lib/active_support/time_with_zone.rb#111 def utc_offset; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def wday; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -14281,10 +14367,10 @@ class ActiveSupport::TimeWithZone # source://activesupport//lib/active_support/time_with_zone.rb#148 def xmlschema(fraction_digits = T.unsafe(nil)); end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def yday; end - # source://activesupport//lib/active_support/time_with_zone.rb#434 + # source://activesupport//lib/active_support/time_with_zone.rb#433 def year; end # Returns true if the current object's time falls within @@ -14969,6 +15055,16 @@ class Array # source://activesupport//lib/active_support/core_ext/object/json.rb#166 def as_json(options = T.unsafe(nil)); end + # An array is blank if it's empty: + # + # [].blank? # => true + # [1,2,3].blank? # => false + # + # @return [true, false] + # + # source://activesupport//lib/active_support/core_ext/object/blank.rb#90 + def blank?; end + # Removes all blank elements from the +Array+ in place and returns self. # Uses Object#blank? for determining if an item is blank. # @@ -15172,7 +15268,7 @@ class Array # source://activesupport//lib/active_support/core_ext/array/access.rb#24 def to(position); end - # source://activesupport//lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/array/conversions.rb#108 def to_default_s(*args, **_arg1, &block); end # Extends Array#to_s to convert a collection of elements into a @@ -15184,7 +15280,7 @@ class Array # Blog.none.to_fs(:db) # => "null" # [1,2].to_fs # => "[1, 2]" # - # source://activesupport//lib/active_support/core_ext/array/conversions.rb#94 + # source://activesupport//lib/active_support/core_ext/array/conversions.rb#106 def to_formatted_s(format = T.unsafe(nil)); end # Extends Array#to_s to convert a collection of elements into a @@ -15354,7 +15450,7 @@ class Array # Note: This is an optimization of Enumerable#excluding that uses Array#- # instead of Array#reject for performance reasons. # - # source://activesupport//lib/active_support/core_ext/array/access.rb#47 + # source://activesupport//lib/active_support/core_ext/array/access.rb#50 def without(*elements); end class << self @@ -15549,15 +15645,15 @@ class Date include ::DateAndTime::Zones include ::DateAndTime::Calculations - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#90 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#98 def +(other); end - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#100 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#108 def -(other); end # Allow Date to be compared with Time by converting to DateTime and relying on the <=> from there. # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#152 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#160 def <=>(other); end # Duck-types as a Date-like class. See Object#acts_like?. @@ -15598,32 +15694,32 @@ class Date # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#72 def at_beginning_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the end of the day (23:59:59) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#85 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#88 def at_end_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#80 def at_midday; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#82 def at_middle_of_day; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#71 def at_midnight; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#81 def at_noon; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) @@ -15654,6 +15750,12 @@ class Date # source://activesupport//lib/active_support/core_ext/date/calculations.rb#152 def compare_with_coercion(other); end + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#159 + def compare_without_coercion(_arg0); end + + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#66 + def default_inspect; end + # Converts Date to a Time (or DateTime if necessary) with the time portion set to the end of the day (23:59:59) # # source://activesupport//lib/active_support/core_ext/date/calculations.rb#85 @@ -15662,17 +15764,17 @@ class Date # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # and then adds the specified number of seconds # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#61 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#64 def in(seconds); end # Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005" # - # source://activesupport//lib/active_support/core_ext/date/conversions.rb#63 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#67 def inspect; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#78 def midday; end # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) @@ -15682,20 +15784,26 @@ class Date # Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#67 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#70 def midnight; end # source://activesupport//lib/active_support/core_ext/date/calculations.rb#100 def minus_with_duration(other); end + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#107 + def minus_without_duration(_arg0); end + # Converts Date to a Time (or DateTime if necessary) with the time portion set to the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#75 + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#79 def noon; end # source://activesupport//lib/active_support/core_ext/date/calculations.rb#90 def plus_with_duration(other); end + # source://activesupport//lib/active_support/core_ext/date/calculations.rb#97 + def plus_without_duration(_arg0); end + # Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005" # # source://activesupport//lib/active_support/core_ext/date/conversions.rb#63 @@ -15707,7 +15815,7 @@ class Date # source://activesupport//lib/active_support/core_ext/date/calculations.rb#61 def since(seconds); end - # source://activesupport//lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#60 def to_default_s(*args, **_arg1, &block); end # Convert to a formatted string. See DATE_FORMATS for predefined formats. @@ -15735,7 +15843,7 @@ class Date # Date::DATE_FORMATS[:month_and_year] = '%B %Y' # Date::DATE_FORMATS[:short_ordinal] = ->(date) { date.strftime("%B #{date.day.ordinalize}") } # - # source://activesupport//lib/active_support/core_ext/date/conversions.rb#47 + # source://activesupport//lib/active_support/core_ext/date/conversions.rb#58 def to_formatted_s(format = T.unsafe(nil)); end # Convert to a formatted string. See DATE_FORMATS for predefined formats. @@ -15896,7 +16004,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Thu, 18 Jun 2015 15:23:13 +0000 # now.beginning_of_month # => Mon, 01 Jun 2015 00:00:00 +0000 # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#125 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#128 def at_beginning_of_month; end # Returns a new date/time at the start of the quarter. @@ -15909,7 +16017,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.beginning_of_quarter # => Wed, 01 Jul 2015 00:00:00 +0000 # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#139 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#143 def at_beginning_of_quarter; end # Returns a new date/time representing the start of this week on the given day. @@ -15917,7 +16025,7 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # +DateTime+ objects have their time set to 0:00. # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#267 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#271 def at_beginning_of_week(start_day = T.unsafe(nil)); end # Returns a new date/time at the beginning of the year. @@ -15930,13 +16038,13 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.beginning_of_year # => Thu, 01 Jan 2015 00:00:00 +0000 # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#179 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#182 def at_beginning_of_year; end # Returns a new date/time representing the end of the month. # DateTime objects will have a time set to 23:59:59. # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#296 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#300 def at_end_of_month; end # Returns a new date/time at the end of the quarter. @@ -15949,7 +16057,7 @@ module DateAndTime::Calculations # now = DateTime.current # => Fri, 10 Jul 2015 18:41:29 +0000 # now.end_of_quarter # => Wed, 30 Sep 2015 23:59:59 +0000 # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#154 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#158 def at_end_of_quarter; end # Returns a new date/time representing the end of this week on the given day. @@ -15957,13 +16065,13 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # DateTime objects have their time set to 23:59:59. # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#283 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#286 def at_end_of_week(start_day = T.unsafe(nil)); end # Returns a new date/time representing the end of the year. # DateTime objects will have a time set to 23:59:59. # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#304 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#307 def at_end_of_year; end # Returns true if the date/time falls before date_or_time. @@ -16084,7 +16192,7 @@ module DateAndTime::Calculations # Short-hand for months_ago(3). # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#245 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#248 def last_quarter; end # Returns a new date/time representing the given day in the previous week. @@ -16092,12 +16200,12 @@ module DateAndTime::Calculations # +Date.beginning_of_week+ or +config.beginning_of_week+ when set. # DateTime objects have their time set to 0:00 unless +same_time+ is true. # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#223 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#227 def last_week(start_day = T.unsafe(nil), same_time: T.unsafe(nil)); end # Returns a new date/time representing the previous weekday. # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#230 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#237 def last_weekday; end # Short-hand for years_ago(1). @@ -16125,7 +16233,7 @@ module DateAndTime::Calculations # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#35 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#38 def next_day?; end # Returns a new date/time representing the next occurrence of the specified day of week. @@ -16192,7 +16300,7 @@ module DateAndTime::Calculations # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#41 + # source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#44 def prev_day?; end # Returns a new date/time representing the previous occurrence of the specified day of week. @@ -16407,52 +16515,52 @@ class DateTime < ::Date # Returns a new DateTime representing the start of the day (0:00). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#122 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#127 def at_beginning_of_day; end # Returns a new DateTime representing the start of the hour (hh:00:00). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#146 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#149 def at_beginning_of_hour; end # Returns a new DateTime representing the start of the minute (hh:mm:00). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#158 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#161 def at_beginning_of_minute; end # Returns a new DateTime representing the end of the day (23:59:59). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#140 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#143 def at_end_of_day; end # Returns a new DateTime representing the end of the hour (hh:59:59). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#152 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#155 def at_end_of_hour; end # Returns a new DateTime representing the end of the minute (hh:mm:59). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#164 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#167 def at_end_of_minute; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#135 def at_midday; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#137 def at_middle_of_day; end # Returns a new DateTime representing the start of the day (0:00). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#122 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#126 def at_midnight; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#136 def at_noon; end # Returns a new DateTime representing the start of the day (0:00). @@ -16526,12 +16634,12 @@ class DateTime < ::Date # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600 # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#184 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#192 def getgm; end # Returns a Time instance of the simultaneous time in the system timezone. # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#170 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#178 def getlocal(utc_offset = T.unsafe(nil)); end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -16539,7 +16647,7 @@ class DateTime < ::Date # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600 # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#184 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#193 def getutc; end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -16547,19 +16655,19 @@ class DateTime < ::Date # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)) # => Mon, 21 Feb 2005 10:11:12 -0600 # DateTime.civil(2005, 2, 21, 10, 11, 12, Rational(-6, 24)).utc # => Mon, 21 Feb 2005 16:11:12 UTC # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#184 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#194 def gmtime; end # Returns a new DateTime representing the time a number of seconds since the # instance time. Do not use this method in combination with x.months, use # months_since instead! # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#116 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#119 def in(seconds); end # Overrides the default inspect method with a human readable one, e.g., "Mon, 21 Feb 2005 14:30:00 +0000". # - # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#60 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#64 def inspect; end # Returns a Time instance of the simultaneous time in the system timezone. @@ -16569,7 +16677,7 @@ class DateTime < ::Date # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#133 def midday; end # Returns a new DateTime representing the middle of the day (12:00) @@ -16579,12 +16687,12 @@ class DateTime < ::Date # Returns a new DateTime representing the start of the day (0:00). # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#122 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#125 def midnight; end # Returns a new DateTime representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#130 + # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#134 def noon; end # Returns the fraction of a second as nanoseconds @@ -16629,7 +16737,7 @@ class DateTime < ::Date # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#36 def subsec; end - # source://activesupport//lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#45 def to_default_s(*args, **_arg1, &block); end # Converts +self+ to a floating-point number of seconds, including fractional microseconds, since the Unix epoch. @@ -16663,7 +16771,7 @@ class DateTime < ::Date # Time::DATE_FORMATS[:month_and_year] = '%B %Y' # Time::DATE_FORMATS[:short_ordinal] = lambda { |time| time.strftime("%B #{time.day.ordinalize}") } # - # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#35 + # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#42 def to_formatted_s(format = T.unsafe(nil)); end # Convert to a formatted string. See Time::DATE_FORMATS for predefined formats. @@ -16903,7 +17011,7 @@ module ERB::Util def xml_name_escape(name); end class << self - # source://activesupport//lib/active_support/core_ext/erb/util.rb#25 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#28 def h(s); end # source://activesupport//lib/active_support/core_ext/erb/util.rb#25 @@ -16917,7 +17025,7 @@ module ERB::Util # html_escape_once('<< Accept & Checkout') # # => "<< Accept & Checkout" # - # source://activesupport//lib/active_support/core_ext/erb/util.rb#63 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#67 def html_escape_once(s); end # A utility method for escaping HTML entities in JSON strings. Specifically, the @@ -16976,7 +17084,7 @@ module ERB::Util # JSON gem, do not provide this kind of protection by default; also some gems # might override +to_json+ to bypass Active Support's encoder). # - # source://activesupport//lib/active_support/core_ext/erb/util.rb#124 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#134 def json_escape(s); end # Tokenizes a line of ERB. This is really just for error reporting and @@ -16985,7 +17093,7 @@ module ERB::Util # source://activesupport//lib/active_support/core_ext/erb/util.rb#161 def tokenize(source); end - # source://activesupport//lib/active_support/core_ext/erb/util.rb#10 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#18 def unwrapped_html_escape(s); end # A utility method for escaping XML names of tags and names of attributes. @@ -16995,7 +17103,7 @@ module ERB::Util # # It follows the requirements of the specification: https://www.w3.org/TR/REC-xml/#NT-Name # - # source://activesupport//lib/active_support/core_ext/erb/util.rb#142 + # source://activesupport//lib/active_support/core_ext/erb/util.rb#157 def xml_name_escape(name); end end end @@ -17194,7 +17302,7 @@ module Enumerable # {foo: 1, bar: 2, baz: 3}.excluding :bar # # => {foo: 1, baz: 3} # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#132 + # source://activesupport//lib/active_support/core_ext/enumerable.rb#136 def without(*elements); end end @@ -17278,6 +17386,16 @@ class Hash # source://activesupport//lib/active_support/core_ext/object/json.rb#172 def as_json(options = T.unsafe(nil)); end + # A hash is blank if it's empty: + # + # {}.blank? # => true + # { key: 'value' }.blank? # => false + # + # @return [true, false] + # + # source://activesupport//lib/active_support/core_ext/object/blank.rb#100 + def blank?; end + # Hash#reject has its own definition, so this needs one too. # # source://activesupport//lib/active_support/core_ext/enumerable.rb#217 @@ -17436,7 +17554,7 @@ class Hash # { a: b }.with_indifferent_access['a'] # calls b.nested_under_indifferent_access # # => {"b"=>1} # - # source://activesupport//lib/active_support/core_ext/hash/indifferent_access.rb#9 + # source://activesupport//lib/active_support/core_ext/hash/indifferent_access.rb#23 def nested_under_indifferent_access; end # Merges the caller into +other_hash+. For example, @@ -17460,7 +17578,7 @@ class Hash # Destructive +reverse_merge+. # - # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#20 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#23 def reverse_update(other_hash); end # Replaces the hash with only the given keys. @@ -17514,13 +17632,13 @@ class Hash # hash.symbolize_keys # # => {:name=>"Rob", :age=>"28"} # - # source://activesupport//lib/active_support/core_ext/hash/keys.rb#27 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#30 def to_options; end # Destructively converts all keys to symbols, as long as they respond # to +to_sym+. Same as +symbolize_keys+, but modifies +self+. # - # source://activesupport//lib/active_support/core_ext/hash/keys.rb#34 + # source://activesupport//lib/active_support/core_ext/hash/keys.rb#37 def to_options!; end # Returns a string representation of the receiver suitable for use as a URL @@ -17537,7 +17655,7 @@ class Hash # The string pairs "key=value" that conform the query string # are sorted lexicographically in ascending order. # - # source://activesupport//lib/active_support/core_ext/object/to_query.rb#75 + # source://activesupport//lib/active_support/core_ext/object/to_query.rb#86 def to_param(namespace = T.unsafe(nil)); end # Returns a string representation of the receiver suitable for use as a URL @@ -17634,12 +17752,12 @@ class Hash # This is particularly useful for initializing an options hash # with default values. # - # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#14 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#17 def with_defaults(other_hash); end # Destructive +reverse_merge+. # - # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#20 + # source://activesupport//lib/active_support/core_ext/hash/reverse_merge.rb#24 def with_defaults!(other_hash); end # Returns an ActiveSupport::HashWithIndifferentAccess out of its receiver: @@ -17721,51 +17839,7 @@ HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess # :enddoc: # # source://activesupport//lib/active_support/i18n_railtie.rb#8 -module I18n - class << self - # source://i18n/1.14.5/lib/i18n/backend/cache.rb#64 - def cache_key_digest; end - - # source://i18n/1.14.5/lib/i18n/backend/cache.rb#68 - def cache_key_digest=(key_digest); end - - # source://i18n/1.14.5/lib/i18n/backend/cache.rb#56 - def cache_namespace; end - - # source://i18n/1.14.5/lib/i18n/backend/cache.rb#60 - def cache_namespace=(namespace); end - - # source://i18n/1.14.5/lib/i18n/backend/cache.rb#48 - def cache_store; end - - # source://i18n/1.14.5/lib/i18n/backend/cache.rb#52 - def cache_store=(store); end - - # source://i18n/1.14.5/lib/i18n/backend/fallbacks.rb#17 - def fallbacks; end - - # source://i18n/1.14.5/lib/i18n/backend/fallbacks.rb#23 - def fallbacks=(fallbacks); end - - # source://i18n/1.14.5/lib/i18n/interpolate/ruby.rb#23 - def interpolate(string, values); end - - # source://i18n/1.14.5/lib/i18n/interpolate/ruby.rb#29 - def interpolate_hash(string, values); end - - # source://i18n/1.14.5/lib/i18n.rb#37 - def new_double_nested_cache; end - - # source://i18n/1.14.5/lib/i18n/backend/cache.rb#72 - def perform_caching?; end - - # source://i18n/1.14.5/lib/i18n.rb#45 - def reserve_key(key); end - - # source://i18n/1.14.5/lib/i18n.rb#50 - def reserved_keys_pattern; end - end -end +module I18n; end # source://activesupport//lib/active_support/i18n_railtie.rb#9 class I18n::Railtie < ::Rails::Railtie @@ -17928,7 +18002,7 @@ class Integer < ::Numeric # # 2.months # => 2 months # - # source://activesupport//lib/active_support/core_ext/integer/time.rb#10 + # source://activesupport//lib/active_support/core_ext/integer/time.rb#13 def month; end # Returns a Duration instance matching the number of months provided. @@ -17979,7 +18053,7 @@ class Integer < ::Numeric # # 2.years # => 2 years # - # source://activesupport//lib/active_support/core_ext/integer/time.rb#18 + # source://activesupport//lib/active_support/core_ext/integer/time.rb#21 def year; end # Returns a Duration instance matching the number of years provided. @@ -17990,6 +18064,8 @@ class Integer < ::Numeric def years; end end +Integer::GMP_VERSION = T.let(T.unsafe(nil), String) + # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#3 module Kernel # class_eval on an object acts like +singleton_class.class_eval+. @@ -18186,7 +18262,7 @@ class Module # Declares an attribute reader and writer backed by an internally-named instance # variable. # - # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#16 + # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#20 def attr_internal(*attrs); end # Declares an attribute reader and writer backed by an internally-named instance @@ -18272,7 +18348,7 @@ class Module # Person.class_variable_get("@@hair_colors") # => [:brown, :black, :blonde, :red] # Person.class_variable_get("@@hair_styles") # => [:long, :short] # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#208 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#213 def cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), &blk); end # Defines a class attribute and creates a class and instance reader methods. @@ -18324,7 +18400,7 @@ class Module # # @raise [TypeError] # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#55 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#75 def cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end # Defines a class attribute and creates a class and instance writer methods to @@ -18374,7 +18450,7 @@ class Module # # @raise [TypeError] # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#121 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#140 def cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil), location: T.unsafe(nil)); end # Returns a copy of module or class if it's anonymous. If it's @@ -18903,7 +18979,7 @@ class Module # multiple threads can access the default value, non-frozen default values # will be duped and frozen. # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#170 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#174 def thread_cattr_accessor(*syms, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end # Defines a per-thread class attribute and creates class and instance reader methods. @@ -18933,7 +19009,7 @@ class Module # # Current.new.user # => NoMethodError # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#41 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#81 def thread_cattr_reader(*syms, instance_reader: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end # Defines a per-thread class attribute and creates a class and instance writer methods to @@ -18955,7 +19031,7 @@ class Module # # Current.new.user = "DHH" # => NoMethodError # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#101 + # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#123 def thread_cattr_writer(*syms, instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil)); end # Defines both class and instance accessors for class attributes. @@ -19331,7 +19407,7 @@ class Numeric # # 2.bytes # => 2 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#15 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#18 def byte; end # Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes @@ -19345,7 +19421,7 @@ class Numeric # # 2.days # => 2 days # - # source://activesupport//lib/active_support/core_ext/numeric/time.rb#37 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#40 def day; end # Returns a Duration instance matching the number of days provided. @@ -19359,7 +19435,7 @@ class Numeric # # 2.exabytes # => 2_305_843_009_213_693_952 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#63 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#66 def exabyte; end # Returns the number of bytes equivalent to the exabytes provided. @@ -19373,7 +19449,7 @@ class Numeric # # 2.fortnights # => 4 weeks # - # source://activesupport//lib/active_support/core_ext/numeric/time.rb#53 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#56 def fortnight; end # Returns a Duration instance matching the number of fortnights provided. @@ -19387,7 +19463,7 @@ class Numeric # # 2.gigabytes # => 2_147_483_648 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#39 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#42 def gigabyte; end # Returns the number of bytes equivalent to the gigabytes provided. @@ -19401,7 +19477,7 @@ class Numeric # # 2.hours # => 2 hours # - # source://activesupport//lib/active_support/core_ext/numeric/time.rb#29 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#32 def hour; end # Returns a Duration instance matching the number of hours provided. @@ -19429,7 +19505,7 @@ class Numeric # # 2.kilobytes # => 2048 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#23 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#26 def kilobyte; end # Returns the number of bytes equivalent to the kilobytes provided. @@ -19443,7 +19519,7 @@ class Numeric # # 2.megabytes # => 2_097_152 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#31 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#34 def megabyte; end # Returns the number of bytes equivalent to the megabytes provided. @@ -19457,7 +19533,7 @@ class Numeric # # 2.minutes # => 2 minutes # - # source://activesupport//lib/active_support/core_ext/numeric/time.rb#21 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#24 def minute; end # Returns a Duration instance matching the number of minutes provided. @@ -19471,7 +19547,7 @@ class Numeric # # 2.petabytes # => 2_251_799_813_685_248 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#55 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#58 def petabyte; end # Returns the number of bytes equivalent to the petabytes provided. @@ -19485,7 +19561,7 @@ class Numeric # # 2.seconds # => 2 seconds # - # source://activesupport//lib/active_support/core_ext/numeric/time.rb#13 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#16 def second; end # Returns a Duration instance matching the number of seconds provided. @@ -19499,7 +19575,7 @@ class Numeric # # 2.terabytes # => 2_199_023_255_552 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#47 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#50 def terabyte; end # Returns the number of bytes equivalent to the terabytes provided. @@ -19513,7 +19589,7 @@ class Numeric # # 2.weeks # => 2 weeks # - # source://activesupport//lib/active_support/core_ext/numeric/time.rb#45 + # source://activesupport//lib/active_support/core_ext/numeric/time.rb#48 def week; end # Returns a Duration instance matching the number of weeks provided. @@ -19527,7 +19603,7 @@ class Numeric # # 2.zettabytes # => 2_361_183_241_434_822_606_848 # - # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#71 + # source://activesupport//lib/active_support/core_ext/numeric/bytes.rb#74 def zettabyte; end # Returns the number of bytes equivalent to the zettabytes provided. @@ -19946,6 +20022,12 @@ class Range # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#41 def include?(value); end + # @raise [TypeError] + # @return [Boolean] + # + # source://activesupport//lib/active_support/core_ext/range/overlap.rb#39 + def overlaps?(_arg0); end + # source://activesupport//lib/active_support/core_ext/range/each.rb#12 def step(n = T.unsafe(nil), &block); end @@ -20082,7 +20164,7 @@ class String # # See ActiveSupport::Inflector.camelize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#101 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#111 def camelcase(first_letter = T.unsafe(nil)); end # By default, +camelize+ converts strings to UpperCamelCase. If the argument to camelize @@ -20174,6 +20256,9 @@ class String # source://activesupport//lib/active_support/core_ext/string/inflections.rb#284 def downcase_first; end + # source://activesupport//lib/active_support/core_ext/string/starts_ends_with.rb#5 + def ends_with?(*_arg0); end + # The inverse of String#include?. Returns true if the string # does not include the other string. # @@ -20515,6 +20600,9 @@ class String # source://activesupport//lib/active_support/core_ext/string/filters.rb#21 def squish!; end + # source://activesupport//lib/active_support/core_ext/string/starts_ends_with.rb#4 + def starts_with?(*_arg0); end + # Strips indentation in heredocs. # # For example in @@ -20563,7 +20651,7 @@ class String # # See ActiveSupport::Inflector.titleize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#126 + # source://activesupport//lib/active_support/core_ext/string/inflections.rb#129 def titlecase(keep_id_suffix: T.unsafe(nil)); end # Capitalizes all the words and replaces some characters in the string to create @@ -20747,6 +20835,12 @@ class Symbol # source://activesupport//lib/active_support/core_ext/object/json.rb#107 def as_json(options = T.unsafe(nil)); end + + # source://activesupport//lib/active_support/core_ext/symbol/starts_ends_with.rb#5 + def ends_with?(*_arg0); end + + # source://activesupport//lib/active_support/core_ext/symbol/starts_ends_with.rb#4 + def starts_with?(*_arg0); end end class Thread @@ -20770,20 +20864,20 @@ class Time include ::DateAndTime::Calculations include ::DateAndTime::Compatibility - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#300 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#308 def +(other); end # Time#- can also be used to determine the number of seconds between two Time instances. # We're layering on additional behavior so that ActiveSupport::TimeWithZone instances # are coerced into values that Time#- will recognize # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#323 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#328 def -(other); end # Layers additional behavior on Time#<=> so that DateTime and ActiveSupport::TimeWithZone instances # can be chronologically compared with a Time # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#332 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#343 def <=>(other); end # Duck-types as a Time-like class. See Object#acts_like?. @@ -20822,52 +20916,52 @@ class Time # Returns a new Time representing the start of the day (0:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#241 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#246 def at_beginning_of_day; end # Returns a new Time representing the start of the hour (x:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#270 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#273 def at_beginning_of_hour; end # Returns a new Time representing the start of the minute (x:xx:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#286 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#289 def at_beginning_of_minute; end # Returns a new Time representing the end of the day, 23:59:59.999999 # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#259 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#267 def at_end_of_day; end # Returns a new Time representing the end of the hour, x:59:59.999999 # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#276 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#283 def at_end_of_hour; end # Returns a new Time representing the end of the minute, x:xx:59.999999 # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#292 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#298 def at_end_of_minute; end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#254 def at_midday; end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#256 def at_middle_of_day; end # Returns a new Time representing the start of the day (0:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#241 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#245 def at_midnight; end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#255 def at_noon; end # Returns a new Time representing the start of the day (0:00) @@ -20918,6 +21012,9 @@ class Time # source://activesupport//lib/active_support/core_ext/time/calculations.rb#332 def compare_with_coercion(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#342 + def compare_without_coercion(_arg0); end + # Returns a new Time representing the end of the day, 23:59:59.999999 # # source://activesupport//lib/active_support/core_ext/time/calculations.rb#259 @@ -20936,7 +21033,7 @@ class Time # Layers additional behavior on Time#eql? so that ActiveSupport::TimeWithZone instances # can be eql? to an equivalent Time # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#347 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#353 def eql?(other); end # Layers additional behavior on Time#eql? so that ActiveSupport::TimeWithZone instances @@ -20945,6 +21042,9 @@ class Time # source://activesupport//lib/active_support/core_ext/time/calculations.rb#347 def eql_with_coercion(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#352 + def eql_without_coercion(_arg0); end + # Returns a formatted string of the offset from UTC, or an alternative # string if the time zone is already UTC. # @@ -20956,12 +21056,12 @@ class Time # Returns a new Time representing the time a number of seconds since the instance time # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#233 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#238 def in(seconds); end # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#252 def midday; end # Returns a new Time representing the middle of the day (12:00) @@ -20971,7 +21071,7 @@ class Time # Returns a new Time representing the start of the day (0:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#241 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#244 def midnight; end # Time#- can also be used to determine the number of seconds between two Time instances. @@ -20984,9 +21084,12 @@ class Time # source://activesupport//lib/active_support/core_ext/time/calculations.rb#310 def minus_with_duration(other); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#310 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#327 def minus_without_coercion(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#317 + def minus_without_duration(_arg0); end + # Returns a new time the specified number of days in the future. # # source://activesupport//lib/active_support/core_ext/time/calculations.rb#361 @@ -21004,12 +21107,15 @@ class Time # Returns a new Time representing the middle of the day (12:00) # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#249 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#253 def noon; end # source://activesupport//lib/active_support/core_ext/time/calculations.rb#300 def plus_with_duration(other); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#307 + def plus_without_duration(_arg0); end + # Returns a new time the specified number of days ago. # # source://activesupport//lib/active_support/core_ext/time/calculations.rb#356 @@ -21025,6 +21131,11 @@ class Time # source://activesupport//lib/active_support/core_ext/time/calculations.rb#376 def prev_year(years = T.unsafe(nil)); end + # Aliased to +xmlschema+ for compatibility with +DateTime+ + # + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#74 + def rfc3339(fraction_digits = T.unsafe(nil)); end + # Returns the fraction of a second as a +Rational+ # # Time.new(2012, 8, 29, 0, 0, 0.5).sec_fraction # => (1/2) @@ -21055,7 +21166,7 @@ class Time # source://activesupport//lib/active_support/core_ext/time/calculations.rb#233 def since(seconds); end - # source://activesupport//lib/active_support/deprecation/method_wrappers.rb#46 + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#62 def to_default_s(*args, **_arg1, &block); end # Converts to a formatted string. See DATE_FORMATS for built-in formats. @@ -21084,7 +21195,7 @@ class Time # Time::DATE_FORMATS[:month_and_year] = '%B %Y' # Time::DATE_FORMATS[:short_ordinal] = ->(time) { time.strftime("%B #{time.day.ordinalize}") } # - # source://activesupport//lib/active_support/core_ext/time/conversions.rb#53 + # source://activesupport//lib/active_support/core_ext/time/conversions.rb#60 def to_formatted_s(format = T.unsafe(nil)); end # Converts to a formatted string. See DATE_FORMATS for built-in formats. @@ -21131,7 +21242,7 @@ class Time # Layers additional behavior on Time.at so that ActiveSupport::TimeWithZone and DateTime # instances can be used when called with a single argument # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#45 + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#60 def at(*args, **kwargs); end # Layers additional behavior on Time.at so that ActiveSupport::TimeWithZone and DateTime @@ -21140,6 +21251,9 @@ class Time # source://activesupport//lib/active_support/core_ext/time/calculations.rb#45 def at_with_coercion(*args, **kwargs); end + # source://activesupport//lib/active_support/core_ext/time/calculations.rb#59 + def at_without_coercion(time, subsec = T.unsafe(nil), unit = T.unsafe(nil), in: T.unsafe(nil)); end + # Returns Time.zone.now when Time.zone or config.time_zone are set, otherwise just returns Time.now. # # source://activesupport//lib/active_support/core_ext/time/calculations.rb#39 @@ -21290,7 +21404,6 @@ end # source://activesupport//lib/active_support/core_ext/object/json.rb#224 class URI::Generic include ::URI::RFC2396_REGEXP - include ::URI # source://activesupport//lib/active_support/core_ext/object/json.rb#225 def as_json(options = T.unsafe(nil)); end diff --git a/sorbet/rbi/gems/addressable@2.8.6.rbi b/sorbet/rbi/gems/addressable@2.8.6.rbi index dc4d86d9b..97079e634 100644 --- a/sorbet/rbi/gems/addressable@2.8.6.rbi +++ b/sorbet/rbi/gems/addressable@2.8.6.rbi @@ -13,7 +13,7 @@ module Addressable; end # source://addressable//lib/addressable/idna/pure.rb#21 module Addressable::IDNA class << self - # source://addressable//lib/addressable/idna/pure.rb#117 + # source://addressable//lib/addressable/idna/pure.rb#122 def _deprecated_unicode_normalize_kc(value); end # Converts from a Unicode internationalized domain name to an ASCII @@ -29,6 +29,8 @@ module Addressable::IDNA def to_unicode(input); end # @deprecated Use {String#unicode_normalize(:nfkc)} instead + # + # source://addressable//lib/addressable/idna/pure.rb#122 def unicode_normalize_kc(*args, **_arg1, &block); end private @@ -200,7 +202,7 @@ class Addressable::Template # otherwise. # @see #== # - # source://addressable//lib/addressable/template.rb#274 + # source://addressable//lib/addressable/template.rb#283 def eql?(template); end # Expands a URI template into a full URI. @@ -335,7 +337,7 @@ class Addressable::Template # # @return [Array] The variables present in the template's pattern. # - # source://addressable//lib/addressable/template.rb#607 + # source://addressable//lib/addressable/template.rb#610 def keys; end # Extracts match data from the URI using a URI Template pattern. @@ -416,7 +418,7 @@ class Addressable::Template # # @return [Array] The variables present in the template's pattern. # - # source://addressable//lib/addressable/template.rb#607 + # source://addressable//lib/addressable/template.rb#611 def names; end # Expands a URI template into another URI template. @@ -654,7 +656,7 @@ class Addressable::Template::MatchData # Note that this list will include nils for any variables which # were in the Template, but did not appear in the URI. # - # source://addressable//lib/addressable/template.rb#143 + # source://addressable//lib/addressable/template.rb#149 def captures; end # Returns a String representation of the MatchData's state. @@ -668,7 +670,7 @@ class Addressable::Template::MatchData # Note that this list will include variables which do not appear # in the mapping because they were not present in URI. # - # source://addressable//lib/addressable/template.rb#132 + # source://addressable//lib/addressable/template.rb#135 def keys; end # @return [Hash] The mapping that resulted from the match. @@ -683,14 +685,14 @@ class Addressable::Template::MatchData # Note that this list will include variables which do not appear # in the mapping because they were not present in URI. # - # source://addressable//lib/addressable/template.rb#132 + # source://addressable//lib/addressable/template.rb#136 def names; end # Dummy method for code expecting a ::MatchData instance # # @return [String] An empty string. # - # source://addressable//lib/addressable/template.rb#222 + # source://addressable//lib/addressable/template.rb#225 def post_match; end # Dummy method for code expecting a ::MatchData instance @@ -702,7 +704,7 @@ class Addressable::Template::MatchData # @return [String] The matched URI as String. # - # source://addressable//lib/addressable/template.rb#191 + # source://addressable//lib/addressable/template.rb#194 def string; end # @return [Addressable::Template] The Template used for the match. @@ -799,7 +801,7 @@ class Addressable::URI # @param The [String, Addressable::URI, #to_str] URI to join with. # @return [Addressable::URI] The joined URI. # - # source://addressable//lib/addressable/uri.rb#1889 + # source://addressable//lib/addressable/uri.rb#1982 def +(uri); end # Returns true if the URI objects are equal. This method @@ -1403,7 +1405,7 @@ class Addressable::URI # # @return [String] The URI's String representation. # - # source://addressable//lib/addressable/uri.rb#2341 + # source://addressable//lib/addressable/uri.rb#2361 def to_str; end # The user component for this URI. @@ -1571,7 +1573,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#616 + # source://addressable//lib/addressable/uri.rb#651 def escape(uri, return_type = T.unsafe(nil)); end # Percent encodes a URI component. @@ -1604,7 +1606,7 @@ class Addressable::URI # character_class. # @return [String] The encoded component. # - # source://addressable//lib/addressable/uri.rb#403 + # source://addressable//lib/addressable/uri.rb#446 def escape_component(component, character_class = T.unsafe(nil), upcase_encoded = T.unsafe(nil)); end # Encodes a set of key/value pairs according to the rules for the @@ -1780,7 +1782,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#472 + # source://addressable//lib/addressable/uri.rb#502 def unencode_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end # Unencodes any percent encoded characters within a URI component. @@ -1799,7 +1801,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#472 + # source://addressable//lib/addressable/uri.rb#501 def unescape(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end # Unencodes any percent encoded characters within a URI component. @@ -1818,7 +1820,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#472 + # source://addressable//lib/addressable/uri.rb#503 def unescape_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end end end diff --git a/sorbet/rbi/gems/ansi@1.5.0.rbi b/sorbet/rbi/gems/ansi@1.5.0.rbi index 7fc7dfd9b..7cf6aca2a 100644 --- a/sorbet/rbi/gems/ansi@1.5.0.rbi +++ b/sorbet/rbi/gems/ansi@1.5.0.rbi @@ -59,7 +59,7 @@ module ANSI::Code # Move cursor left a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#149 + # source://ansi//lib/ansi/code.rb#152 def back(spaces = T.unsafe(nil)); end # source://ansi//lib/ansi/code.rb#70 @@ -131,7 +131,7 @@ module ANSI::Code # ansi(:red, :on_white){ "Valentine" } # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#176 + # source://ansi//lib/ansi/code.rb#226 def color(*codes); end # source://ansi//lib/ansi/code.rb#70 @@ -171,7 +171,7 @@ module ANSI::Code # Move cursor right a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#155 + # source://ansi//lib/ansi/code.rb#158 def forward(spaces = T.unsafe(nil)); end # source://ansi//lib/ansi/code.rb#70 @@ -317,7 +317,7 @@ module ANSI::Code # ansi(:red, :on_white){ "Valentine" } # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#176 + # source://ansi//lib/ansi/code.rb#214 def style(*codes); end # Remove ANSI codes from string or block value. @@ -335,7 +335,7 @@ module ANSI::Code # @param string [String] String from which to remove ANSI codes. # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#201 + # source://ansi//lib/ansi/code.rb#232 def uncolor(string = T.unsafe(nil)); end # Remove ANSI codes from string or block value. @@ -345,7 +345,7 @@ module ANSI::Code # @param string [String] String from which to remove ANSI codes. # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#201 + # source://ansi//lib/ansi/code.rb#220 def unstyle(string = T.unsafe(nil)); end # Move cursor up a specified number of spaces. diff --git a/sorbet/rbi/gems/ast@2.4.2.rbi b/sorbet/rbi/gems/ast@2.4.2.rbi index e0ae88ef3..537ea7f6e 100644 --- a/sorbet/rbi/gems/ast@2.4.2.rbi +++ b/sorbet/rbi/gems/ast@2.4.2.rbi @@ -77,14 +77,14 @@ class AST::Node # # @return [AST::Node] # - # source://ast//lib/ast/node.rb#168 + # source://ast//lib/ast/node.rb#172 def +(array); end # Appends `element` to `children` and returns the resulting node. # # @return [AST::Node] # - # source://ast//lib/ast/node.rb#177 + # source://ast//lib/ast/node.rb#181 def <<(element); end # Compares `self` to `other`, possibly converting with `to_ast`. Only @@ -123,7 +123,7 @@ class AST::Node # # @return self # - # source://ast//lib/ast/node.rb#115 + # source://ast//lib/ast/node.rb#118 def clone; end # Concatenates `array` with `children` and returns the resulting node. @@ -186,7 +186,7 @@ class AST::Node # # @return [Array] # - # source://ast//lib/ast/node.rb#56 + # source://ast//lib/ast/node.rb#57 def to_a; end # @return [AST::Node] self @@ -199,7 +199,7 @@ class AST::Node # @param indent [Integer] Base indentation level. # @return [String] # - # source://ast//lib/ast/node.rb#187 + # source://ast//lib/ast/node.rb#204 def to_s(indent = T.unsafe(nil)); end # Converts `self` to a pretty-printed s-expression. @@ -266,6 +266,7 @@ class AST::Node private + # source://ast//lib/ast/node.rb#107 def original_dup; end end diff --git a/sorbet/rbi/gems/bcrypt@3.1.20.rbi b/sorbet/rbi/gems/bcrypt@3.1.20.rbi index a40921b8a..7a6240380 100644 --- a/sorbet/rbi/gems/bcrypt@3.1.20.rbi +++ b/sorbet/rbi/gems/bcrypt@3.1.20.rbi @@ -218,7 +218,7 @@ class BCrypt::Password < ::String # @password.to_s == @password # => True # @password.to_s == @password.to_s # => True # - # source://bcrypt//lib/bcrypt/password.rb#76 + # source://bcrypt//lib/bcrypt/password.rb#79 def is_password?(secret); end # The salt of the store password hash (including version and cost). diff --git a/sorbet/rbi/gems/concurrent-ruby@1.3.3.rbi b/sorbet/rbi/gems/concurrent-ruby@1.3.3.rbi index 37b640fbd..de181823a 100644 --- a/sorbet/rbi/gems/concurrent-ruby@1.3.3.rbi +++ b/sorbet/rbi/gems/concurrent-ruby@1.3.3.rbi @@ -110,7 +110,7 @@ module Concurrent # # @raise [Transaction::AbortError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#139 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 def abort_transaction; end # Run a block that reads and writes `TVar`s as a single atomic transaction. @@ -145,7 +145,7 @@ module Concurrent # end # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#82 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 def atomically; end # Number of processors cores available for process scheduling. @@ -162,7 +162,7 @@ module Concurrent # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#56 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#80 def call_dataflow(method, executor, *inputs, &block); end # The maximum number of processors cores available for process scheduling. @@ -202,16 +202,16 @@ module Concurrent # @yieldparam inputs [Future] each of the `Future` inputs to the dataflow # @yieldreturn [Object] the result of the block operation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#34 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#37 def dataflow(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#44 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#47 def dataflow!(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#39 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#42 def dataflow_with(executor, *inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#49 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#52 def dataflow_with!(executor, *inputs, &block); end # Disables AtExit handlers including pool auto-termination handlers. @@ -277,7 +277,7 @@ module Concurrent # # @raise [Transaction::LeaveError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#144 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 def leave_transaction; end # Returns the current time as tracked by the application monotonic clock. @@ -288,7 +288,7 @@ module Concurrent # @return [Float] The current monotonic time since some unspecified # starting point # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/monotonic_time.rb#15 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/monotonic_time.rb#18 def monotonic_time(unit = T.unsafe(nil)); end # @return [Boolean] @@ -886,7 +886,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#229 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#233 def deref; end # When {#failed?} and {#error_mode} is `:fail`, returns the error object @@ -939,7 +939,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # action # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#294 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#298 def post(*args, &action); end # When {#failed?} and {#error_mode} is `:fail`, returns the error object @@ -948,7 +948,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # # @return [nil, Error] the error which caused the failure when {#failed?} # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#240 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#244 def reason; end # When an Agent is {#failed?}, changes the Agent {#value} to `new_value` @@ -1164,7 +1164,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @return [Boolean] # @see #restart # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#402 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#406 def stopped?; end # The current value (state) of the Agent, irrespective of any pending or @@ -1315,52 +1315,77 @@ class Concurrent::Agent::Job < ::Struct # Returns the value of attribute action # # @return [Object] the current value of action + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def action; end # Sets the attribute action # # @param value [Object] the value to set the attribute action to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def action=(_); end # Returns the value of attribute args # # @return [Object] the current value of args + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def args; end # Sets the attribute args # # @param value [Object] the value to set the attribute args to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def args=(_); end # Returns the value of attribute caller # # @return [Object] the current value of caller + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def caller; end # Sets the attribute caller # # @param value [Object] the value to set the attribute caller to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def caller=(_); end # Returns the value of attribute executor # # @return [Object] the current value of executor + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def executor; end # Sets the attribute executor # # @param value [Object] the value to set the attribute executor to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def executor=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 def new(*_arg0); end end end @@ -1665,7 +1690,7 @@ module Concurrent::Async # requested method # @return [Concurrent::IVar] the completed result of the synchronous operation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#430 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#433 def call; end # Causes the chained method call to be performed asynchronously on the @@ -1685,7 +1710,7 @@ module Concurrent::Async # the requested method # @return [Concurrent::IVar] the pending result of the asynchronous operation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#412 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#415 def cast; end # Initialize the internal serializer and other stnchronization mechanisms. @@ -1909,7 +1934,7 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#121 def initialize(value, opts = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def __initialize_atomic_fields__; end # Atomically sets the value of atom to the new value if and only if the @@ -1924,7 +1949,7 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#181 def compare_and_set(old_value, new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#102 def deref; end # Atomically sets the value of atom to the new value without regard for the @@ -1971,18 +1996,18 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # # @return [Object] The current value. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def value; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def compare_and_set_value(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def swap_value(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def update_value(&block); end # Is the new value valid? @@ -1994,7 +2019,7 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#216 def valid?(new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 def value=(value); end end @@ -2056,7 +2081,7 @@ end class Concurrent::AtomicBoolean < ::Concurrent::MutexAtomicBoolean # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#121 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#125 def inspect; end # @return [String] Short string representation. @@ -2140,7 +2165,7 @@ end class Concurrent::AtomicFixnum < ::Concurrent::MutexAtomicFixnum # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#138 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#142 def inspect; end # @return [String] Short string representation. @@ -2166,7 +2191,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#15 def initialize(value = T.unsafe(nil), mark = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def __initialize_atomic_fields__; end # Atomically sets the value and mark to the given updated value and @@ -2200,7 +2225,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @param new_mark [Boolean] the new mark # @return [Boolean] `true` if successful. A `false` return indicates # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#33 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#59 def compare_and_swap(expected_val, new_val, expected_mark, new_mark); end # Gets the current reference and marked values. @@ -2221,7 +2246,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # # @return [Boolean] the current marked value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#82 def marked?; end # _Unconditionally_ sets to the given value of both the reference and @@ -2284,22 +2309,22 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def compare_and_set_reference(expected, value); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#163 def immutable_array(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def reference; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def reference=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def swap_reference(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 def update_reference(&block); end end @@ -2363,7 +2388,7 @@ end class Concurrent::AtomicReference < ::Concurrent::MutexAtomicReference # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#129 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#133 def inspect; end # @return [String] Short string representation. @@ -2377,195 +2402,195 @@ Concurrent::AtomicReferenceImplementation = Concurrent::MutexAtomicReference # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#30 class Concurrent::CRubySet < ::Set - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#18 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def initialize(*args, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def &(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def +(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def -(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <<(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <=(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def <=>(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def ==(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def ===(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def >(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def >=(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def ^(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def add(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def add?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def classify(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def clear(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def collect!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def compare_by_identity(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def compare_by_identity?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def delete(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def delete?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def delete_if(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def difference(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def disjoint?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def divide(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def each(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def empty?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def eql?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def filter!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def flatten(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def flatten!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def flatten_merge(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def freeze(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def hash(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def include?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def inspect(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def intersect?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def intersection(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def join(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def keep_if(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def length(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def map!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def member?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def merge(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def pretty_print(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def pretty_print_cycle(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def proper_subset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def proper_superset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def reject!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def replace(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def reset(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def select!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def size(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def subset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def subtract(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def superset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def to_a(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def to_s(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def to_set(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def union(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#32 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def |(*args); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#23 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 def initialize_copy(other); end end @@ -3003,7 +3028,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param item [Object] the item to insert onto the queue # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#59 def <<(item); end # Removes all of the elements from this priority queue. @@ -3024,7 +3049,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # # @return [Object] the head of the queue or `nil` when empty # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#65 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#56 def deq; end # Returns `true` if `self` contains no elements. @@ -3039,7 +3064,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param item [Object] the item to insert onto the queue # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#78 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#60 def enq(item); end # Returns `true` if the given item is present in `self` (that is, if any @@ -3048,7 +3073,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param item [Object] the item to search for # @return [Boolean] true if the item is found else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#48 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#52 def has_priority?(item); end # Returns `true` if the given item is present in `self` (that is, if any @@ -3096,14 +3121,14 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # # @return [Object] the head of the queue or `nil` when empty # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#65 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#57 def shift; end # The current length of the queue. # # @return [Fixnum] the number of items in the queue # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#54 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#54 def size; end private @@ -3180,7 +3205,7 @@ module Concurrent::Concern::Dereferenceable # # @return [Object] the current value of the object # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#21 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#24 def deref; end # Return the value this object represents after applying the options specified @@ -3289,7 +3314,7 @@ module Concurrent::Concern::Obligation # @raise [Exception] raises the reason when rejected # @return [Obligation] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#86 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#89 def no_error!(timeout = T.unsafe(nil)); end # Is obligation completion still pending? @@ -3303,7 +3328,7 @@ module Concurrent::Concern::Obligation # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#20 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#23 def realized?; end # If an exception was raised during processing this will return the @@ -3673,19 +3698,32 @@ class Concurrent::CyclicBarrier::Generation < ::Struct # Returns the value of attribute status # # @return [Object] the current value of status + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def status; end # Sets the attribute status # # @param value [Object] the value to set the attribute status to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def status=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 def new(*_arg0); end end end @@ -4464,7 +4502,7 @@ class Concurrent::ImmediateExecutor < ::Concurrent::AbstractExecutorService # but no new tasks will be accepted. Has no additional effect if the # thread pool is not running. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#55 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#59 def kill; end # Submit a task to the executor for asynchronous processing. @@ -4552,13 +4590,13 @@ module Concurrent::ImmutableStruct # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#68 def select(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#17 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#21 def to_a; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#41 def to_h; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#33 def to_s; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#17 @@ -4645,7 +4683,7 @@ class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#51 def initialize(head = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def __initialize_atomic_fields__; end # @return [true, false] @@ -4699,7 +4737,7 @@ class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#154 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#158 def inspect; end # @return [Node] @@ -4732,19 +4770,19 @@ class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def compare_and_set_head(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def head; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def head=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def swap_head(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 def update_head(&block); end class << self @@ -4969,7 +5007,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yieldparam key [Object] # @yieldparam value [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#274 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#279 def each; end # Iterates over each key. @@ -5269,7 +5307,7 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # # @return [Boolean] True if `Just` or false if `Nothing`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#176 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#179 def fulfilled?; end # The value of a `Maybe` when `Just`. Will be `NONE` when `Nothing`. @@ -5305,19 +5343,19 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # The reason for the `Maybe` when `Nothing`. Will be `NONE` when `Just`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#117 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#191 def reason; end # Is this `Maybe` a `nothing` (rejected with an exception upon fulfillment)? # # @return [Boolean] True if `Nothing` or false if `Just`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#184 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#187 def rejected?; end # The value of a `Maybe` when `Just`. Will be `NONE` when `Nothing`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#114 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#189 def value; end class << self @@ -5360,7 +5398,7 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#119 def new(*args, &block); end end end @@ -5505,7 +5543,7 @@ module Concurrent::MutableStruct # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#51 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#54 def to_a; end # Returns a hash containing the names and values for the struct’s members. @@ -5519,7 +5557,7 @@ module Concurrent::MutableStruct # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#72 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#75 def to_s; end # Returns the values for this struct as an Array. @@ -5792,7 +5830,7 @@ class Concurrent::MutexAtomicFixnum # @param delta [Fixnum] the amount by which to decrease the current value # @return [Fixnum] the current value after decrementation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#37 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#41 def down(delta = T.unsafe(nil)); end # Increases the current value by the given amount (defaults to 1). @@ -5808,7 +5846,7 @@ class Concurrent::MutexAtomicFixnum # @param delta [Fixnum] the amount by which to increase the current value # @return [Fixnum] the current value after incrementation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#30 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#34 def up(delta = T.unsafe(nil)); end # Pass the current value to the given block, replacing it @@ -5874,7 +5912,7 @@ class Concurrent::MutexAtomicReference # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#45 def _compare_and_set(old_value, new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb#10 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#13 def compare_and_swap(old_value, new_value); end # Gets the current value. @@ -5905,14 +5943,14 @@ class Concurrent::MutexAtomicReference # @param new_value [Object] the new value # @return [Object] the old value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#35 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#42 def swap(new_value); end # Gets the current value. # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#23 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#26 def value; end # Sets to the given value. @@ -5920,7 +5958,7 @@ class Concurrent::MutexAtomicReference # @param new_value [Object] the new value # @return [Object] the new value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#32 def value=(new_value); end protected @@ -6254,7 +6292,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#360 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#364 def catch(&block); end # Execute an `:unscheduled` `Promise`. Immediately sets the state to `:pending` and @@ -6294,7 +6332,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#360 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#365 def on_error(&block); end # Chain onto this promise an action to be undertaken on success @@ -6527,7 +6565,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#522 def initialize(promise, default_executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def __initialize_atomic_fields__; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#738 @@ -6594,10 +6632,10 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#619 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#623 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def internal_state; end # Shortcut of {#on_resolution_using} with default `:io` executor supplied. @@ -6671,7 +6709,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @param resolvable [Resolvable] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#629 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#633 def tangle(resolvable); end # @return [String] Short string representation. @@ -6746,16 +6784,16 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#818 def callback_notify_blocked(state, promise, index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def compare_and_set_internal_state(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def internal_state=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def swap_internal_state(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 def update_internal_state(&block); end # @return [Boolean] @@ -6815,13 +6853,13 @@ class Concurrent::Promises::AbstractPromise < ::Concurrent::Synchronization::Obj # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1581 def delayed_because; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1558 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1562 def event; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1558 def future; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1575 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1579 def inspect; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1568 @@ -6946,7 +6984,7 @@ class Concurrent::Promises::BlockedPromise < ::Concurrent::Promises::InnerPromis private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1621 def new(*args, &block); end end end @@ -7001,7 +7039,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Future, Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#839 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#847 def &(other); end # Creates a new event which will be resolved when the first of receiver, `event_or_future` @@ -7072,7 +7110,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#853 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#857 def |(event_or_future); end private @@ -7114,7 +7152,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #any_resolved_future_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#278 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#282 def any(*futures_and_or_events); end # Shortcut of {#any_event_on} with default `:io` executor supplied. @@ -7360,7 +7398,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #zip_futures_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#240 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#258 def zip(*futures_and_or_events); end # Shortcut of {#zip_events_on} with default `:io` executor supplied. @@ -7457,7 +7495,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1070 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1078 def &(other); end # Creates a new event which will be resolved when the first of receiver, `event_or_future` @@ -7498,7 +7536,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @param level [Integer] how many levels of futures should flatten # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1120 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1124 def flat(level = T.unsafe(nil)); end # Creates new event which will be resolved when the returned event by receiver is. @@ -7527,7 +7565,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1235 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1243 def inspect; end # Shortcut of {#on_fulfillment_using} with default `:io` executor supplied. @@ -7804,7 +7842,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1085 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1089 def |(event_or_future); end private @@ -8246,7 +8284,7 @@ class Concurrent::Promises::ResolvableFuturePromise < ::Concurrent::Promises::Ab # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1607 def initialize(default_executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1592 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1611 def evaluate_to(*args, block); end end @@ -8748,22 +8786,22 @@ class Concurrent::RubyExchanger < ::Concurrent::AbstractExchanger # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#159 def initialize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def __initialize_atomic_fields__; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def compare_and_set_slot(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def slot; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def slot=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def swap_slot(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 def update_slot(&block); end private @@ -8792,10 +8830,10 @@ class Concurrent::RubyExchanger::Node < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#142 def initialize(item); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def __initialize_atomic_fields__; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#105 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def compare_and_set_value(expected, value); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#153 @@ -8804,16 +8842,16 @@ class Concurrent::RubyExchanger::Node < ::Concurrent::Synchronization::Object # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#149 def latch; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#101 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def swap_value(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#109 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def update_value(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#93 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def value; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#97 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 def value=(value); end end @@ -9447,7 +9485,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#135 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 def fail(reason = T.unsafe(nil)); end # Reschedule the task using the given delay and the current time. @@ -9467,10 +9505,10 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#312 def ns_schedule(delay); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#113 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 def set(value = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#145 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 def try_set(value = T.unsafe(nil), &block); end class << self @@ -9633,23 +9671,31 @@ class Concurrent::SerializedExecution::Job < ::Struct # Returns the value of attribute args # # @return [Object] the current value of args + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def args; end # Sets the attribute args # # @param value [Object] the value to set the attribute args to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def args=(_); end # Returns the value of attribute block # # @return [Object] the current value of block + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def block; end # Sets the attribute block # # @param value [Object] the value to set the attribute block to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def block=(_); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#17 @@ -9658,19 +9704,32 @@ class Concurrent::SerializedExecution::Job < ::Struct # Returns the value of attribute executor # # @return [Object] the current value of executor + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def executor; end # Sets the attribute executor # # @param value [Object] the value to set the attribute executor to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def executor=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 def new(*_arg0); end end end @@ -9826,7 +9885,7 @@ module Concurrent::SettableStruct # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#18 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#21 def to_a; end # Returns a hash containing the names and values for the struct’s members. @@ -9840,7 +9899,7 @@ module Concurrent::SettableStruct # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#32 def to_s; end # Returns the values for this struct as an Array. @@ -10163,7 +10222,7 @@ module Concurrent::Synchronization::AbstractStruct # # @return [Fixnum] the number of struct members # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#19 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#22 def size; end protected @@ -10310,12 +10369,12 @@ class Concurrent::Synchronization::Condition < ::Concurrent::Synchronization::Lo def wait_until(timeout = T.unsafe(nil), &condition); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#15 def private_new(*args, &block); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#16 def new(*args, &block); end end end @@ -10338,22 +10397,22 @@ class Concurrent::Synchronization::Lock < ::Concurrent::Synchronization::Lockabl # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#31 def broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#16 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#35 def ns_broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#11 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#29 def ns_signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#52 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#17 def ns_wait(timeout = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#37 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#23 def ns_wait_until(timeout = T.unsafe(nil), &condition); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#25 def signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#44 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#11 def synchronize; end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#13 @@ -10974,7 +11033,7 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#166 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#66 def <<(task); end # Initialize the object. @@ -11243,7 +11302,7 @@ class Concurrent::TimerTask < ::Concurrent::RubyExecutorService private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#166 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#292 def <<(task); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#352 @@ -11261,7 +11320,7 @@ class Concurrent::TimerTask < ::Concurrent::RubyExecutorService # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#318 def ns_shutdown_execution; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#17 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#292 def post(*args, &task); end # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#330 @@ -11361,30 +11420,47 @@ class Concurrent::Transaction::OpenEntry < ::Struct # Returns the value of attribute modified # # @return [Object] the current value of modified + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def modified; end # Sets the attribute modified # # @param value [Object] the value to set the attribute modified to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def modified=(_); end # Returns the value of attribute value # # @return [Object] the current value of value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def value; end # Sets the attribute value # # @param value [Object] the value to set the attribute value to. # @return [Object] the newly set value + # + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def value=(_); end class << self + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def [](*_arg0); end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def inspect; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def keyword_init?; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def members; end + + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 def new(*_arg0); end end end @@ -11424,7 +11500,7 @@ class Concurrent::Tuple # @param new_value [Object] the value to set at the given index # @return [Boolean] true if the value at the given element was set else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#69 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#73 def cas(i, old_value, new_value); end # Set the value at the given index to the new value if and only if the current @@ -11472,7 +11548,7 @@ class Concurrent::Tuple # @param i [Integer] the index from which to retrieve the value # @return [Object] the value at the given index or nil if the index is out of bounds # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#43 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#47 def volatile_get(i); end # Set the element at the given index to the given value @@ -11481,7 +11557,7 @@ class Concurrent::Tuple # @param value [Object] the value to set at the given index # @return [Object] the new value of the element at the given index or nil if the index is out of bounds # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#55 + # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#59 def volatile_set(i, value); end end diff --git a/sorbet/rbi/gems/config@5.5.1.rbi b/sorbet/rbi/gems/config@5.5.1.rbi index d8a7c49c6..acb969c4d 100644 --- a/sorbet/rbi/gems/config@5.5.1.rbi +++ b/sorbet/rbi/gems/config@5.5.1.rbi @@ -138,7 +138,7 @@ class Config::Options < ::OpenStruct # look through all our sources and rebuild the configuration # - # source://config//lib/config/options.rb#35 + # source://config//lib/config/options.rb#63 def load!; end # source://config//lib/config/options.rb#133 @@ -179,7 +179,7 @@ class Config::Options < ::OpenStruct # source://config//lib/config/options.rb#133 def test; end - # source://config//lib/config/options.rb#70 + # source://config//lib/config/options.rb#84 def to_h; end # source://config//lib/config/options.rb#70 diff --git a/sorbet/rbi/gems/connection_pool@2.4.1.rbi b/sorbet/rbi/gems/connection_pool@2.4.1.rbi index e43dcc8df..e0bc8bff7 100644 --- a/sorbet/rbi/gems/connection_pool@2.4.1.rbi +++ b/sorbet/rbi/gems/connection_pool@2.4.1.rbi @@ -77,7 +77,7 @@ class ConnectionPool # source://connection_pool//lib/connection_pool.rb#164 def size; end - # source://connection_pool//lib/connection_pool.rb#105 + # source://connection_pool//lib/connection_pool.rb#117 def then(options = T.unsafe(nil)); end # source://connection_pool//lib/connection_pool.rb#105 @@ -137,7 +137,7 @@ class ConnectionPool::TimedStack # Returns +obj+ to the stack. +options+ is ignored in TimedStack but may be # used by subclasses that extend TimedStack. # - # source://connection_pool//lib/connection_pool/timed_stack.rb#41 + # source://connection_pool//lib/connection_pool/timed_stack.rb#52 def <<(obj, options = T.unsafe(nil)); end # Returns +true+ if there are no available connections. diff --git a/sorbet/rbi/gems/drb@2.2.1.rbi b/sorbet/rbi/gems/drb@2.2.1.rbi index d97695d9a..371a922ec 100644 --- a/sorbet/rbi/gems/drb@2.2.1.rbi +++ b/sorbet/rbi/gems/drb@2.2.1.rbi @@ -175,7 +175,7 @@ module DRb # If there is no current server, this returns the default configuration. # See #current_server and DRbServer::make_config. # - # source://drb//lib/drb/drb.rb#1832 + # source://drb//lib/drb/drb.rb#1837 def config; end # Get the 'current' server. @@ -191,14 +191,14 @@ module DRb # # @raise [DRbServerNotFound] # - # source://drb//lib/drb/drb.rb#1789 + # source://drb//lib/drb/drb.rb#1795 def current_server; end # Retrieves the server with the given +uri+. # # See also regist_server and remove_server. # - # source://drb//lib/drb/drb.rb#1934 + # source://drb//lib/drb/drb.rb#1937 def fetch_server(uri); end # Get the front object of the current server. @@ -206,21 +206,21 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1843 + # source://drb//lib/drb/drb.rb#1846 def front; end # Is +uri+ the URI for the current local server? # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1822 + # source://drb//lib/drb/drb.rb#1826 def here?(uri); end # Set the default ACL to +acl+. # # See DRb::DRbServer.default_acl. # - # source://drb//lib/drb/drb.rb#1888 + # source://drb//lib/drb/drb.rb#1891 def install_acl(acl); end # Set the default id conversion object. @@ -230,24 +230,24 @@ module DRb # # See DRbServer#default_id_conv. # - # source://drb//lib/drb/drb.rb#1880 + # source://drb//lib/drb/drb.rb#1883 def install_id_conv(idconv); end - # source://drb//lib/drb/drb.rb#1894 + # source://drb//lib/drb/drb.rb#1897 def mutex; end # The primary local dRuby server. # # This is the server created by the #start_service call. # - # source://drb//lib/drb/drb.rb#1776 + # source://drb//lib/drb/drb.rb#1777 def primary_server; end # The primary local dRuby server. # # This is the server created by the #start_service call. # - # source://drb//lib/drb/drb.rb#1776 + # source://drb//lib/drb/drb.rb#1777 def primary_server=(_arg0); end # Registers +server+ with DRb. @@ -263,12 +263,12 @@ module DRb # s = DRb::DRbServer.new # automatically calls regist_server # DRb.fetch_server s.uri #=> # # - # source://drb//lib/drb/drb.rb#1912 + # source://drb//lib/drb/drb.rb#1918 def regist_server(server); end # Removes +server+ from the list of registered servers. # - # source://drb//lib/drb/drb.rb#1921 + # source://drb//lib/drb/drb.rb#1929 def remove_server(server); end # Start a dRuby server locally. @@ -287,7 +287,7 @@ module DRb # # See DRbServer::new. # - # source://drb//lib/drb/drb.rb#1768 + # source://drb//lib/drb/drb.rb#1771 def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end # Stop the local dRuby server. @@ -295,14 +295,14 @@ module DRb # This operates on the primary server. If there is no primary # server currently running, it is a noop. # - # source://drb//lib/drb/drb.rb#1801 + # source://drb//lib/drb/drb.rb#1805 def stop_service; end # Get the thread of the primary server. # # This returns nil if there is no primary server. See #primary_server. # - # source://drb//lib/drb/drb.rb#1869 + # source://drb//lib/drb/drb.rb#1872 def thread; end # Get a reference id for an object using the current server. @@ -310,7 +310,7 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1860 + # source://drb//lib/drb/drb.rb#1863 def to_id(obj); end # Convert a reference into an object using the current server. @@ -318,14 +318,14 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1852 + # source://drb//lib/drb/drb.rb#1864 def to_obj(ref); end # Get the URI defining the local dRuby space. # # This is the URI of the current server. See #current_server. # - # source://drb//lib/drb/drb.rb#1810 + # source://drb//lib/drb/drb.rb#1819 def uri; end end end @@ -504,7 +504,7 @@ class DRb::DRbObject # source://drb//lib/drb/drb.rb#1080 def _dump(lv); end - # source://drb//lib/drb/eq.rb#4 + # source://drb//lib/drb/eq.rb#13 def eql?(other); end # source://drb//lib/drb/eq.rb#9 @@ -682,10 +682,10 @@ module DRb::DRbProtocol class << self # Add a new protocol to the DRbProtocol module. # - # source://drb//lib/drb/drb.rb#724 + # source://drb//lib/drb/drb.rb#727 def add_protocol(prot); end - # source://drb//lib/drb/drb.rb#802 + # source://drb//lib/drb/drb.rb#807 def auto_load(uri); end # Open a client connection to +uri+ with the configuration +config+. @@ -698,7 +698,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#736 + # source://drb//lib/drb/drb.rb#753 def open(uri, config, first = T.unsafe(nil)); end # Open a server listening for connections at +uri+ with @@ -713,7 +713,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#764 + # source://drb//lib/drb/drb.rb#777 def open_server(uri, config, first = T.unsafe(nil)); end # Parse +uri+ into a [uri, option] pair. @@ -725,7 +725,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#785 + # source://drb//lib/drb/drb.rb#800 def uri_option(uri, config, first = T.unsafe(nil)); end end end @@ -1189,7 +1189,7 @@ class DRb::DRbURIOption # source://drb//lib/drb/drb.rb#1028 def ==(other); end - # source://drb//lib/drb/drb.rb#1028 + # source://drb//lib/drb/drb.rb#1037 def eql?(other); end # source://drb//lib/drb/drb.rb#1033 diff --git a/sorbet/rbi/gems/erubi@1.13.0.rbi b/sorbet/rbi/gems/erubi@1.13.0.rbi index 16d45faf0..1d3b459cf 100644 --- a/sorbet/rbi/gems/erubi@1.13.0.rbi +++ b/sorbet/rbi/gems/erubi@1.13.0.rbi @@ -9,9 +9,11 @@ module Erubi private + # source://erubi//lib/erubi.rb#22 def h(_arg0); end class << self + # source://erubi//lib/erubi.rb#49 def h(_arg0); end end end diff --git a/sorbet/rbi/gems/faraday-gzip@2.0.1.rbi b/sorbet/rbi/gems/faraday-gzip@2.0.1.rbi index 965abfaa3..b891061d7 100644 --- a/sorbet/rbi/gems/faraday-gzip@2.0.1.rbi +++ b/sorbet/rbi/gems/faraday-gzip@2.0.1.rbi @@ -6,62 +6,7 @@ # source://faraday-gzip//lib/faraday/gzip/middleware.rb#5 -module Faraday - class << self - # source://faraday/2.9.0/lib/faraday.rb#55 - def default_adapter; end - - # source://faraday/2.9.0/lib/faraday.rb#102 - def default_adapter=(adapter); end - - # source://faraday/2.9.0/lib/faraday.rb#59 - def default_adapter_options; end - - # source://faraday/2.9.0/lib/faraday.rb#59 - def default_adapter_options=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#120 - def default_connection; end - - # source://faraday/2.9.0/lib/faraday.rb#62 - def default_connection=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#127 - def default_connection_options; end - - # source://faraday/2.9.0/lib/faraday.rb#134 - def default_connection_options=(options); end - - # source://faraday/2.9.0/lib/faraday.rb#67 - def ignore_env_proxy; end - - # source://faraday/2.9.0/lib/faraday.rb#67 - def ignore_env_proxy=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#46 - def lib_path; end - - # source://faraday/2.9.0/lib/faraday.rb#46 - def lib_path=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#96 - def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://faraday/2.9.0/lib/faraday.rb#107 - def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end - - # source://faraday/2.9.0/lib/faraday.rb#42 - def root_path; end - - # source://faraday/2.9.0/lib/faraday.rb#42 - def root_path=(_arg0); end - - private - - # source://faraday/2.9.0/lib/faraday.rb#143 - def method_missing(name, *args, &block); end - end -end +module Faraday; end # Middleware main module. # diff --git a/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi b/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi index 6f42313f2..7676ff405 100644 --- a/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi +++ b/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi @@ -6,85 +6,10 @@ # source://faraday-net_http//lib/faraday/adapter/net_http.rb#12 -module Faraday - class << self - # source://faraday/2.9.0/lib/faraday.rb#55 - def default_adapter; end - - # source://faraday/2.9.0/lib/faraday.rb#102 - def default_adapter=(adapter); end - - # source://faraday/2.9.0/lib/faraday.rb#59 - def default_adapter_options; end - - # source://faraday/2.9.0/lib/faraday.rb#59 - def default_adapter_options=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#120 - def default_connection; end - - # source://faraday/2.9.0/lib/faraday.rb#62 - def default_connection=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#127 - def default_connection_options; end - - # source://faraday/2.9.0/lib/faraday.rb#134 - def default_connection_options=(options); end - - # source://faraday/2.9.0/lib/faraday.rb#67 - def ignore_env_proxy; end - - # source://faraday/2.9.0/lib/faraday.rb#67 - def ignore_env_proxy=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#46 - def lib_path; end - - # source://faraday/2.9.0/lib/faraday.rb#46 - def lib_path=(_arg0); end - - # source://faraday/2.9.0/lib/faraday.rb#96 - def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://faraday/2.9.0/lib/faraday.rb#107 - def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end - - # source://faraday/2.9.0/lib/faraday.rb#42 - def root_path; end - - # source://faraday/2.9.0/lib/faraday.rb#42 - def root_path=(_arg0); end - - private - - # source://faraday/2.9.0/lib/faraday.rb#143 - def method_missing(name, *args, &block); end - end -end +module Faraday; end # source://faraday-net_http//lib/faraday/adapter/net_http.rb#13 -class Faraday::Adapter - # source://faraday/2.9.0/lib/faraday/adapter.rb#28 - def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end - - # source://faraday/2.9.0/lib/faraday/adapter.rb#55 - def call(env); end - - # source://faraday/2.9.0/lib/faraday/adapter.rb#50 - def close; end - - # source://faraday/2.9.0/lib/faraday/adapter.rb#41 - def connection(env); end - - private - - # source://faraday/2.9.0/lib/faraday/adapter.rb#85 - def request_timeout(type, options); end - - # source://faraday/2.9.0/lib/faraday/adapter.rb#62 - def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil), finished: T.unsafe(nil)); end -end +class Faraday::Adapter; end # source://faraday-net_http//lib/faraday/adapter/net_http.rb#14 class Faraday::Adapter::NetHttp < ::Faraday::Adapter diff --git a/sorbet/rbi/gems/faraday@2.9.0.rbi b/sorbet/rbi/gems/faraday@2.9.0.rbi index 7b6bee79b..4ebeb901a 100644 --- a/sorbet/rbi/gems/faraday@2.9.0.rbi +++ b/sorbet/rbi/gems/faraday@2.9.0.rbi @@ -320,23 +320,31 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute block # # @return [Object] the current value of block + # + # source://faraday//lib/faraday/adapter/test.rb#187 def block; end # Sets the attribute block # # @param value [Object] the value to set the attribute block to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def block=(_); end # Returns the value of attribute body # # @return [Object] the current value of body + # + # source://faraday//lib/faraday/adapter/test.rb#187 def body; end # Sets the attribute body # # @param value [Object] the value to set the attribute body to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def body=(_); end # @return [Boolean] @@ -347,12 +355,16 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute headers # # @return [Object] the current value of headers + # + # source://faraday//lib/faraday/adapter/test.rb#187 def headers; end # Sets the attribute headers # # @param value [Object] the value to set the attribute headers to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def headers=(_); end # @return [Boolean] @@ -363,12 +375,16 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute host # # @return [Object] the current value of host + # + # source://faraday//lib/faraday/adapter/test.rb#187 def host; end # Sets the attribute host # # @param value [Object] the value to set the attribute host to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def host=(_); end # @param env [Faraday::Env] @@ -386,12 +402,16 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://faraday//lib/faraday/adapter/test.rb#187 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def path=(_); end # @return [Boolean] @@ -402,33 +422,50 @@ class Faraday::Adapter::Test::Stub < ::Struct # Returns the value of attribute query # # @return [Object] the current value of query + # + # source://faraday//lib/faraday/adapter/test.rb#187 def query; end # Sets the attribute query # # @param value [Object] the value to set the attribute query to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def query=(_); end # Returns the value of attribute strict_mode # # @return [Object] the current value of strict_mode + # + # source://faraday//lib/faraday/adapter/test.rb#187 def strict_mode; end # Sets the attribute strict_mode # # @param value [Object] the value to set the attribute strict_mode to. # @return [Object] the newly set value + # + # source://faraday//lib/faraday/adapter/test.rb#187 def strict_mode=(_); end # source://faraday//lib/faraday/adapter/test.rb#253 def to_s; end class << self + # source://faraday//lib/faraday/adapter/test.rb#187 def [](*_arg0); end + + # source://faraday//lib/faraday/adapter/test.rb#187 def inspect; end + + # source://faraday//lib/faraday/adapter/test.rb#187 def keyword_init?; end + + # source://faraday//lib/faraday/adapter/test.rb#187 def members; end + + # source://faraday//lib/faraday/adapter/test.rb#187 def new(*_arg0); end end end @@ -572,10 +609,10 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#63 def initialize(url = T.unsafe(nil), options = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#120 def adapter(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#120 def app(*args, **_arg1, &block); end # Build an absolute URL based on url_prefix. @@ -645,7 +682,7 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#40 def default_parallel_manager=(_arg0); end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def delete(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end # Creates a duplicate of this Faraday::Connection. @@ -659,10 +696,10 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#533 def find_default_proxy; end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def get(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def head(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end # @return [Hash] unencoded HTTP header key/value pairs. @@ -677,10 +714,10 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#114 def headers=(hash); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#338 def host(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#338 def host=(*args, **_arg1, &block); end # Sets up the parallel manager to make a set of requests. @@ -730,10 +767,10 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#108 def params=(hash); end - # source://faraday//lib/faraday/connection.rb#279 + # source://faraday//lib/faraday/connection.rb#278 def patch(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#339 def path_prefix(*args, **_arg1, &block); end # Sets the path prefix and ensures that it always has a leading @@ -745,13 +782,13 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#382 def path_prefix=(value); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#338 def port(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#338 def port=(*args, **_arg1, &block); end - # source://faraday//lib/faraday/connection.rb#279 + # source://faraday//lib/faraday/connection.rb#278 def post(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end # @return [Hash] proxy options. @@ -772,13 +809,13 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#513 def proxy_from_env(url); end - # source://faraday//lib/faraday/connection.rb#279 + # source://faraday//lib/faraday/connection.rb#278 def put(url = T.unsafe(nil), body = T.unsafe(nil), headers = T.unsafe(nil), &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#120 def request(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#120 def response(*args, **_arg1, &block); end # Builds and runs the Faraday::Request. @@ -793,10 +830,10 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#431 def run_request(method, url, body, headers); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#338 def scheme(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#338 def scheme=(*args, **_arg1, &block); end # source://faraday//lib/faraday/connection.rb#371 @@ -812,7 +849,7 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#551 def support_parallel?(adapter); end - # source://faraday//lib/faraday/connection.rb#199 + # source://faraday//lib/faraday/connection.rb#198 def trace(url = T.unsafe(nil), params = T.unsafe(nil), headers = T.unsafe(nil)); end # @return [String] a URI with the prefix used for all requests from this @@ -839,7 +876,7 @@ class Faraday::Connection # source://faraday//lib/faraday/connection.rb#356 def url_prefix=(url, encoder = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/connection.rb#120 def use(*args, **_arg1, &block); end # Yields username and password extracted from a URI if they both exist. @@ -873,43 +910,77 @@ class Faraday::ConnectionFailed < ::Faraday::Error; end # # source://faraday//lib/faraday/options/connection_options.rb#8 class Faraday::ConnectionOptions < ::Faraday::Options + # source://faraday//lib/faraday/options/connection_options.rb#8 def builder; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def builder=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/connection_options.rb#17 def builder_class; end + # source://faraday//lib/faraday/options/connection_options.rb#8 def builder_class=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def headers; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def headers=(_); end # source://faraday//lib/faraday/options/connection_options.rb#19 def new_builder(block); end + # source://faraday//lib/faraday/options/connection_options.rb#8 def parallel_manager; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def parallel_manager=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def params; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def params=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def proxy; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def proxy=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/connection_options.rb#13 def request; end + # source://faraday//lib/faraday/options/connection_options.rb#8 def request=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/connection_options.rb#15 def ssl; end + # source://faraday//lib/faraday/options/connection_options.rb#8 def ssl=(_); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def url; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def url=(_); end class << self + # source://faraday//lib/faraday/options/connection_options.rb#8 def [](*_arg0); end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def inspect; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def keyword_init?; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def members; end + + # source://faraday//lib/faraday/options/connection_options.rb#8 def new(*_arg0); end end end @@ -1015,9 +1086,13 @@ class Faraday::Env < ::Faraday::Options def inspect; end # @return [Symbol] HTTP method (`:get`, `:post`) + # + # source://faraday//lib/faraday/options/env.rb#57 def method; end # @return [Symbol] HTTP method (`:get`, `:post`) + # + # source://faraday//lib/faraday/options/env.rb#57 def method=(_); end # source://faraday//lib/faraday/options/env.rb#133 @@ -1027,27 +1102,39 @@ class Faraday::Env < ::Faraday::Options def parallel?; end # @return [Object] sent if the connection is in parallel mode + # + # source://faraday//lib/faraday/options/env.rb#57 def parallel_manager; end # @return [Object] sent if the connection is in parallel mode + # + # source://faraday//lib/faraday/options/env.rb#57 def parallel_manager=(_); end # @return [Hash] + # + # source://faraday//lib/faraday/options/env.rb#57 def params; end # @return [Hash] + # + # source://faraday//lib/faraday/options/env.rb#57 def params=(_); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/env.rb#74 def params_encoder(*args, **_arg1, &block); end # source://faraday//lib/faraday/options/env.rb#145 def parse_body?; end # @return [String] + # + # source://faraday//lib/faraday/options/env.rb#57 def reason_phrase; end # @return [String] + # + # source://faraday//lib/faraday/options/env.rb#57 def reason_phrase=(_); end # Options for configuring the request. @@ -1067,6 +1154,8 @@ class Faraday::Env < ::Faraday::Options # - `:password` - Proxy server password # # @return [Hash] options for configuring the request. + # + # source://faraday//lib/faraday/options/env.rb#57 def request; end # Options for configuring the request. @@ -1086,42 +1175,70 @@ class Faraday::Env < ::Faraday::Options # - `:password` - Proxy server password # # @return [Hash] options for configuring the request. + # + # source://faraday//lib/faraday/options/env.rb#57 def request=(_); end + # source://faraday//lib/faraday/options/env.rb#57 def request_body; end + + # source://faraday//lib/faraday/options/env.rb#57 def request_body=(_); end # @return [Hash] HTTP Headers to be sent to the server. + # + # source://faraday//lib/faraday/options/env.rb#57 def request_headers; end # @return [Hash] HTTP Headers to be sent to the server. + # + # source://faraday//lib/faraday/options/env.rb#57 def request_headers=(_); end # @return [Response] + # + # source://faraday//lib/faraday/options/env.rb#57 def response; end # @return [Response] + # + # source://faraday//lib/faraday/options/env.rb#57 def response=(_); end + # source://faraday//lib/faraday/options/env.rb#57 def response_body; end + + # source://faraday//lib/faraday/options/env.rb#57 def response_body=(_); end # @return [Hash] HTTP headers from the server + # + # source://faraday//lib/faraday/options/env.rb#57 def response_headers; end # @return [Hash] HTTP headers from the server + # + # source://faraday//lib/faraday/options/env.rb#57 def response_headers=(_); end # @return [Hash] options for configuring SSL requests + # + # source://faraday//lib/faraday/options/env.rb#57 def ssl; end # @return [Hash] options for configuring SSL requests + # + # source://faraday//lib/faraday/options/env.rb#57 def ssl=(_); end # @return [Integer] HTTP response status code + # + # source://faraday//lib/faraday/options/env.rb#57 def status; end # @return [Integer] HTTP response status code + # + # source://faraday//lib/faraday/options/env.rb#57 def status=(_); end # source://faraday//lib/faraday/options/env.rb#169 @@ -1134,24 +1251,35 @@ class Faraday::Env < ::Faraday::Options def success?; end # @return [URI] URI instance for the current request. + # + # source://faraday//lib/faraday/options/env.rb#57 def url; end # @return [URI] URI instance for the current request. + # + # source://faraday//lib/faraday/options/env.rb#57 def url=(_); end class << self + # source://faraday//lib/faraday/options/env.rb#57 def [](*_arg0); end # source://faraday//lib/faraday/options/env.rb#80 def from(value); end + # source://faraday//lib/faraday/options/env.rb#57 def inspect; end + + # source://faraday//lib/faraday/options/env.rb#57 def keyword_init?; end # source://faraday//lib/faraday/options/env.rb#200 def member_set; end + # source://faraday//lib/faraday/options/env.rb#57 def members; end + + # source://faraday//lib/faraday/options/env.rb#57 def new(*_arg0); end end end @@ -1265,7 +1393,7 @@ module Faraday::FlatParamsEncoder # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#23 def encode(params); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9 def escape(*args, **_arg1, &block); end # Returns the value of attribute sort_params. @@ -1280,7 +1408,7 @@ module Faraday::FlatParamsEncoder # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#99 def sort_params=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9 def unescape(*args, **_arg1, &block); end end end @@ -1304,22 +1432,22 @@ class Faraday::Logging::Formatter # source://faraday//lib/faraday/logging/formatter.rb#14 def initialize(logger:, options:); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/logging/formatter.rb#23 def debug(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/logging/formatter.rb#23 def error(*args, **_arg1, &block); end # source://faraday//lib/faraday/logging/formatter.rb#41 def exception(exc); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/logging/formatter.rb#23 def fatal(*args, **_arg1, &block); end # source://faraday//lib/faraday/logging/formatter.rb#52 def filter(filter_word, filter_replacement); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/logging/formatter.rb#23 def info(*args, **_arg1, &block); end # source://faraday//lib/faraday/logging/formatter.rb#25 @@ -1328,7 +1456,7 @@ class Faraday::Logging::Formatter # source://faraday//lib/faraday/logging/formatter.rb#34 def response(env); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/logging/formatter.rb#23 def warn(*args, **_arg1, &block); end private @@ -1489,7 +1617,7 @@ module Faraday::NestedParamsEncoder # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 def array_indices=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173 def escape(*args, **_arg1, &block); end # Returns the value of attribute sort_params. @@ -1504,7 +1632,7 @@ module Faraday::NestedParamsEncoder # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 def sort_params=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173 def unescape(*args, **_arg1, &block); end end end @@ -1573,14 +1701,14 @@ class Faraday::Options < ::Struct # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#113 + # source://faraday//lib/faraday/options.rb#117 def has_key?(key); end # Public # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#127 + # source://faraday//lib/faraday/options.rb#131 def has_value?(value); end # Internal @@ -1689,52 +1817,65 @@ class Faraday::ProxyAuthError < ::Faraday::ClientError; end class Faraday::ProxyOptions < ::Faraday::Options extend ::Forwardable - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def host(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def host=(*args, **_arg1, &block); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/proxy_options.rb#34 def password; end + # source://faraday//lib/faraday/options/proxy_options.rb#8 def password=(_); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def path(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def path=(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def port(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def port=(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def scheme(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/options/proxy_options.rb#10 def scheme=(*args, **_arg1, &block); end + # source://faraday//lib/faraday/options/proxy_options.rb#8 def uri; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def uri=(_); end - # source://faraday//lib/faraday/options.rb#178 + # source://faraday//lib/faraday/options/proxy_options.rb#33 def user; end + # source://faraday//lib/faraday/options/proxy_options.rb#8 def user=(_); end class << self + # source://faraday//lib/faraday/options/proxy_options.rb#8 def [](*_arg0); end # source://faraday//lib/faraday/options/proxy_options.rb#13 def from(value); end + # source://faraday//lib/faraday/options/proxy_options.rb#8 def inspect; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def keyword_init?; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def members; end + + # source://faraday//lib/faraday/options/proxy_options.rb#8 def new(*_arg0); end end end @@ -1833,7 +1974,7 @@ class Faraday::RackBuilder # methods to push onto the various positions in the stack: # - # source://faraday//lib/faraday/rack_builder.rb#118 + # source://faraday//lib/faraday/rack_builder.rb#125 def insert_before(index, *args, **_arg2, &block); end # Locks the middleware stack to ensure no further modifications are made. @@ -1969,12 +2110,18 @@ class Faraday::Request < ::Struct def []=(key, value); end # @return [String] body + # + # source://faraday//lib/faraday/request.rb#27 def body; end # @return [String] body + # + # source://faraday//lib/faraday/request.rb#27 def body=(_); end # @return [Faraday::Utils::Headers] headers + # + # source://faraday//lib/faraday/request.rb#27 def headers; end # Replace request headers, preserving the existing hash type. @@ -1985,9 +2132,13 @@ class Faraday::Request < ::Struct def headers=(hash); end # @return [Symbol] the HTTP method of the Request + # + # source://faraday//lib/faraday/request.rb#27 def http_method; end # @return [Symbol] the HTTP method of the Request + # + # source://faraday//lib/faraday/request.rb#27 def http_method=(_); end # Marshal serialization support. @@ -2006,12 +2157,18 @@ class Faraday::Request < ::Struct def marshal_load(serialised); end # @return [RequestOptions] options + # + # source://faraday//lib/faraday/request.rb#27 def options; end # @return [RequestOptions] options + # + # source://faraday//lib/faraday/request.rb#27 def options=(_); end # @return [Hash] query parameters + # + # source://faraday//lib/faraday/request.rb#27 def params; end # Replace params, preserving the existing hash type. @@ -2022,9 +2179,13 @@ class Faraday::Request < ::Struct def params=(hash); end # @return [URI, String] the path + # + # source://faraday//lib/faraday/request.rb#27 def path; end # @return [URI, String] the path + # + # source://faraday//lib/faraday/request.rb#27 def path=(_); end # @return [Env] the Env for this Request @@ -2047,6 +2208,7 @@ class Faraday::Request < ::Struct def member_set(_arg0, _arg1); end class << self + # source://faraday//lib/faraday/request.rb#27 def [](*_arg0); end # @param request_method [String] @@ -2057,9 +2219,16 @@ class Faraday::Request < ::Struct # source://faraday//lib/faraday/request.rb#39 def create(request_method); end + # source://faraday//lib/faraday/request.rb#27 def inspect; end + + # source://faraday//lib/faraday/request.rb#27 def keyword_init?; end + + # source://faraday//lib/faraday/request.rb#27 def members; end + + # source://faraday//lib/faraday/request.rb#27 def new(*_arg0); end end end @@ -2139,18 +2308,29 @@ class Faraday::Request::Instrumentation::Options < ::Faraday::Options # source://faraday//lib/faraday/request/instrumentation.rb#17 def instrumenter; end + # source://faraday//lib/faraday/request/instrumentation.rb#8 def instrumenter=(_); end # source://faraday//lib/faraday/request/instrumentation.rb#11 def name; end + # source://faraday//lib/faraday/request/instrumentation.rb#8 def name=(_); end class << self + # source://faraday//lib/faraday/request/instrumentation.rb#8 def [](*_arg0); end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def inspect; end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def keyword_init?; end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def members; end + + # source://faraday//lib/faraday/request/instrumentation.rb#8 def new(*_arg0); end end end @@ -2254,38 +2434,89 @@ class Faraday::RequestOptions < ::Faraday::Options # source://faraday//lib/faraday/options/request_options.rb#11 def []=(key, value); end + # source://faraday//lib/faraday/options/request_options.rb#7 def bind; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def bind=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def boundary; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def boundary=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def context; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def context=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def oauth; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def oauth=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def on_data; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def on_data=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def open_timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def open_timeout=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def params_encoder; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def params_encoder=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def proxy; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def proxy=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def read_timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def read_timeout=(_); end # source://faraday//lib/faraday/options/request_options.rb#19 def stream_response?; end + # source://faraday//lib/faraday/options/request_options.rb#7 def timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def timeout=(_); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def write_timeout; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def write_timeout=(_); end class << self + # source://faraday//lib/faraday/options/request_options.rb#7 def [](*_arg0); end + + # source://faraday//lib/faraday/options/request_options.rb#7 def inspect; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def keyword_init?; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def members; end + + # source://faraday//lib/faraday/options/request_options.rb#7 def new(*_arg0); end end end @@ -2312,7 +2543,7 @@ class Faraday::Response # source://faraday//lib/faraday/response.rb#11 def initialize(env = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://faraday//lib/faraday/response.rb#30 def [](*args, **_arg1, &block); end # Expand the env with more properties, without overriding existing ones. @@ -2465,105 +2696,170 @@ class Faraday::SSLError < ::Faraday::Error; end # source://faraday//lib/faraday/options/ssl_options.rb#50 class Faraday::SSLOptions < ::Faraday::Options # @return [String] CA file + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_file; end # @return [String] CA file + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_file=(_); end # @return [String] CA path + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_path; end # @return [String] CA path + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def ca_path=(_); end # @return [OpenSSL::X509::Store] certificate store + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def cert_store; end # @return [OpenSSL::X509::Store] certificate store + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def cert_store=(_); end # @return [OpenSSL::X509::Certificate] certificate (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def certificate; end # @return [OpenSSL::X509::Certificate] certificate (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def certificate=(_); end # @return [String, OpenSSL::X509::Certificate] client certificate + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_cert; end # @return [String, OpenSSL::X509::Certificate] client certificate + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_cert=(_); end # @return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_key; end # @return [String, OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] client key + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def client_key=(_); end # source://faraday//lib/faraday/options/ssl_options.rb#61 def disable?; end # @return [String, Symbol] maximum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def max_version; end # @return [String, Symbol] maximum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def max_version=(_); end # @return [String, Symbol] minimum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def min_version; end # @return [String, Symbol] minimum SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def min_version=(_); end # @return [OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] private key (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def private_key; end # @return [OpenSSL::PKey::RSA, OpenSSL::PKey::DSA] private key (Excon only) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def private_key=(_); end # @return [Boolean] whether to verify SSL certificates or not + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify; end # @return [Boolean] whether to verify SSL certificates or not + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify=(_); end # source://faraday//lib/faraday/options/ssl_options.rb#56 def verify?; end # @return [Integer] maximum depth for the certificate chain verification + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_depth; end # @return [Integer] maximum depth for the certificate chain verification + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_depth=(_); end # @return [Boolean] whether to enable hostname verification on server certificates # during the handshake or not (see https://github.com/ruby/openssl/pull/60) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_hostname; end # @return [Boolean] whether to enable hostname verification on server certificates # during the handshake or not (see https://github.com/ruby/openssl/pull/60) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_hostname=(_); end # source://faraday//lib/faraday/options/ssl_options.rb#66 def verify_hostname?; end # @return [Integer] Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_mode; end # @return [Integer] Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def verify_mode=(_); end # @return [String, Symbol] SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def version; end # @return [String, Symbol] SSL version (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D) + # + # source://faraday//lib/faraday/options/ssl_options.rb#50 def version=(_); end class << self + # source://faraday//lib/faraday/options/ssl_options.rb#50 def [](*_arg0); end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def inspect; end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def keyword_init?; end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def members; end + + # source://faraday//lib/faraday/options/ssl_options.rb#50 def new(*_arg0); end end end @@ -2779,7 +3075,7 @@ class Faraday::Utils::Headers < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#80 + # source://faraday//lib/faraday/utils/headers.rb#84 def has_key?(key); end # @return [Boolean] @@ -2792,12 +3088,12 @@ class Faraday::Utils::Headers < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#80 + # source://faraday//lib/faraday/utils/headers.rb#86 def key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#80 + # source://faraday//lib/faraday/utils/headers.rb#85 def member?(key); end # source://faraday//lib/faraday/utils/headers.rb#95 @@ -2815,7 +3111,7 @@ class Faraday::Utils::Headers < ::Hash # source://faraday//lib/faraday/utils/headers.rb#107 def to_hash; end - # source://faraday//lib/faraday/utils/headers.rb#88 + # source://faraday//lib/faraday/utils/headers.rb#93 def update(other); end protected @@ -2866,7 +3162,7 @@ class Faraday::Utils::ParamsHash < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#19 + # source://faraday//lib/faraday/utils/params_hash.rb#23 def has_key?(key); end # @return [Boolean] @@ -2876,18 +3172,18 @@ class Faraday::Utils::ParamsHash < ::Hash # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#19 + # source://faraday//lib/faraday/utils/params_hash.rb#25 def key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#19 + # source://faraday//lib/faraday/utils/params_hash.rb#24 def member?(key); end # source://faraday//lib/faraday/utils/params_hash.rb#35 def merge(params); end - # source://faraday//lib/faraday/utils/params_hash.rb#27 + # source://faraday//lib/faraday/utils/params_hash.rb#33 def merge!(params); end # source://faraday//lib/faraday/utils/params_hash.rb#44 diff --git a/sorbet/rbi/gems/frozen_record@0.27.2.rbi b/sorbet/rbi/gems/frozen_record@0.27.2.rbi index 3d7b80f46..806dd7f17 100644 --- a/sorbet/rbi/gems/frozen_record@0.27.2.rbi +++ b/sorbet/rbi/gems/frozen_record@0.27.2.rbi @@ -106,19 +106,19 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#298 def [](attr); end - # source://frozen_record//lib/frozen_record/base.rb#298 + # source://frozen_record//lib/frozen_record/base.rb#301 def attribute(attr); end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases?; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns?; end # source://frozen_record//lib/frozen_record/base.rb#290 @@ -127,16 +127,16 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#294 def id; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json?; end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def model_name(&block); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter=(_arg0); end # @return [Boolean] @@ -180,22 +180,22 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#154 def add_index(attribute, unique: T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/base.rb#103 + # source://frozen_record//lib/frozen_record/base.rb#106 def all; end # source://frozen_record//lib/frozen_record/base.rb#159 def attribute(attribute, klass); end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases=(value); end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#72 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_aliases?; end - # source://frozen_record//lib/frozen_record/base.rb#33 + # source://frozen_record//lib/frozen_record/base.rb#36 def attribute_deserializers; end # source://frozen_record//lib/frozen_record/base.rb#33 @@ -204,13 +204,13 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#33 def attribute_deserializers?; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#42 def attribute_method_patterns; end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns=(value); end - # source://activemodel/7.1.3.4/lib/active_model/attribute_methods.rb#73 + # source://frozen_record//lib/frozen_record/base.rb#26 def attribute_method_patterns?; end # source://frozen_record//lib/frozen_record/base.rb#92 @@ -228,7 +228,7 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#112 def average(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # source://frozen_record//lib/frozen_record/base.rb#40 def backend; end # source://frozen_record//lib/frozen_record/base.rb#31 @@ -301,16 +301,16 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#112 def ids(*_arg0, **_arg1, &_arg2); end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json; end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json=(value); end - # source://activemodel/7.1.3.4/lib/active_model/serializers/json.rb#15 + # source://frozen_record//lib/frozen_record/serialization.rb#7 def include_root_in_json?; end - # source://frozen_record//lib/frozen_record/base.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#35 def index_definitions; end # source://frozen_record//lib/frozen_record/base.rb#32 @@ -358,19 +358,19 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#112 def order(*_arg0, **_arg1, &_arg2); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter=(value); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://frozen_record//lib/frozen_record/base.rb#25 def param_delimiter?; end # source://frozen_record//lib/frozen_record/base.rb#112 def pluck(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # source://frozen_record//lib/frozen_record/base.rb#38 def primary_key; end # source://frozen_record//lib/frozen_record/base.rb#79 @@ -423,13 +423,13 @@ class FrozenRecord::Base # source://frozen_record//lib/frozen_record/base.rb#262 def method_missing(name, *args); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # source://frozen_record//lib/frozen_record/base.rb#83 def set_base_path(value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # source://frozen_record//lib/frozen_record/base.rb#71 def set_default_attributes(value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # source://frozen_record//lib/frozen_record/base.rb#77 def set_primary_key(value); end # source://frozen_record//lib/frozen_record/base.rb#234 @@ -599,7 +599,7 @@ class FrozenRecord::Scope # source://frozen_record//lib/frozen_record/scope.rb#36 def find_by_id(id); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # source://frozen_record//lib/frozen_record/scope.rb#12 def find_each(*_arg0, **_arg1, &_arg2); end # source://frozen_record//lib/frozen_record/scope.rb#11 @@ -770,7 +770,7 @@ class FrozenRecord::Scope::Matcher # source://frozen_record//lib/frozen_record/scope.rb#322 def ==(other); end - # source://frozen_record//lib/frozen_record/scope.rb#322 + # source://frozen_record//lib/frozen_record/scope.rb#325 def eql?(other); end # source://frozen_record//lib/frozen_record/scope.rb#306 diff --git a/sorbet/rbi/gems/globalid@1.2.1.rbi b/sorbet/rbi/gems/globalid@1.2.1.rbi index 6e69f0d68..8f263c35b 100644 --- a/sorbet/rbi/gems/globalid@1.2.1.rbi +++ b/sorbet/rbi/gems/globalid@1.2.1.rbi @@ -26,7 +26,7 @@ class GlobalID # source://globalid//lib/global_id/global_id.rb#42 def deconstruct_keys(*_arg0, **_arg1, &_arg2); end - # source://globalid//lib/global_id/global_id.rb#63 + # source://globalid//lib/global_id/global_id.rb#66 def eql?(other); end # source://globalid//lib/global_id/global_id.rb#48 @@ -126,7 +126,7 @@ module GlobalID::Identification # global_id.modal_id # => "1" # global_id.to_param # => "Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x" # - # source://globalid//lib/global_id/identification.rb#37 + # source://globalid//lib/global_id/identification.rb#40 def to_gid(options = T.unsafe(nil)); end # Returns the Global ID parameter of the model. @@ -206,7 +206,7 @@ module GlobalID::Identification # GlobalID::Locator.locate_signed(signup_person_sgid.to_s, for: 'signup_form') # => # # - # source://globalid//lib/global_id/identification.rb#107 + # source://globalid//lib/global_id/identification.rb#110 def to_sgid(options = T.unsafe(nil)); end # Returns the Signed Global ID parameter. @@ -502,7 +502,7 @@ class SignedGlobalID < ::GlobalID # source://globalid//lib/global_id/signed_global_id.rb#57 def purpose; end - # source://globalid//lib/global_id/signed_global_id.rb#66 + # source://globalid//lib/global_id/signed_global_id.rb#69 def to_param; end # source://globalid//lib/global_id/signed_global_id.rb#66 @@ -574,37 +574,8 @@ end # source://globalid//lib/global_id/signed_global_id.rb#5 class SignedGlobalID::ExpiredMessage < ::StandardError; end -# source://globalid//lib/global_id/uri/gid.rb#6 -module URI - include ::URI::RFC2396_REGEXP -end - # source://globalid//lib/global_id/uri/gid.rb#7 class URI::GID < ::URI::Generic - # URI::GID encodes an app unique reference to a specific model as an URI. - # It has the components: app name, model class name, model id and params. - # All components except params are required. - # - # The URI format looks like "gid://app/model_name/model_id". - # - # Simple metadata can be stored in params. Useful if your app has multiple databases, - # for instance, and you need to find out which one to look up the model in. - # - # Params will be encoded as query parameters like so - # "gid://app/model_name/model_id?key=value&another_key=another_value". - # - # Params won't be typecast, they're always strings. - # For convenience params can be accessed using both strings and symbol keys. - # - # Multi value params aren't supported. Any params encoding multiple values under - # the same key will return only the last value. For example, when decoding - # params like "key=first_value&key=last_value" key will only be last_value. - # - # Read the documentation for +parse+, +create+ and +build+ for more. - # - # source://uri/0.13.0/uri/generic.rb#243 - def app; end - # source://globalid//lib/global_id/uri/gid.rb#107 def deconstruct_keys(_keys); end @@ -745,5 +716,3 @@ class URI::GID::InvalidModelIdError < ::URI::InvalidComponentError; end # # source://globalid//lib/global_id/uri/gid.rb#32 class URI::GID::MissingModelIdError < ::URI::InvalidComponentError; end - -class URI::WSS < ::URI::WS; end diff --git a/sorbet/rbi/gems/google-protobuf@4.27.3.rbi b/sorbet/rbi/gems/google-protobuf@4.27.3.rbi index e140c55c7..87c8071ba 100644 --- a/sorbet/rbi/gems/google-protobuf@4.27.3.rbi +++ b/sorbet/rbi/gems/google-protobuf@4.27.3.rbi @@ -401,21 +401,21 @@ class Google::Protobuf::RepeatedField # @return [RepeatedField] a new instance of RepeatedField def initialize(*_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def &(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def *(*args, **_arg1, &block); end def +(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def -(*args, **_arg1, &block); end # @raise [FrozenError] def <<(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def <=>(*args, **_arg1, &block); end def ==(_arg0); end @@ -424,15 +424,15 @@ class Google::Protobuf::RepeatedField # @raise [FrozenError] def []=(_arg0, _arg1); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def assoc(*args, **_arg1, &block); end def at(*_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def bsearch(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def bsearch_index(*args, **_arg1, &block); end # @raise [FrozenError] @@ -443,10 +443,10 @@ class Google::Protobuf::RepeatedField # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def collect!(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def combination(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def compact(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 @@ -454,10 +454,10 @@ class Google::Protobuf::RepeatedField def concat(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def count(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def cycle(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 @@ -469,16 +469,16 @@ class Google::Protobuf::RepeatedField # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def delete_if(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def difference(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def dig(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def drop(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def drop_while(*args, **_arg1, &block); end def dup; end @@ -499,22 +499,22 @@ class Google::Protobuf::RepeatedField # source://google-protobuf//lib/google/protobuf/repeated_field.rb#92 def empty?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def eql?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def fetch(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def fill(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def find_index(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#58 def first(n = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def flatten(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 @@ -523,100 +523,102 @@ class Google::Protobuf::RepeatedField def freeze; end def hash; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def include?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def index(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def insert(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def inspect(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def intersection(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def join(*args, **_arg1, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#151 def keep_if(*args, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#69 def last(n = T.unsafe(nil)); end def length; end + + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#99 def map; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#152 def map!(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def pack(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def permutation(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#81 def pop(n = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def pretty_print(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def pretty_print_cycle(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def product(*args, **_arg1, &block); end # @raise [FrozenError] def push(*_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def rassoc(*args, **_arg1, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#153 def reject!(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def repeated_combination(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def repeated_permutation(*args, **_arg1, &block); end # @raise [FrozenError] def replace(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def reverse(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def reverse!(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def rindex(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def rotate(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def rotate!(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def sample(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 def select!(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def shelljoin(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 def shift(*args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def shuffle(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 @@ -625,6 +627,8 @@ class Google::Protobuf::RepeatedField def size; end # array aliases into enumerable + # + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#97 def slice(*_arg0); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 @@ -643,16 +647,16 @@ class Google::Protobuf::RepeatedField # Also called as a fallback of Object#to_a def to_ary; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def to_s(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def transpose(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def union(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def uniq(*args, **_arg1, &block); end # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 @@ -661,9 +665,10 @@ class Google::Protobuf::RepeatedField # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 def unshift(*args, &block); end + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#98 def values_at; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 def |(*args, **_arg1, &block); end private diff --git a/sorbet/rbi/gems/graphql@2.3.12.rbi b/sorbet/rbi/gems/graphql@2.3.12.rbi index a25c6a1e9..1fb232c73 100644 --- a/sorbet/rbi/gems/graphql@2.3.12.rbi +++ b/sorbet/rbi/gems/graphql@2.3.12.rbi @@ -132,100 +132,100 @@ class GraphQL::Analysis::Analyzer # source://graphql//lib/graphql/analysis/analyzer.rb#27 def analyze?; end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_abstract_node(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_argument(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_directive(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_document(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_enum(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_field(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_fragment_spread(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_inline_fragment(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_input_object(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_list_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_non_null_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_null_value(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_operation_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_type_name(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_variable_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_enter_variable_identifier(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_abstract_node(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_argument(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_directive(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_document(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_enum(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_field(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_fragment_spread(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_inline_fragment(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_input_object(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_list_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_non_null_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_null_value(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_operation_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_type_name(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_variable_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#53 + # source://graphql//lib/graphql/analysis/analyzer.rb#49 def on_leave_variable_identifier(node, parent, visitor); end # The result for this analyzer. Returning {GraphQL::AnalysisError} results @@ -497,25 +497,25 @@ class GraphQL::Analysis::Visitor < ::GraphQL::Language::StaticVisitor # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_enter_operation_definition(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_argument(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_directive(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_field(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_fragment_definition(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_fragment_spread(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_inline_fragment(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#82 + # source://graphql//lib/graphql/analysis/visitor.rb#72 def call_on_leave_operation_definition(node, parent); end # @return [GraphQL::Directive, nil] The most-recently-entered GraphQL::Directive, if currently inside one @@ -652,10 +652,10 @@ class GraphQL::Backtrace # source://graphql//lib/graphql/backtrace.rb#30 def initialize(context, value: T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/backtrace.rb#24 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/backtrace.rb#24 def each(*args, **_arg1, &block); end # source://graphql//lib/graphql/backtrace.rb#34 @@ -664,7 +664,7 @@ class GraphQL::Backtrace # source://graphql//lib/graphql/backtrace.rb#40 def to_a; end - # source://graphql//lib/graphql/backtrace.rb#34 + # source://graphql//lib/graphql/backtrace.rb#38 def to_s; end class << self @@ -1438,7 +1438,7 @@ class GraphQL::Execution::Interpreter::Arguments # source://graphql//lib/graphql/execution/interpreter/arguments.rb#24 def initialize(argument_values:, keyword_arguments: T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def [](*args, **_arg1, &block); end # @return [Hash{Symbol => ArgumentValue}] @@ -1446,10 +1446,10 @@ class GraphQL::Execution::Interpreter::Arguments # source://graphql//lib/graphql/execution/interpreter/arguments.rb#56 def argument_values; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#63 def each_value(*args, **_arg1, &block); end # @return [Boolean] @@ -1457,16 +1457,16 @@ class GraphQL::Execution::Interpreter::Arguments # source://graphql//lib/graphql/execution/interpreter/arguments.rb#58 def empty?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def fetch(*args, **_arg1, &block); end # source://graphql//lib/graphql/execution/interpreter/arguments.rb#65 def inspect; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def key?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def keys(*args, **_arg1, &block); end # The Ruby-style arguments hash, ready for a resolver. @@ -1488,13 +1488,13 @@ class GraphQL::Execution::Interpreter::Arguments # source://graphql//lib/graphql/execution/interpreter/arguments.rb#76 def merge_extras(extra_args); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def size(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def to_h(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 def values(*args, **_arg1, &block); end end @@ -2121,10 +2121,10 @@ class GraphQL::Execution::Lazy::LazyMethodMap::ConcurrentishMap # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#76 def compute_if_absent(key); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#61 def each_pair(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#61 def size(*args, **_arg1, &block); end protected @@ -2589,7 +2589,7 @@ end # source://graphql//lib/graphql/introspection/directive_location_enum.rb#4 class GraphQL::Introspection::DirectiveLocationEnum < ::GraphQL::Schema::Enum; end -# source://graphql//lib/graphql/introspection/directive_location_enum.rb#0 +# source://graphql//lib/graphql/introspection/directive_location_enum.rb#4 class GraphQL::Introspection::DirectiveLocationEnum::UnresolvedValueError < ::GraphQL::Schema::Enum::UnresolvedValueError; end # source://graphql//lib/graphql/introspection/directive_type.rb#4 @@ -2678,7 +2678,7 @@ end # source://graphql//lib/graphql/introspection/type_kind_enum.rb#4 class GraphQL::Introspection::TypeKindEnum < ::GraphQL::Schema::Enum; end -# source://graphql//lib/graphql/introspection/type_kind_enum.rb#0 +# source://graphql//lib/graphql/introspection/type_kind_enum.rb#4 class GraphQL::Introspection::TypeKindEnum::UnresolvedValueError < ::GraphQL::Schema::Enum::UnresolvedValueError; end # source://graphql//lib/graphql/introspection/type_type.rb#4 @@ -3448,39 +3448,39 @@ class GraphQL::Language::Nodes::Argument < ::GraphQL::Language::Nodes::AbstractN # source://graphql//lib/graphql/language/nodes.rb#364 def children; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end # @return [String] the key for this argument # - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # @return [String, Float, Integer, Boolean, Array, InputObject, VariableIdentifier] The value passed for this key # - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def value; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, value); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3490,41 +3490,41 @@ class GraphQL::Language::Nodes::Directive < ::GraphQL::Language::Nodes::Abstract # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), arguments: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, arguments); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3534,7 +3534,7 @@ class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), repeatable: T.unsafe(nil), description: T.unsafe(nil), arguments: T.unsafe(nil), locations: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -3545,44 +3545,44 @@ class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#378 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def locations; end - # source://graphql//lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_location(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def repeatable; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, repeatable, description, arguments, locations); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3593,13 +3593,13 @@ class GraphQL::Language::Nodes::DirectiveLocation < ::GraphQL::Language::Nodes:: def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3625,18 +3625,18 @@ class GraphQL::Language::Nodes::Document < ::GraphQL::Language::Nodes::AbstractN # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(definitions: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # @return [Array] top-level GraphQL units: operations or fragments # - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def definitions; end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#607 @@ -3646,16 +3646,16 @@ class GraphQL::Language::Nodes::Document < ::GraphQL::Language::Nodes::AbstractN def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, definitions); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3668,13 +3668,13 @@ class GraphQL::Language::Nodes::Enum < ::GraphQL::Language::Nodes::NameOnlyNode def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3692,44 +3692,44 @@ class GraphQL::Language::Nodes::EnumTypeDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#751 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_value(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def values; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, description, directives, values); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3742,44 +3742,44 @@ class GraphQL::Language::Nodes::EnumTypeExtension < ::GraphQL::Language::Nodes:: # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_value(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def values; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, directives, values); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3789,7 +3789,7 @@ class GraphQL::Language::Nodes::EnumValueDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # Returns the value of attribute description. @@ -3797,38 +3797,38 @@ class GraphQL::Language::Nodes::EnumValueDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#742 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, description, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3842,16 +3842,16 @@ class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # source://graphql//lib/graphql/language/nodes.rb#397 def initialize(name: T.unsafe(nil), arguments: T.unsafe(nil), directives: T.unsafe(nil), selections: T.unsafe(nil), field_alias: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def alias; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end # source://graphql//lib/graphql/language/nodes.rb#415 @@ -3860,38 +3860,38 @@ class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # source://graphql//lib/graphql/language/nodes.rb#419 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end # source://graphql//lib/graphql/language/nodes.rb#411 def from_a(filename, line, col, field_alias, name, arguments, directives, selections); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3901,7 +3901,7 @@ class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::Ab # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), description: T.unsafe(nil), arguments: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end # source://graphql//lib/graphql/language/nodes.rb#214 @@ -3912,53 +3912,53 @@ class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::Ab # source://graphql//lib/graphql/language/nodes.rb#664 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end # this is so that `children_method_name` of `InputValueDefinition` works properly # with `#replace_child` # - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#674 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end # source://graphql//lib/graphql/language/nodes.rb#675 def merge(new_options); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, type, description, arguments, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -3975,7 +3975,7 @@ class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end # source://graphql//lib/graphql/language/nodes.rb#452 @@ -3984,38 +3984,38 @@ class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#456 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end # source://graphql//lib/graphql/language/nodes.rb#448 def from_a(filename, line, col, name, type, directives, selections); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4027,41 +4027,41 @@ class GraphQL::Language::Nodes::FragmentSpread < ::GraphQL::Language::Nodes::Abs # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4076,44 +4076,44 @@ class GraphQL::Language::Nodes::InlineFragment < ::GraphQL::Language::Nodes::Abs # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, type, directives, selections); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4127,19 +4127,19 @@ class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::Abstra # @return [Array] A list of key-value pairs inside this input object # - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def arguments; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_argument(**node_opts); end # @return [Hash] Recursively turn this input object into a Ruby Hash @@ -4156,16 +4156,16 @@ class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::Abstra def serialize_value_for_hash(value); end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, arguments); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4183,44 +4183,44 @@ class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language: # source://graphql//lib/graphql/language/nodes.rb#770 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, description, directives, fields); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4233,44 +4233,44 @@ class GraphQL::Language::Nodes::InputObjectTypeExtension < ::GraphQL::Language:: # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, directives, fields); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4280,10 +4280,10 @@ class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), default_value: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def default_value; end # Returns the value of attribute description. @@ -4291,41 +4291,41 @@ class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#655 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, type, default_value, description, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4343,50 +4343,50 @@ class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::N # source://graphql//lib/graphql/language/nodes.rb#703 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_interface(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, description, interfaces, directives, fields); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4399,50 +4399,50 @@ class GraphQL::Language::Nodes::InterfaceTypeExtension < ::GraphQL::Language::No # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_interface(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, interfaces, directives, fields); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4455,13 +4455,13 @@ class GraphQL::Language::Nodes::ListType < ::GraphQL::Language::Nodes::WrapperTy def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4476,32 +4476,32 @@ class GraphQL::Language::Nodes::NameOnlyNode < ::GraphQL::Language::Nodes::Abstr # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4514,13 +4514,13 @@ class GraphQL::Language::Nodes::NonNullType < ::GraphQL::Language::Nodes::Wrappe def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4533,13 +4533,13 @@ class GraphQL::Language::Nodes::NullValue < ::GraphQL::Language::Nodes::NameOnly def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4557,47 +4557,47 @@ class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#684 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, interfaces, description, directives, fields); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4610,47 +4610,47 @@ class GraphQL::Language::Nodes::ObjectTypeExtension < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, interfaces, directives, fields); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4667,59 +4667,59 @@ class GraphQL::Language::Nodes::OperationDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#214 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#328 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#336 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_variable(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end # @return [String, nil] The root type for this operation, or `nil` for implicit `"query"` # - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def operation_type; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # @return [Array] Root-level fields on this operation # - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def selections; end # @return [Array] Variable $definitions for this operation # - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def variables; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, operation_type, name, variables, directives, selections); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4729,7 +4729,7 @@ class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # Returns the value of attribute description. @@ -4737,38 +4737,38 @@ class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Node # source://graphql//lib/graphql/language/nodes.rb#638 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, description, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4778,41 +4778,41 @@ class GraphQL::Language::Nodes::ScalarTypeExtension < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#332 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#320 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4822,47 +4822,47 @@ class GraphQL::Language::Nodes::SchemaDefinition < ::GraphQL::Language::Nodes::A # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(query: T.unsafe(nil), mutation: T.unsafe(nil), subscription: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def mutation; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def query; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def subscription; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, query, mutation, subscription, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4872,47 +4872,47 @@ class GraphQL::Language::Nodes::SchemaExtension < ::GraphQL::Language::Nodes::Ab # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(query: T.unsafe(nil), mutation: T.unsafe(nil), subscription: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#326 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#334 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def mutation; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def query; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def subscription; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#322 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, query, mutation, subscription, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4925,13 +4925,13 @@ class GraphQL::Language::Nodes::TypeName < ::GraphQL::Language::Nodes::NameOnlyN def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4941,7 +4941,7 @@ class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), types: T.unsafe(nil), description: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # Returns the value of attribute description. @@ -4949,22 +4949,22 @@ class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes # source://graphql//lib/graphql/language/nodes.rb#724 def description; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # Returns the value of attribute types. @@ -4976,16 +4976,16 @@ class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, types, description, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -4995,25 +4995,25 @@ class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), types: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#325 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#333 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # Returns the value of attribute types. @@ -5025,16 +5025,16 @@ class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes: def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#321 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, types, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -5046,51 +5046,51 @@ class GraphQL::Language::Nodes::VariableDefinition < ::GraphQL::Language::Nodes: # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(name: T.unsafe(nil), type: T.unsafe(nil), default_value: T.unsafe(nil), directives: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil), definition_pos: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#210 def children; end # @return [String, Integer, Float, Boolean, Array, NullValue] A Ruby value to use if no other value is provided # - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def default_value; end - # source://graphql//lib/graphql/language/nodes.rb#193 + # source://graphql//lib/graphql/language/nodes.rb#192 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#327 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#335 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#201 + # source://graphql//lib/graphql/language/nodes.rb#199 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def name; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # @return [TypeName, NonNullType, ListType] The expected type of this value # - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def type; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, name, type, default_value, directives); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -5103,13 +5103,13 @@ class GraphQL::Language::Nodes::VariableIdentifier < ::GraphQL::Language::Nodes: def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -5121,32 +5121,32 @@ class GraphQL::Language::Nodes::WrapperType < ::GraphQL::Language::Nodes::Abstra # source://graphql//lib/graphql/language/nodes.rb#310 def initialize(of_type: T.unsafe(nil), line: T.unsafe(nil), col: T.unsafe(nil), pos: T.unsafe(nil), filename: T.unsafe(nil), source: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#323 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#331 + # source://graphql//lib/graphql/language/nodes.rb#310 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#258 + # source://graphql//lib/graphql/language/nodes.rb#257 def of_type; end - # source://graphql//lib/graphql/language/nodes.rb#260 + # source://graphql//lib/graphql/language/nodes.rb#257 def scalars; end # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#157 + # source://graphql//lib/graphql/language/nodes.rb#152 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#319 + # source://graphql//lib/graphql/language/nodes.rb#310 def from_a(filename, line, col, of_type); end - # source://graphql//lib/graphql/language/nodes.rb#159 + # source://graphql//lib/graphql/language/nodes.rb#152 def visit_method; end end end @@ -5557,127 +5557,127 @@ class GraphQL::Language::StaticVisitor # source://graphql//lib/graphql/language/static_visitor.rb#7 def initialize(document); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_argument(node, parent); end # source://graphql//lib/graphql/language/static_visitor.rb#109 def on_argument_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_directive(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_directive_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_directive_location(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_document(node, parent); end # source://graphql//lib/graphql/language/static_visitor.rb#58 def on_document_children(document_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_enum_value_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_field(node, parent); end # source://graphql//lib/graphql/language/static_visitor.rb#65 def on_field_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_field_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_fragment_definition(node, parent); end # source://graphql//lib/graphql/language/static_visitor.rb#94 def on_fragment_definition_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_fragment_spread(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_inline_fragment(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#94 + # source://graphql//lib/graphql/language/static_visitor.rb#99 def on_inline_fragment_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_object(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_input_value_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_interface_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_interface_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_list_type(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_non_null_type(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_null_value(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_operation_definition(node, parent); end # source://graphql//lib/graphql/language/static_visitor.rb#101 def on_operation_definition_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_scalar_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_scalar_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_schema_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_schema_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_type_name(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_union_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_union_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_variable_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # source://graphql//lib/graphql/language/static_visitor.rb#31 def on_variable_identifier(node, parent); end # Visit `document` and all children @@ -5739,232 +5739,232 @@ class GraphQL::Language::Visitor # source://graphql//lib/graphql/language/visitor.rb#42 def initialize(document); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_argument(node, parent); end # source://graphql//lib/graphql/language/visitor.rb#197 def on_argument_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_argument_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_location(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_location_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_directive_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_document(node, parent); end # source://graphql//lib/graphql/language/visitor.rb#119 def on_document_children(document_node); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_document_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_value_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_value_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_enum_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field(node, parent); end # source://graphql//lib/graphql/language/visitor.rb#132 def on_field_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_field_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_definition(node, parent); end # source://graphql//lib/graphql/language/visitor.rb#176 def on_fragment_definition_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_spread(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_fragment_spread_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_inline_fragment(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#176 + # source://graphql//lib/graphql/language/visitor.rb#182 def on_inline_fragment_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_inline_fragment_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_object_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_value_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_input_value_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#116 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#116 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_interface_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_list_type(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_list_type_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_non_null_type(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_non_null_type_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_null_value(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_null_value_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#109 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_object_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_operation_definition(node, parent); end # source://graphql//lib/graphql/language/visitor.rb#184 def on_operation_definition_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_operation_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_scalar_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_schema_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_type_name(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_type_name_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_union_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#102 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#79 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_identifier(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#96 + # source://graphql//lib/graphql/language/visitor.rb#70 def on_variable_identifier_with_modifications(node, parent); end # @return [GraphQL::Language::Nodes::Document] The document with any modifications applied @@ -6672,7 +6672,7 @@ class GraphQL::Query # source://graphql//lib/graphql/query.rb#337 def analysis_errors=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#334 def analyzers(*args, **_arg1, &block); end # source://graphql//lib/graphql/query.rb#290 @@ -6687,7 +6687,7 @@ class GraphQL::Query # source://graphql//lib/graphql/query.rb#286 def arguments_for(ast_node, definition, parent_object: T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#334 def ast_analyzers(*args, **_arg1, &block); end # Returns the value of attribute context. @@ -6729,10 +6729,10 @@ class GraphQL::Query # source://graphql//lib/graphql/query.rb#231 def fragments; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def get_field(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def get_type(*args, **_arg1, &block); end # @api private @@ -6755,10 +6755,10 @@ class GraphQL::Query # source://graphql//lib/graphql/query.rb#203 def lookahead; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#334 def max_complexity(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#334 def max_depth(*args, **_arg1, &block); end # Returns the value of attribute multiplex. @@ -6796,7 +6796,7 @@ class GraphQL::Query # source://graphql//lib/graphql/query.rb#235 def operations; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def possible_types(*args, **_arg1, &block); end # Returns the value of attribute provided_variables. @@ -6846,7 +6846,7 @@ class GraphQL::Query # source://graphql//lib/graphql/query.rb#219 def result_values=(result_hash); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#346 def root_type_for_operation(*args, **_arg1, &block); end # The value for root types @@ -6937,10 +6937,10 @@ class GraphQL::Query # source://graphql//lib/graphql/query.rb#40 def validate=(new_validate); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#334 def validate_timeout_remaining(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query.rb#334 def validation_errors(*args, **_arg1, &block); end # source://graphql//lib/graphql/query.rb#330 @@ -7126,10 +7126,10 @@ class GraphQL::Query::Context # source://graphql//lib/graphql/query/context.rb#205 def to_h; end - # source://graphql//lib/graphql/query/context.rb#205 + # source://graphql//lib/graphql/query/context.rb#213 def to_hash; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/context.rb#85 def trace(*args, **_arg1, &block); end # source://graphql//lib/graphql/query/context.rb#87 @@ -7165,13 +7165,13 @@ class GraphQL::Query::Context::ExecutionErrors # source://graphql//lib/graphql/query/context.rb#11 def initialize(ctx); end - # source://graphql//lib/graphql/query/context.rb#15 + # source://graphql//lib/graphql/query/context.rb#28 def >>(err_or_msg); end # source://graphql//lib/graphql/query/context.rb#15 def add(err_or_msg); end - # source://graphql//lib/graphql/query/context.rb#15 + # source://graphql//lib/graphql/query/context.rb#29 def push(err_or_msg); end end @@ -7301,7 +7301,7 @@ class GraphQL::Query::NullContext < ::GraphQL::Query::Context # source://graphql//lib/graphql/query/null_context.rb#23 def initialize; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def [](*args, **_arg1, &block); end # Returns the value of attribute dataloader. @@ -7309,13 +7309,13 @@ class GraphQL::Query::NullContext < ::GraphQL::Query::Context # source://graphql//lib/graphql/query/null_context.rb#20 def dataloader; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def dig(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def fetch(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/null_context.rb#21 def key?(*args, **_arg1, &block); end # Returns the value of attribute query. @@ -7339,7 +7339,10 @@ class GraphQL::Query::NullContext < ::GraphQL::Query::Context class << self private + # source://graphql//lib/graphql/query/null_context.rb#7 def allocate; end + + # source://graphql//lib/graphql/query/null_context.rb#7 def new(*_arg0); end end end @@ -7388,19 +7391,19 @@ class GraphQL::Query::Result # source://graphql//lib/graphql/query/result.rb#51 def ==(other); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def as_json(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def context(*args, **_arg1, &block); end # source://graphql//lib/graphql/query/result.rb#39 def inspect; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def keys(*args, **_arg1, &block); end # Delegate any hash-like method to the underlying hash. @@ -7408,7 +7411,7 @@ class GraphQL::Query::Result # source://graphql//lib/graphql/query/result.rb#27 def method_missing(method_name, *args, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def mutation?(*args, **_arg1, &block); end # @return [GraphQL::Query] The query that was executed @@ -7416,10 +7419,10 @@ class GraphQL::Query::Result # source://graphql//lib/graphql/query/result.rb#17 def query; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def query?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#22 def subscription?(*args, **_arg1, &block); end # @return [Hash] The resulting hash of "data" and/or "errors" @@ -7427,10 +7430,10 @@ class GraphQL::Query::Result # source://graphql//lib/graphql/query/result.rb#20 def to_h; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def to_json(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/result.rb#24 def values(*args, **_arg1, &block); end private @@ -7570,7 +7573,7 @@ class GraphQL::Query::Variables # source://graphql//lib/graphql/query/variables.rb#13 def initialize(ctx, ast_variables, provided_variables); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def [](*args, **_arg1, &block); end # Returns the value of attribute context. @@ -7583,16 +7586,16 @@ class GraphQL::Query::Variables # source://graphql//lib/graphql/query/variables.rb#9 def errors; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def fetch(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def key?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def length(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/query/variables.rb#66 def to_h(*args, **_arg1, &block); end private @@ -8551,7 +8554,7 @@ class GraphQL::Schema::Argument # @return [String] the GraphQL name for this argument, camelized unless `camelize: false` is provided # - # source://graphql//lib/graphql/schema/argument.rb#13 + # source://graphql//lib/graphql/schema/argument.rb#14 def graphql_name; end # source://graphql//lib/graphql/schema/argument.rb#99 @@ -9533,7 +9536,7 @@ class GraphQL::Schema::Field # @return [String] the GraphQL name for this field, camelized unless `camelize: false` is provided # - # source://graphql//lib/graphql/schema/field.rb#21 + # source://graphql//lib/graphql/schema/field.rb#22 def graphql_name; end # @return [Boolean] True if this field's {#default_page_size} should override the schema default. @@ -9581,7 +9584,7 @@ class GraphQL::Schema::Field # @return [Class, nil] The {Schema::Resolver} this field was derived from, if there is one # - # source://graphql//lib/graphql/schema/field.rb#74 + # source://graphql//lib/graphql/schema/field.rb#87 def mutation; end # @return [String] the GraphQL name for this field, camelized unless `camelize: false` is provided @@ -10099,7 +10102,7 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # source://graphql//lib/graphql/schema/input_object.rb#104 def [](key); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#19 def any?(*args, **_arg1, &block); end # @return [GraphQL::Execution::Interpereter::Arguments] The underlying arguments instance @@ -10112,10 +10115,10 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # source://graphql//lib/graphql/schema/input_object.rb#14 def context; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#19 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#19 def empty?(*args, **_arg1, &block); end # @return [Boolean] @@ -10123,10 +10126,10 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # source://graphql//lib/graphql/schema/input_object.rb#114 def key?(key); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#19 def keys(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#19 def map(*args, **_arg1, &block); end # source://graphql//lib/graphql/schema/input_object.rb#48 @@ -10146,7 +10149,7 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # source://graphql//lib/graphql/schema/input_object.rb#86 def unwrap_value(value); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/schema/input_object.rb#19 def values(*args, **_arg1, &block); end private @@ -10349,7 +10352,7 @@ class GraphQL::Schema::LateBoundType # @api Private # - # source://graphql//lib/graphql/schema/late_bound_type.rb#8 + # source://graphql//lib/graphql/schema/late_bound_type.rb#9 def graphql_name; end # @api Private @@ -10380,7 +10383,7 @@ class GraphQL::Schema::LateBoundType # @api Private # - # source://graphql//lib/graphql/schema/late_bound_type.rb#32 + # source://graphql//lib/graphql/schema/late_bound_type.rb#40 def to_s; end # @api Private @@ -10589,6 +10592,8 @@ module GraphQL::Schema::Member::BaseDSLMethods def name(new_name = T.unsafe(nil)); end # @api private + # + # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#97 def unwrap; end # @api private @@ -11584,6 +11589,7 @@ class GraphQL::Schema::Object < ::GraphQL::Schema::Member protected + # source://graphql//lib/graphql/schema/object.rb#31 def new(*_arg0); end end end @@ -11999,7 +12005,7 @@ module GraphQL::Schema::Resolver::HasPayloadType # @param new_payload_type [Class, nil] If a type definition class is provided, it will be used as the return type of the mutation field # @return [Class] The object type which this mutation returns. # - # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#16 + # source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#34 def type_expr(new_payload_type = T.unsafe(nil)); end private @@ -12450,6 +12456,7 @@ class GraphQL::Schema::TypeMembership # source://graphql//lib/graphql/schema/type_membership.rb#40 def path; end + # source://graphql//lib/graphql/schema/type_membership.rb#48 def type_class; end # @return [Boolean] if false, {#object_type} will be treated as _not_ a member of {#abstract_type} @@ -13883,13 +13890,13 @@ class GraphQL::StaticValidation::DefinitionDependencies::NodeWithPath # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#101 def initialize(node, path); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 def eql?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 def hash(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 def name(*args, **_arg1, &block); end # Returns the value of attribute node. @@ -14191,52 +14198,77 @@ class GraphQL::StaticValidation::FieldsWillMerge::Field < ::Struct # Returns the value of attribute definition # # @return [Object] the current value of definition + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def definition; end # Sets the attribute definition # # @param value [Object] the value to set the attribute definition to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def definition=(_); end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def node=(_); end # Returns the value of attribute owner_type # # @return [Object] the current value of owner_type + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def owner_type; end # Sets the attribute owner_type # # @param value [Object] the value to set the attribute owner_type to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def owner_type=(_); end # Returns the value of attribute parents # # @return [Object] the current value of parents + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def parents; end # Sets the attribute parents # # @param value [Object] the value to set the attribute parents to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def parents=(_); end class << self + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def [](*_arg0); end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def inspect; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def keyword_init?; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def members; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 def new(*_arg0); end end end @@ -14246,30 +14278,47 @@ class GraphQL::StaticValidation::FieldsWillMerge::FragmentSpread < ::Struct # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def name=(_); end # Returns the value of attribute parents # # @return [Object] the current value of parents + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def parents; end # Sets the attribute parents # # @param value [Object] the value to set the attribute parents to. # @return [Object] the newly set value + # + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def parents=(_); end class << self + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def [](*_arg0); end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def inspect; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def keyword_init?; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def members; end + + # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#15 def new(*_arg0); end end end @@ -14728,55 +14777,55 @@ module GraphQL::StaticValidation::NoDefinitionsArePresent # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#7 def initialize(*_arg0); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#17 def on_directive_definition(node, parent); end # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#33 def on_document(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#24 def on_enum_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#31 def on_enum_type_extension(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#21 def on_input_object_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#28 def on_input_object_type_extension(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#22 def on_interface_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#29 def on_interface_type_extension(node, parent); end # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 def on_invalid_node(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#20 def on_object_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#27 def on_object_type_extension(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#19 def on_scalar_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#26 def on_scalar_type_extension(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#18 def on_schema_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#25 def on_schema_extension(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#23 def on_union_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#12 + # source://graphql//lib/graphql/static_validation/rules/no_definitions_are_present.rb#30 def on_union_type_extension(node, parent); end end @@ -15086,16 +15135,16 @@ class GraphQL::StaticValidation::ValidationContext # source://graphql//lib/graphql/static_validation/validation_context.rb#21 def initialize(query, visitor_class, max_errors); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def argument_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def dependencies(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def directive_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#19 def document(*args, **_arg1, &block); end # Returns the value of attribute errors. @@ -15103,10 +15152,10 @@ class GraphQL::StaticValidation::ValidationContext # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def errors; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def field_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#19 def fragments(*args, **_arg1, &block); end # Returns the value of attribute max_errors. @@ -15114,7 +15163,7 @@ class GraphQL::StaticValidation::ValidationContext # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def max_errors; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def object_types(*args, **_arg1, &block); end # source://graphql//lib/graphql/static_validation/validation_context.rb#36 @@ -15125,13 +15174,13 @@ class GraphQL::StaticValidation::ValidationContext # source://graphql//lib/graphql/static_validation/validation_context.rb#14 def on_dependency_resolve_handlers; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#19 def operations(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def parent_type_definition(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def path(*args, **_arg1, &block); end # Returns the value of attribute query. @@ -15152,7 +15201,7 @@ class GraphQL::StaticValidation::ValidationContext # source://graphql//lib/graphql/static_validation/validation_context.rb#44 def too_many_errors?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/static_validation/validation_context.rb#32 def type_definition(*args, **_arg1, &block); end # Returns the value of attribute types. @@ -16361,7 +16410,7 @@ end # source://graphql//lib/graphql/tracing/appoptics_trace.rb#21 GraphQL::Tracing::AppOpticsTrace::EXEC_KEYS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/tracing/appoptics_trace.rb#0 +# source://graphql//lib/graphql/tracing/appoptics_trace.rb#133 class GraphQL::Tracing::AppOpticsTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::AppOpticsTrace @@ -16471,16 +16520,16 @@ module GraphQL::Tracing::AppsignalTrace # source://graphql//lib/graphql/tracing/appsignal_trace.rb#26 def analyze_query(**data); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#6 def authorized(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#6 def authorized_lazy(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#6 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#6 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end # source://graphql//lib/graphql/tracing/appsignal_trace.rb#26 @@ -16516,17 +16565,17 @@ module GraphQL::Tracing::AppsignalTrace # source://graphql//lib/graphql/tracing/appsignal_trace.rb#72 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#6 def resolve_type(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/appsignal_trace.rb#6 def resolve_type_lazy(query:, type:, object:); end # source://graphql//lib/graphql/tracing/appsignal_trace.rb#26 def validate(**data); end end -# source://graphql//lib/graphql/tracing/appsignal_trace.rb#0 +# source://graphql//lib/graphql/tracing/appsignal_trace.rb#6 class GraphQL::Tracing::AppsignalTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::AppsignalTrace @@ -16685,7 +16734,7 @@ module GraphQL::Tracing::DataDogTrace def validate(**data); end end -# source://graphql//lib/graphql/tracing/data_dog_trace.rb#0 +# source://graphql//lib/graphql/tracing/data_dog_trace.rb#161 class GraphQL::Tracing::DataDogTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::DataDogTrace @@ -16794,16 +16843,16 @@ module GraphQL::Tracing::NewRelicTrace # source://graphql//lib/graphql/tracing/new_relic_trace.rb#35 def analyze_query(**_keys); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#6 def authorized(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#6 def authorized_lazy(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#6 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#6 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end # source://graphql//lib/graphql/tracing/new_relic_trace.rb#35 @@ -16839,17 +16888,17 @@ module GraphQL::Tracing::NewRelicTrace # source://graphql//lib/graphql/tracing/new_relic_trace.rb#70 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#6 def resolve_type(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/new_relic_trace.rb#6 def resolve_type_lazy(query:, type:, object:); end # source://graphql//lib/graphql/tracing/new_relic_trace.rb#35 def validate(**_keys); end end -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#0 +# source://graphql//lib/graphql/tracing/new_relic_trace.rb#6 class GraphQL::Tracing::NewRelicTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::NewRelicTrace @@ -16937,7 +16986,7 @@ module GraphQL::Tracing::NotificationsTrace def validate(**metadata, &blk); end end -# source://graphql//lib/graphql/tracing/notifications_trace.rb#0 +# source://graphql//lib/graphql/tracing/notifications_trace.rb#42 class GraphQL::Tracing::NotificationsTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::NotificationsTrace @@ -17148,16 +17197,16 @@ module GraphQL::Tracing::PrometheusTrace # source://graphql//lib/graphql/tracing/prometheus_trace.rb#26 def analyze_query(**data); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#6 def authorized(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#6 def authorized_lazy(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#6 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#6 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end # source://graphql//lib/graphql/tracing/prometheus_trace.rb#26 @@ -17202,10 +17251,10 @@ module GraphQL::Tracing::PrometheusTrace # source://graphql//lib/graphql/tracing/prometheus_trace.rb#53 def platform_resolve_type_lazy(platform_key, &block); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#6 def resolve_type(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/prometheus_trace.rb#6 def resolve_type_lazy(query:, type:, object:); end # source://graphql//lib/graphql/tracing/prometheus_trace.rb#26 @@ -17217,7 +17266,7 @@ module GraphQL::Tracing::PrometheusTrace def instrument_prometheus_execution(platform_key, key, &block); end end -# source://graphql//lib/graphql/tracing/prometheus_trace.rb#0 +# source://graphql//lib/graphql/tracing/prometheus_trace.rb#6 class GraphQL::Tracing::PrometheusTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::PrometheusTrace @@ -17275,16 +17324,16 @@ module GraphQL::Tracing::ScoutTrace # source://graphql//lib/graphql/tracing/scout_trace.rb#29 def analyze_query(**data); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/scout_trace.rb#6 def authorized(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/scout_trace.rb#6 def authorized_lazy(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/scout_trace.rb#6 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/scout_trace.rb#6 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end # source://graphql//lib/graphql/tracing/scout_trace.rb#29 @@ -17314,16 +17363,16 @@ module GraphQL::Tracing::ScoutTrace # source://graphql//lib/graphql/tracing/scout_trace.rb#59 def platform_field_key(field); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#53 + # source://graphql//lib/graphql/tracing/scout_trace.rb#57 def platform_resolve_type(platform_key, &block); end # source://graphql//lib/graphql/tracing/scout_trace.rb#67 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/scout_trace.rb#6 def resolve_type(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/scout_trace.rb#6 def resolve_type_lazy(query:, type:, object:); end # source://graphql//lib/graphql/tracing/scout_trace.rb#29 @@ -17333,7 +17382,7 @@ end # source://graphql//lib/graphql/tracing/scout_trace.rb#8 GraphQL::Tracing::ScoutTrace::INSTRUMENT_OPTS = T.let(T.unsafe(nil), Hash) -# source://graphql//lib/graphql/tracing/scout_trace.rb#0 +# source://graphql//lib/graphql/tracing/scout_trace.rb#6 class GraphQL::Tracing::ScoutTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::ScoutTrace @@ -17383,16 +17432,16 @@ module GraphQL::Tracing::SentryTrace # source://graphql//lib/graphql/tracing/sentry_trace.rb#35 def analyze_query(**data); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#6 def authorized(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#6 def authorized_lazy(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#6 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#6 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end # source://graphql//lib/graphql/tracing/sentry_trace.rb#35 @@ -17437,10 +17486,10 @@ module GraphQL::Tracing::SentryTrace # source://graphql//lib/graphql/tracing/sentry_trace.rb#62 def platform_resolve_type_lazy(platform_key, &block); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#6 def resolve_type(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/sentry_trace.rb#6 def resolve_type_lazy(query:, type:, object:); end # source://graphql//lib/graphql/tracing/sentry_trace.rb#35 @@ -17455,7 +17504,7 @@ module GraphQL::Tracing::SentryTrace def operation_name(query); end end -# source://graphql//lib/graphql/tracing/sentry_trace.rb#0 +# source://graphql//lib/graphql/tracing/sentry_trace.rb#6 class GraphQL::Tracing::SentryTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::SentryTrace @@ -17477,16 +17526,16 @@ module GraphQL::Tracing::StatsdTrace # source://graphql//lib/graphql/tracing/statsd_trace.rb#24 def analyze_query(**data); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#6 def authorized(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#72 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#6 def authorized_lazy(type:, query:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#6 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#44 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#6 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end # source://graphql//lib/graphql/tracing/statsd_trace.rb#24 @@ -17516,23 +17565,23 @@ module GraphQL::Tracing::StatsdTrace # source://graphql//lib/graphql/tracing/statsd_trace.rb#43 def platform_field_key(field); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#37 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#41 def platform_resolve_type(key, &block); end # source://graphql//lib/graphql/tracing/statsd_trace.rb#51 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#6 def resolve_type(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#85 + # source://graphql//lib/graphql/tracing/statsd_trace.rb#6 def resolve_type_lazy(query:, type:, object:); end # source://graphql//lib/graphql/tracing/statsd_trace.rb#24 def validate(**data); end end -# source://graphql//lib/graphql/tracing/statsd_trace.rb#0 +# source://graphql//lib/graphql/tracing/statsd_trace.rb#6 class GraphQL::Tracing::StatsdTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::StatsdTrace @@ -18111,7 +18160,7 @@ module GraphQL::Types::Relay::ConnectionBehaviors mixes_in_class_methods ::GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#8 def cursor_from_node(*args, **_arg1, &block); end # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#196 @@ -18120,7 +18169,7 @@ module GraphQL::Types::Relay::ConnectionBehaviors # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#205 def nodes; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#8 def parent(*args, **_arg1, &block); end class << self @@ -18393,7 +18442,7 @@ module GraphQL::Types::Relay::Node extend ::GraphQL::Types::Relay::NodeBehaviors::ClassMethods end -# source://graphql//lib/graphql/types/relay/node.rb#0 +# source://graphql//lib/graphql/types/relay/node.rb#10 class GraphQL::Types::Relay::Node::UnresolvedTypeError < ::GraphQL::UnresolvedTypeError; end # source://graphql//lib/graphql/types/relay/node_behaviors.rb#6 diff --git a/sorbet/rbi/gems/i18n@1.14.5.rbi b/sorbet/rbi/gems/i18n@1.14.5.rbi index e371e30b4..ed896e141 100644 --- a/sorbet/rbi/gems/i18n@1.14.5.rbi +++ b/sorbet/rbi/gems/i18n@1.14.5.rbi @@ -13,22 +13,46 @@ class GetText::PoParser < ::Racc::Parser # source://i18n//lib/i18n/gettext/po_parser.rb#19 def _(x); end + # source://i18n//lib/i18n/gettext/po_parser.rb#282 def _reduce_10(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#295 def _reduce_12(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#302 def _reduce_13(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#309 def _reduce_14(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#316 def _reduce_15(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#235 def _reduce_5(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#246 def _reduce_8(val, _values, result); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#264 def _reduce_9(val, _values, result); end # source://i18n//lib/i18n/gettext/po_parser.rb#323 def _reduce_none(val, _values, result); end + # source://i18n//lib/i18n/gettext/po_parser.rb#23 def next_token; end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 def on_comment(comment); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 def on_message(msgid, msgstr); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 def parse(str, data, ignore_fuzzy = T.unsafe(nil)); end + + # source://i18n//lib/i18n/gettext/po_parser.rb#23 def unescape(orig); end end @@ -230,7 +254,7 @@ module I18n::Backend::Base # Loads a YAML translations file. The data must have locales as # toplevel keys. # - # source://i18n//lib/i18n/backend/base.rb#253 + # source://i18n//lib/i18n/backend/base.rb#264 def load_yaml(filename); end # Loads a YAML translations file. The data must have locales as @@ -276,7 +300,7 @@ module I18n::Backend::Base # given options. If it is a Proc then it will be evaluated. All other # subjects will be returned directly. # - # source://i18n//lib/i18n/backend/base.rb#149 + # source://i18n//lib/i18n/backend/base.rb#164 def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end # @return [Boolean] @@ -811,7 +835,7 @@ class I18n::Backend::KeyValue::SubtreeProxy # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#183 + # source://i18n//lib/i18n/backend/key_value.rb#186 def kind_of?(klass); end # @return [Boolean] @@ -1195,10 +1219,10 @@ end # source://i18n//lib/i18n.rb#54 module I18n::Base - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def available_locales; end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def available_locales=(value); end # @return [Boolean] @@ -1206,10 +1230,10 @@ module I18n::Base # source://i18n//lib/i18n.rb#384 def available_locales_initialized?; end - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def backend; end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def backend=(value); end # Gets I18n configuration object. @@ -1222,16 +1246,16 @@ module I18n::Base # source://i18n//lib/i18n.rb#61 def config=(value); end - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def default_locale; end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def default_locale=(value); end - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def default_separator; end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def default_separator=(value); end # Tells the backend to load translations now. Used in situations like the @@ -1241,7 +1265,7 @@ module I18n::Base # source://i18n//lib/i18n.rb#90 def eager_load!; end - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def enforce_available_locales; end # Raises an InvalidLocale exception when the passed locale is not available. @@ -1249,13 +1273,13 @@ module I18n::Base # source://i18n//lib/i18n.rb#378 def enforce_available_locales!(locale); end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def enforce_available_locales=(value); end - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def exception_handler; end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def exception_handler=(value); end # Returns true if a translation exists for a given key, otherwise returns false. @@ -1295,19 +1319,19 @@ module I18n::Base # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#333 + # source://i18n//lib/i18n.rb#341 def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def load_path; end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def load_path=(value); end - # source://i18n//lib/i18n.rb#69 + # source://i18n//lib/i18n.rb#68 def locale; end - # source://i18n//lib/i18n.rb#73 + # source://i18n//lib/i18n.rb#68 def locale=(value); end # Returns true when the passed locale, which can be either a String or a @@ -1457,13 +1481,13 @@ module I18n::Base # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#210 + # source://i18n//lib/i18n.rb#225 def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end # Wrapper for translate that adds :raise => true. With # this option, if no translation is found, it will raise I18n::MissingTranslationData # - # source://i18n//lib/i18n.rb#229 + # source://i18n//lib/i18n.rb#232 def t!(key, **options); end # Translates, pluralizes and interpolates a given key using a given locale, @@ -1889,13 +1913,13 @@ module I18n::Gettext::Helpers # source://i18n//lib/i18n/gettext/helpers.rb#17 def N_(msgsid); end - # source://i18n//lib/i18n/gettext/helpers.rb#21 + # source://i18n//lib/i18n/gettext/helpers.rb#24 def _(msgid, options = T.unsafe(nil)); end # source://i18n//lib/i18n/gettext/helpers.rb#21 def gettext(msgid, options = T.unsafe(nil)); end - # source://i18n//lib/i18n/gettext/helpers.rb#38 + # source://i18n//lib/i18n/gettext/helpers.rb#41 def n_(msgid, msgid_plural, n = T.unsafe(nil)); end # source://i18n//lib/i18n/gettext/helpers.rb#38 @@ -1905,7 +1929,7 @@ module I18n::Gettext::Helpers # npgettext('Fruits', 'apple', 'apples', 2) # npgettext('Fruits', ['apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#61 + # source://i18n//lib/i18n/gettext/helpers.rb#72 def np_(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end # Method signatures: @@ -1919,7 +1943,7 @@ module I18n::Gettext::Helpers # nsgettext('Fruits|apple', 'apples', 2) # nsgettext(['Fruits|apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#46 + # source://i18n//lib/i18n/gettext/helpers.rb#56 def ns_(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end # Method signatures: @@ -1929,13 +1953,13 @@ module I18n::Gettext::Helpers # source://i18n//lib/i18n/gettext/helpers.rb#46 def nsgettext(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end - # source://i18n//lib/i18n/gettext/helpers.rb#32 + # source://i18n//lib/i18n/gettext/helpers.rb#36 def p_(msgctxt, msgid); end # source://i18n//lib/i18n/gettext/helpers.rb#32 def pgettext(msgctxt, msgid); end - # source://i18n//lib/i18n/gettext/helpers.rb#26 + # source://i18n//lib/i18n/gettext/helpers.rb#30 def s_(msgid, separator = T.unsafe(nil)); end # source://i18n//lib/i18n/gettext/helpers.rb#26 @@ -2246,7 +2270,7 @@ module I18n::MissingTranslation::Base # source://i18n//lib/i18n/exceptions.rb#80 def to_exception; end - # source://i18n//lib/i18n/exceptions.rb#65 + # source://i18n//lib/i18n/exceptions.rb#78 def to_s; end end diff --git a/sorbet/rbi/gems/identity_cache@1.6.0.rbi b/sorbet/rbi/gems/identity_cache@1.6.0.rbi index a761a6b05..7208ec47a 100644 --- a/sorbet/rbi/gems/identity_cache@1.6.0.rbi +++ b/sorbet/rbi/gems/identity_cache@1.6.0.rbi @@ -580,7 +580,7 @@ class IdentityCache::Cached::Attribute # source://identity_cache//lib/identity_cache/cached/attribute.rb#21 def attribute; end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#103 + # source://identity_cache//lib/identity_cache/cached/attribute.rb#106 def cache_decode(db_value); end # source://identity_cache//lib/identity_cache/cached/attribute.rb#103 @@ -624,7 +624,7 @@ class IdentityCache::Cached::Attribute # @abstract # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#131 + # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#53 def cache_key_from_key_values(_key_values); end # source://identity_cache//lib/identity_cache/cached/attribute.rb#139 diff --git a/sorbet/rbi/gems/json@2.7.2.rbi b/sorbet/rbi/gems/json@2.7.2.rbi index 1558aa4a7..829b28796 100644 --- a/sorbet/rbi/gems/json@2.7.2.rbi +++ b/sorbet/rbi/gems/json@2.7.2.rbi @@ -654,7 +654,7 @@ module JSON # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json//lib/json/common.rb#329 + # source://json//lib/json/common.rb#340 def fast_unparse(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -954,7 +954,7 @@ module JSON # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json//lib/json/common.rb#374 + # source://json//lib/json/common.rb#395 def pretty_unparse(obj, opts = T.unsafe(nil)); end # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_ @@ -962,14 +962,14 @@ module JSON # source://json//lib/json/common.rb#559 def recurse_proc(result, &proc); end - # source://json//lib/json/common.rb#541 + # source://json//lib/json/common.rb#572 def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and # later delete them. # - # source://json//lib/json/common.rb#300 + # source://json//lib/json/common.rb#312 def unparse(obj, opts = T.unsafe(nil)); end class << self @@ -1082,7 +1082,7 @@ module JSON # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json//lib/json/common.rb#329 + # source://json//lib/json/common.rb#341 def fast_unparse(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -1424,7 +1424,7 @@ module JSON # :stopdoc: # I want to deprecate these later, so I'll first be silent about them, and later delete them. # - # source://json//lib/json/common.rb#374 + # source://json//lib/json/common.rb#396 def pretty_unparse(obj, opts = T.unsafe(nil)); end # Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_ @@ -1432,7 +1432,7 @@ module JSON # source://json//lib/json/common.rb#559 def recurse_proc(result, &proc); end - # source://json//lib/json/common.rb#541 + # source://json//lib/json/common.rb#573 def restore(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # Sets or Returns the JSON generator state class that is used by JSON. This is @@ -1453,7 +1453,7 @@ module JSON # I want to deprecate these later, so I'll first be silent about them, and # later delete them. # - # source://json//lib/json/common.rb#300 + # source://json//lib/json/common.rb#313 def unparse(obj, opts = T.unsafe(nil)); end private diff --git a/sorbet/rbi/gems/json_api_client@1.23.0.rbi b/sorbet/rbi/gems/json_api_client@1.23.0.rbi index b5e019cca..20fa309ab 100644 --- a/sorbet/rbi/gems/json_api_client@1.23.0.rbi +++ b/sorbet/rbi/gems/json_api_client@1.23.0.rbi @@ -775,7 +775,7 @@ class JsonApiClient::Paginating::NestedParamPaginator # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#75 def last; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#99 + # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#129 def limit_value; end # Returns the value of attribute links. @@ -897,7 +897,7 @@ class JsonApiClient::Paginating::Paginator # source://json_api_client//lib/json_api_client/paginating/paginator.rb#30 def last; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#56 + # source://json_api_client//lib/json_api_client/paginating/paginator.rb#78 def limit_value; end # Returns the value of attribute links. @@ -973,7 +973,7 @@ class JsonApiClient::Paginating::Paginator def params_for_uri(uri); end class << self - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # source://json_api_client//lib/json_api_client/paginating/paginator.rb#7 def page_param; end # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 @@ -982,7 +982,7 @@ class JsonApiClient::Paginating::Paginator # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 def page_param?; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # source://json_api_client//lib/json_api_client/paginating/paginator.rb#8 def per_page_param; end # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 @@ -1073,7 +1073,7 @@ class JsonApiClient::Query::Builder # source://json_api_client//lib/json_api_client/query/builder.rb#119 def ==(other); end - # source://json_api_client//lib/json_api_client/query/builder.rb#88 + # source://json_api_client//lib/json_api_client/query/builder.rb#91 def all; end # source://json_api_client//lib/json_api_client/query/builder.rb#69 @@ -1082,7 +1082,7 @@ class JsonApiClient::Query::Builder # source://json_api_client//lib/json_api_client/query/builder.rb#73 def create(attrs = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#119 + # source://json_api_client//lib/json_api_client/query/builder.rb#124 def eql?(other); end # source://json_api_client//lib/json_api_client/query/builder.rb#93 @@ -1192,7 +1192,7 @@ class JsonApiClient::Query::Requestor # source://json_api_client//lib/json_api_client/query/requestor.rb#7 def initialize(klass); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/query/requestor.rb#56 def connection(*args, **_arg1, &block); end # expects a record @@ -1382,22 +1382,22 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#369 def initialize(params = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#10 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __belongs_to_params; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#10 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __belongs_to_params=(_arg0); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#9 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __cached_associations; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#9 + # source://json_api_client//lib/json_api_client/resource.rb#15 def __cached_associations=(_arg0); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://json_api_client//lib/json_api_client/resource.rb#9 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://json_api_client//lib/json_api_client/resource.rb#9 def __callbacks?; end # source://json_api_client//lib/json_api_client/resource.rb#44 @@ -1406,16 +1406,16 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#44 def _immutable?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _run_validate_callbacks(&block); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validate_callbacks; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validators?; end # source://json_api_client//lib/json_api_client/resource.rb#41 @@ -1494,7 +1494,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#416 def mark_as_persisted!; end - # source://activemodel/7.1.3.4/lib/active_model/naming.rb#255 + # source://json_api_client//lib/json_api_client/resource.rb#9 def model_name(&block); end # Returns true if this is a new record (never persisted to the database) @@ -1504,7 +1504,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#442 def new_record?; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://json_api_client//lib/json_api_client/resource.rb#10 def param_delimiter=(_arg0); end # source://json_api_client//lib/json_api_client/resource.rb#568 @@ -1596,7 +1596,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#481 def valid?(context = T.unsafe(nil)); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://json_api_client//lib/json_api_client/resource.rb#9 def validation_context; end protected @@ -1655,17 +1655,17 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#622 def respond_to_missing?(symbol, include_all = T.unsafe(nil)); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#67 + # source://json_api_client//lib/json_api_client/resource.rb#9 def validation_context=(_arg0); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://json_api_client//lib/json_api_client/resource.rb#9 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://json_api_client//lib/json_api_client/resource.rb#9 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://json_api_client//lib/json_api_client/resource.rb#9 def __callbacks?; end # source://json_api_client//lib/json_api_client/resource.rb#44 @@ -1677,22 +1677,22 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#44 def _immutable?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validate_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validate_callbacks=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validators; end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validators=(value); end - # source://activemodel/7.1.3.4/lib/active_model/validations.rb#71 + # source://json_api_client//lib/json_api_client/resource.rb#9 def _validators?; end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # source://json_api_client//lib/json_api_client/resource.rb#60 def add_defaults_to_changes; end # source://json_api_client//lib/json_api_client/resource.rb#41 @@ -1701,16 +1701,16 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#41 def add_defaults_to_changes?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def all(*args, **_arg1, &block); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#7 + # source://json_api_client//lib/json_api_client/resource.rb#15 def associations; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#7 + # source://json_api_client//lib/json_api_client/resource.rb#15 def associations=(value); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#7 + # source://json_api_client//lib/json_api_client/resource.rb#15 def associations?; end # Return/build a connection object @@ -1720,7 +1720,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#137 def connection(rebuild = T.unsafe(nil), &block); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#51 def connection_class; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1738,7 +1738,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def connection_object?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#52 def connection_options; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1766,7 +1766,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#197 def custom_headers; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#62 def custom_type_to_class; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1783,10 +1783,10 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#214 def default_attributes; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def find(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def first(*args, **_arg1, &block); end # Indicates whether this resource is mutable or immutable; @@ -1797,7 +1797,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#106 def immutable(flag = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def includes(*args, **_arg1, &block); end # @private @@ -1805,7 +1805,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#110 def inherited(subclass); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#66 def json_key_format; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1814,7 +1814,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def json_key_format?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#59 def keep_request_params; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1826,10 +1826,10 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#225 def key_formatter; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def last(*args, **_arg1, &block); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#54 def linker; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1845,16 +1845,16 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#126 def load(params); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def order(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def page(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def paginate(*args, **_arg1, &block); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#50 def paginator; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1863,16 +1863,16 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def paginator?; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://json_api_client//lib/json_api_client/resource.rb#10 def param_delimiter; end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://json_api_client//lib/json_api_client/resource.rb#10 def param_delimiter=(value); end - # source://activemodel/7.1.3.4/lib/active_model/conversion.rb#32 + # source://json_api_client//lib/json_api_client/resource.rb#10 def param_delimiter?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#49 def parser; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1894,7 +1894,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#146 def prefix_params; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#48 def primary_key; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1903,7 +1903,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def primary_key?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#53 def query_builder; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1912,7 +1912,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def query_builder?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#63 def raise_on_blank_find_param; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1921,7 +1921,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def raise_on_blank_find_param?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#56 def read_only_attributes; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1930,7 +1930,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def read_only_attributes?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#55 def relationship_linker; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1939,7 +1939,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def relationship_linker?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#58 def request_params_class; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1955,7 +1955,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#206 def requestor; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#57 def requestor_class; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -1982,7 +1982,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#119 def resource_path; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#69 def route_format; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -2001,7 +2001,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#221 def schema; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # source://json_api_client//lib/json_api_client/resource.rb#61 def search_included_in_result_set; end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -2010,7 +2010,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#21 def search_included_in_result_set?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def select(*args, **_arg1, &block); end # source://json_api_client//lib/json_api_client/resource.rb#21 @@ -2037,7 +2037,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#98 def type; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def where(*args, **_arg1, &block); end # Within the given block, add these headers to all requests made by @@ -2049,7 +2049,7 @@ class JsonApiClient::Resource # source://json_api_client//lib/json_api_client/resource.rb#186 def with_headers(headers); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/resource.rb#73 def with_params(*args, **_arg1, &block); end protected @@ -2133,7 +2133,7 @@ end class JsonApiClient::ResultSet < ::Array extend ::Forwardable - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def current_page(*args, **_arg1, &block); end # Returns the value of attribute errors. @@ -2177,7 +2177,7 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def included=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def limit_value(*args, **_arg1, &block); end # Returns the value of attribute links. @@ -2204,13 +2204,13 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def meta=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def next_page(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def offset(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def out_of_bounds?(*args, **_arg1, &block); end # Returns the value of attribute pages. @@ -2225,10 +2225,10 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def pages=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def per_page(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def previous_page(*args, **_arg1, &block); end # Returns the value of attribute record_class. @@ -2255,13 +2255,13 @@ class JsonApiClient::ResultSet < ::Array # source://json_api_client//lib/json_api_client/result_set.rb#7 def relationships=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def total_count(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def total_entries(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://json_api_client//lib/json_api_client/result_set.rb#18 def total_pages(*args, **_arg1, &block); end # Returns the value of attribute uri. @@ -2300,7 +2300,7 @@ class JsonApiClient::Schema # @param property_name [String] the name of the property # @return [Property, nil] the property definition for property_name or nil # - # source://json_api_client//lib/json_api_client/schema.rb#142 + # source://json_api_client//lib/json_api_client/schema.rb#146 def [](property_name); end # Add a property to the schema @@ -2314,7 +2314,7 @@ class JsonApiClient::Schema # source://json_api_client//lib/json_api_client/schema.rb#119 def add(name, options); end - # source://json_api_client//lib/json_api_client/schema.rb#132 + # source://json_api_client//lib/json_api_client/schema.rb#136 def each(&block); end # source://json_api_client//lib/json_api_client/schema.rb#132 @@ -2332,7 +2332,7 @@ class JsonApiClient::Schema # # @return [Fixnum] the number of defined properties # - # source://json_api_client//lib/json_api_client/schema.rb#126 + # source://json_api_client//lib/json_api_client/schema.rb#130 def length; end # How many properties are defined @@ -2356,41 +2356,62 @@ class JsonApiClient::Schema::Property < ::Struct # Returns the value of attribute default # # @return [Object] the current value of default + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def default; end # Sets the attribute default # # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def default=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def name=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://json_api_client//lib/json_api_client/schema.rb#98 def type=(_); end class << self + # source://json_api_client//lib/json_api_client/schema.rb#98 def [](*_arg0); end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def inspect; end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def keyword_init?; end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def members; end + + # source://json_api_client//lib/json_api_client/schema.rb#98 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/kramdown@2.4.0.rbi b/sorbet/rbi/gems/kramdown@2.4.0.rbi index ee2bcd8de..f22c862a8 100644 --- a/sorbet/rbi/gems/kramdown@2.4.0.rbi +++ b/sorbet/rbi/gems/kramdown@2.4.0.rbi @@ -27,19 +27,19 @@ module Kramdown::Converter extend ::Kramdown::Utils::Configurable class << self - # source://kramdown//lib/kramdown/utils/configurable.rb#37 + # source://kramdown//lib/kramdown/converter.rb#50 def add_math_engine(data, *args, &block); end - # source://kramdown//lib/kramdown/utils/configurable.rb#37 + # source://kramdown//lib/kramdown/converter.rb#34 def add_syntax_highlighter(data, *args, &block); end - # source://kramdown//lib/kramdown/utils/configurable.rb#30 + # source://kramdown//lib/kramdown/converter.rb#34 def configurables; end - # source://kramdown//lib/kramdown/utils/configurable.rb#34 + # source://kramdown//lib/kramdown/converter.rb#50 def math_engine(data); end - # source://kramdown//lib/kramdown/utils/configurable.rb#34 + # source://kramdown//lib/kramdown/converter.rb#34 def syntax_highlighter(data); end end end @@ -230,7 +230,10 @@ class Kramdown::Converter::Base private + # source://kramdown//lib/kramdown/converter/base.rb#61 def allocate; end + + # source://kramdown//lib/kramdown/converter/base.rb#61 def new(*_arg0); end end end @@ -310,7 +313,7 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#260 def convert_comment(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#178 + # source://kramdown//lib/kramdown/converter/html.rb#188 def convert_dd(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#174 @@ -346,7 +349,7 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#351 def convert_math(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#162 + # source://kramdown//lib/kramdown/converter/html.rb#172 def convert_ol(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#86 @@ -367,13 +370,13 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#99 def convert_standalone_image(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#319 + # source://kramdown//lib/kramdown/converter/html.rb#322 def convert_strong(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#238 def convert_table(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#238 + # source://kramdown//lib/kramdown/converter/html.rb#242 def convert_tbody(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#248 @@ -382,13 +385,13 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#81 def convert_text(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#238 + # source://kramdown//lib/kramdown/converter/html.rb#243 def convert_tfoot(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#238 + # source://kramdown//lib/kramdown/converter/html.rb#241 def convert_thead(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#238 + # source://kramdown//lib/kramdown/converter/html.rb#244 def convert_tr(el, indent); end # source://kramdown//lib/kramdown/converter/html.rb#339 @@ -400,7 +403,7 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/html.rb#228 def convert_xml_comment(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#228 + # source://kramdown//lib/kramdown/converter/html.rb#236 def convert_xml_pi(el, indent); end # Fixes the elements for use in a TOC entry. @@ -522,7 +525,7 @@ class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/kramdown.rb#158 def convert_dd(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#124 + # source://kramdown//lib/kramdown/converter/kramdown.rb#128 def convert_dl(el, opts); end # source://kramdown//lib/kramdown/converter/kramdown.rb#182 @@ -555,7 +558,7 @@ class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/kramdown.rb#373 def convert_math(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#124 + # source://kramdown//lib/kramdown/converter/kramdown.rb#127 def convert_ol(el, opts); end # source://kramdown//lib/kramdown/converter/kramdown.rb#88 @@ -603,7 +606,7 @@ class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/kramdown.rb#229 def convert_xml_comment(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#229 + # source://kramdown//lib/kramdown/converter/kramdown.rb#237 def convert_xml_pi(el, _opts); end # source://kramdown//lib/kramdown/converter/kramdown.rb#408 @@ -734,7 +737,7 @@ class Kramdown::Converter::Latex < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/latex.rb#556 def convert_math(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#129 + # source://kramdown//lib/kramdown/converter/latex.rb#137 def convert_ol(el, opts); end # source://kramdown//lib/kramdown/converter/latex.rb#69 @@ -873,13 +876,13 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#221 def convert_codespan(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#186 + # source://kramdown//lib/kramdown/converter/man.rb#189 def convert_comment(el, opts); end # source://kramdown//lib/kramdown/converter/man.rb#127 def convert_dd(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#101 + # source://kramdown//lib/kramdown/converter/man.rb#107 def convert_dl(el, opts); end # source://kramdown//lib/kramdown/converter/man.rb#121 @@ -897,7 +900,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#61 def convert_header(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#47 + # source://kramdown//lib/kramdown/converter/man.rb#49 def convert_hr(*_arg0); end # source://kramdown//lib/kramdown/converter/man.rb#182 @@ -912,7 +915,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#233 def convert_math(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#101 + # source://kramdown//lib/kramdown/converter/man.rb#108 def convert_ol(el, opts); end # source://kramdown//lib/kramdown/converter/man.rb#52 @@ -960,7 +963,7 @@ class Kramdown::Converter::Man < ::Kramdown::Converter::Base # source://kramdown//lib/kramdown/converter/man.rb#186 def convert_xml_comment(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#47 + # source://kramdown//lib/kramdown/converter/man.rb#50 def convert_xml_pi(*_arg0); end # source://kramdown//lib/kramdown/converter/man.rb#285 @@ -1786,63 +1789,92 @@ class Kramdown::Options::Definition < ::Struct # Returns the value of attribute default # # @return [Object] the current value of default + # + # source://kramdown//lib/kramdown/options.rb#36 def default; end # Sets the attribute default # # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def default=(_); end # Returns the value of attribute desc # # @return [Object] the current value of desc + # + # source://kramdown//lib/kramdown/options.rb#36 def desc; end # Sets the attribute desc # # @param value [Object] the value to set the attribute desc to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def desc=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://kramdown//lib/kramdown/options.rb#36 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def name=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://kramdown//lib/kramdown/options.rb#36 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def type=(_); end # Returns the value of attribute validator # # @return [Object] the current value of validator + # + # source://kramdown//lib/kramdown/options.rb#36 def validator; end # Sets the attribute validator # # @param value [Object] the value to set the attribute validator to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/options.rb#36 def validator=(_); end class << self + # source://kramdown//lib/kramdown/options.rb#36 def [](*_arg0); end + + # source://kramdown//lib/kramdown/options.rb#36 def inspect; end + + # source://kramdown//lib/kramdown/options.rb#36 def keyword_init?; end + + # source://kramdown//lib/kramdown/options.rb#36 def members; end + + # source://kramdown//lib/kramdown/options.rb#36 def new(*_arg0); end end end @@ -1965,7 +1997,10 @@ class Kramdown::Parser::Base private + # source://kramdown//lib/kramdown/parser/base.rb#60 def allocate; end + + # source://kramdown//lib/kramdown/parser/base.rb#60 def new(*_arg0); end end end @@ -2060,7 +2095,7 @@ class Kramdown::Parser::Html::ElementConverter # source://kramdown//lib/kramdown/parser/html.rb#384 def convert_a(el); end - # source://kramdown//lib/kramdown/parser/html.rb#394 + # source://kramdown//lib/kramdown/parser/html.rb#405 def convert_b(el); end # source://kramdown//lib/kramdown/parser/html.rb#417 @@ -2072,31 +2107,31 @@ class Kramdown::Parser::Html::ElementConverter # source://kramdown//lib/kramdown/parser/html.rb#408 def convert_h1(el); end - # source://kramdown//lib/kramdown/parser/html.rb#408 + # source://kramdown//lib/kramdown/parser/html.rb#414 def convert_h2(el); end - # source://kramdown//lib/kramdown/parser/html.rb#408 + # source://kramdown//lib/kramdown/parser/html.rb#414 def convert_h3(el); end - # source://kramdown//lib/kramdown/parser/html.rb#408 + # source://kramdown//lib/kramdown/parser/html.rb#414 def convert_h4(el); end - # source://kramdown//lib/kramdown/parser/html.rb#408 + # source://kramdown//lib/kramdown/parser/html.rb#414 def convert_h5(el); end - # source://kramdown//lib/kramdown/parser/html.rb#408 + # source://kramdown//lib/kramdown/parser/html.rb#414 def convert_h6(el); end - # source://kramdown//lib/kramdown/parser/html.rb#394 + # source://kramdown//lib/kramdown/parser/html.rb#405 def convert_i(el); end - # source://kramdown//lib/kramdown/parser/html.rb#417 + # source://kramdown//lib/kramdown/parser/html.rb#458 def convert_pre(el); end # source://kramdown//lib/kramdown/parser/html.rb#563 def convert_script(el); end - # source://kramdown//lib/kramdown/parser/html.rb#394 + # source://kramdown//lib/kramdown/parser/html.rb#405 def convert_strong(el); end # source://kramdown//lib/kramdown/parser/html.rb#460 @@ -2719,52 +2754,77 @@ class Kramdown::Parser::Kramdown::Data < ::Struct # Returns the value of attribute method # # @return [Object] the current value of method + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def method; end # Sets the attribute method # # @param value [Object] the value to set the attribute method to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def method=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def name=(_); end # Returns the value of attribute span_start # # @return [Object] the current value of span_start + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def span_start; end # Sets the attribute span_start # # @param value [Object] the value to set the attribute span_start to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def span_start=(_); end # Returns the value of attribute start_re # # @return [Object] the current value of start_re + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def start_re; end # Sets the attribute start_re # # @param value [Object] the value to set the attribute start_re to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def start_re=(_); end class << self + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def [](*_arg0); end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def inspect; end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def keyword_init?; end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def members; end + + # source://kramdown//lib/kramdown/parser/kramdown.rb#317 def new(*_arg0); end end end @@ -3075,7 +3135,7 @@ module Kramdown::Utils::Entities class << self # Return the entity for the given code point or name +point_or_name+. # - # source://kramdown//lib/kramdown/utils/entities.rb#334 + # source://kramdown//lib/kramdown/utils/entities.rb#338 def entity(point_or_name); end end end @@ -3105,30 +3165,47 @@ class Kramdown::Utils::Entities::Entity < ::Struct # Returns the value of attribute code_point # # @return [Object] the current value of code_point + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def code_point; end # Sets the attribute code_point # # @param value [Object] the value to set the attribute code_point to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def code_point=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://kramdown//lib/kramdown/utils/entities.rb#18 def name=(_); end class << self + # source://kramdown//lib/kramdown/utils/entities.rb#18 def [](*_arg0); end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def inspect; end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def keyword_init?; end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def members; end + + # source://kramdown//lib/kramdown/utils/entities.rb#18 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/kredis@1.7.0.rbi b/sorbet/rbi/gems/kredis@1.7.0.rbi index e9fc9643a..b41281b82 100644 --- a/sorbet/rbi/gems/kredis@1.7.0.rbi +++ b/sorbet/rbi/gems/kredis@1.7.0.rbi @@ -62,7 +62,7 @@ module Kredis::Attributes def kredis_key_for_attribute(name); end end -# source://kredis//lib/kredis/attributes.rb#0 +# source://kredis//lib/kredis/attributes.rb#6 module Kredis::Attributes::ClassMethods # source://kredis//lib/kredis/attributes.rb#83 def kredis_boolean(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end @@ -184,7 +184,7 @@ Kredis::Connections::DEFAULT_REDIS_URL = T.let(T.unsafe(nil), String) module Kredis::DefaultValues extend ::ActiveSupport::Concern - # source://kredis//lib/kredis/default_values.rb#25 + # source://kredis//lib/kredis/types/enum.rb#14 def initialize(*_arg0, **_arg1, &_arg2); end end @@ -416,22 +416,22 @@ Kredis::Types::CallbacksProxy::AFTER_CHANGE_OPERATIONS = T.let(T.unsafe(nil), Ha class Kredis::Types::Counter < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def decrby(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#17 def decrement(by: T.unsafe(nil)); end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/counter.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/counter.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. @@ -446,31 +446,31 @@ class Kredis::Types::Counter < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/counter.rb#8 def expires_in=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def incrby(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#10 def increment(by: T.unsafe(nil)); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#28 def reset; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#6 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/counter.rb#24 def value; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/counter.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private @@ -509,34 +509,34 @@ class Kredis::Types::Enum < ::Kredis::Types::Proxying # @return [Enum] a new instance of Enum # - # source://kredis//lib/kredis/default_values.rb#25 + # source://kredis//lib/kredis/types/enum.rb#14 def initialize(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/enum.rb#6 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/enum.rb#6 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/enum.rb#29 def reset; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#10 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#6 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/enum.rb#25 @@ -557,7 +557,7 @@ class Kredis::Types::Enum < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/enum.rb#12 def values=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/enum.rb#6 def watch(*_arg0, **_arg1, &_arg2); end private @@ -576,16 +576,16 @@ class Kredis::Types::Enum::InvalidDefault < ::StandardError; end class Kredis::Types::Flag < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/flag.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/flag.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. @@ -611,13 +611,13 @@ class Kredis::Types::Flag < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/flag.rb#18 def remove; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#6 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/flag.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private @@ -636,16 +636,16 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#16 def []=(key, value); end - # source://kredis//lib/kredis/types/hash.rb#32 + # source://kredis//lib/kredis/types/hash.rb#35 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/hash.rb#6 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/hash.rb#6 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def del(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/hash.rb#28 @@ -654,28 +654,28 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#37 def entries; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hdel(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hget(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hgetall(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hkeys(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hmget(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hset(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#8 def hvals(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/hash.rb#42 @@ -684,7 +684,7 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#32 def remove; end - # source://kredis//lib/kredis/types/hash.rb#37 + # source://kredis//lib/kredis/types/hash.rb#40 def to_h; end # Returns the value of attribute typed. @@ -699,7 +699,7 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#10 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#6 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/hash.rb#20 @@ -711,7 +711,7 @@ class Kredis::Types::Hash < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/hash.rb#24 def values_at(*keys); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/hash.rb#6 def watch(*_arg0, **_arg1, &_arg2); end private @@ -756,7 +756,7 @@ class Kredis::Types::Limiter::LimitExceeded < ::StandardError; end class Kredis::Types::List < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/list.rb#23 + # source://kredis//lib/kredis/types/list.rb#26 def <<(*elements); end # source://kredis//lib/kredis/types/list.rb#23 @@ -765,34 +765,34 @@ class Kredis::Types::List < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/list.rb#28 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/list.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/list.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def del(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/list.rb#10 def elements; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/list.rb#32 def last(n = T.unsafe(nil)); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def lpush(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def lrange(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def lrem(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def ltrim(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/list.rb#19 @@ -801,10 +801,10 @@ class Kredis::Types::List < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/list.rb#15 def remove(*elements); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#6 def rpush(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#10 + # source://kredis//lib/kredis/types/list.rb#13 def to_a; end # Returns the value of attribute typed. @@ -819,10 +819,10 @@ class Kredis::Types::List < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/list.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/list.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private @@ -835,25 +835,25 @@ end class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/ordered_set.rb#28 + # source://kredis//lib/kredis/types/ordered_set.rb#31 def <<(elements); end # source://kredis//lib/kredis/types/ordered_set.rb#28 def append(elements); end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def del(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/ordered_set.rb#11 def elements; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -869,7 +869,7 @@ class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/ordered_set.rb#33 def limit=(limit); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/ordered_set.rb#24 @@ -878,7 +878,7 @@ class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/ordered_set.rb#16 def remove(*elements); end - # source://kredis//lib/kredis/types/ordered_set.rb#11 + # source://kredis//lib/kredis/types/ordered_set.rb#14 def to_a; end # Returns the value of attribute typed. @@ -893,28 +893,28 @@ class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/ordered_set.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#4 def watch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zadd(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zcard(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zrange(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zrem(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zremrangebyrank(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/ordered_set.rb#6 def zscore(*_arg0, **_arg1, &_arg2); end private @@ -965,10 +965,10 @@ class Kredis::Types::Proxy # source://kredis//lib/kredis/types/proxy.rb#16 def multi(*args, **kwargs, &block); end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74 + # source://kredis//lib/kredis/types/proxy.rb#9 def pipeline; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116 + # source://kredis//lib/kredis/types/proxy.rb#9 def pipeline=(obj); end # source://kredis//lib/kredis/types/proxy.rb#31 @@ -986,10 +986,10 @@ class Kredis::Types::Proxy def redis; end class << self - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49 + # source://kredis//lib/kredis/types/proxy.rb#9 def pipeline; end - # source://activesupport/7.1.3.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108 + # source://kredis//lib/kredis/types/proxy.rb#9 def pipeline=(obj); end end end @@ -1080,19 +1080,19 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#32 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/scalar.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/scalar.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def expire(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/scalar.rb#40 @@ -1101,7 +1101,7 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#36 def expire_in(seconds); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def expireat(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. @@ -1116,10 +1116,10 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#8 def expires_in=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#6 def set(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/scalar.rb#24 @@ -1137,7 +1137,7 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/scalar.rb#14 @@ -1146,7 +1146,7 @@ class Kredis::Types::Scalar < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/scalar.rb#10 def value=(value); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/scalar.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private @@ -1159,7 +1159,7 @@ end class Kredis::Types::Set < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/set.rb#15 + # source://kredis//lib/kredis/types/set.rb#18 def <<(*members); end # source://kredis//lib/kredis/types/set.rb#15 @@ -1168,16 +1168,16 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#43 def clear; end - # source://kredis//lib/kredis/default_values.rb#11 + # source://kredis//lib/kredis/types/set.rb#4 def default; end - # source://kredis//lib/kredis/default_values.rb#7 + # source://kredis//lib/kredis/types/set.rb#4 def default=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -1188,7 +1188,7 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#10 def members; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#20 @@ -1197,37 +1197,37 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#24 def replace(*members); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def sadd(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#47 def sample(count = T.unsafe(nil)); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def scard(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def sismember(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#35 def size; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def smembers(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def spop(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def srandmember(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#6 def srem(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/set.rb#39 def take; end - # source://kredis//lib/kredis/types/set.rb#10 + # source://kredis//lib/kredis/types/set.rb#13 def to_a; end # Returns the value of attribute typed. @@ -1242,10 +1242,10 @@ class Kredis::Types::Set < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/set.rb#8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/set.rb#4 def watch(*_arg0, **_arg1, &_arg2); end private @@ -1273,19 +1273,19 @@ class Kredis::Types::Slots < ::Kredis::Types::Proxying # source://kredis//lib/kredis/types/slots.rb#43 def available?; end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def decr(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/slots.rb#6 def incr(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/slots.rb#34 @@ -1308,13 +1308,13 @@ class Kredis::Types::Slots::NotAvailable < ::StandardError; end # # source://kredis//lib/kredis/types/unique_list.rb#4 class Kredis::Types::UniqueList < ::Kredis::Types::List - # source://kredis//lib/kredis/types/unique_list.rb#20 + # source://kredis//lib/kredis/types/unique_list.rb#30 def <<(elements); end # source://kredis//lib/kredis/types/unique_list.rb#20 def append(elements); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/unique_list.rb#5 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute limit. @@ -1329,10 +1329,10 @@ class Kredis::Types::UniqueList < ::Kredis::Types::List # source://kredis//lib/kredis/types/unique_list.rb#7 def limit=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/unique_list.rb#5 def ltrim(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#9 + # source://kredis//lib/kredis/types/unique_list.rb#5 def multi(*_arg0, **_arg1, &_arg2); end # source://kredis//lib/kredis/types/unique_list.rb#9 diff --git a/sorbet/rbi/gems/logger@1.6.0.rbi b/sorbet/rbi/gems/logger@1.6.0.rbi index 5b699ff01..f7dc4c691 100644 --- a/sorbet/rbi/gems/logger@1.6.0.rbi +++ b/sorbet/rbi/gems/logger@1.6.0.rbi @@ -670,7 +670,7 @@ class Logger # - #fatal. # - #unknown. # - # source://logger//logger.rb#651 + # source://logger//logger.rb#671 def log(severity, message = T.unsafe(nil), progname = T.unsafe(nil)); end # Program name to include in log messages. @@ -711,7 +711,7 @@ class Logger # Logging severity threshold (e.g. Logger::INFO). # - # source://logger//logger.rb#383 + # source://logger//logger.rb#475 def sev_threshold; end # Sets the log level; returns +severity+. @@ -726,7 +726,7 @@ class Logger # # Logger#sev_threshold= is an alias for Logger#level=. # - # source://logger//logger.rb#399 + # source://logger//logger.rb#476 def sev_threshold=(severity); end # Equivalent to calling #add with severity Logger::UNKNOWN. diff --git a/sorbet/rbi/gems/loofah@2.22.0.rbi b/sorbet/rbi/gems/loofah@2.22.0.rbi index 58c1bb312..26b5bafb7 100644 --- a/sorbet/rbi/gems/loofah@2.22.0.rbi +++ b/sorbet/rbi/gems/loofah@2.22.0.rbi @@ -39,14 +39,14 @@ module Loofah # # This method accepts the same parameters as Nokogiri::HTML4::Document.parse # - # source://loofah//lib/loofah.rb#76 + # source://loofah//lib/loofah.rb#139 def document(*args, &block); end # Shortcut for Loofah::HTML4::DocumentFragment.parse(*args, &block) # # This method accepts the same parameters as Nokogiri::HTML4::DocumentFragment.parse # - # source://loofah//lib/loofah.rb#83 + # source://loofah//lib/loofah.rb#140 def fragment(*args, &block); end # Shortcut for Loofah::HTML4::Document.parse(*args, &block) @@ -81,12 +81,12 @@ module Loofah # Shortcut for Loofah::HTML4::Document.parse(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#88 + # source://loofah//lib/loofah.rb#141 def scrub_document(string_or_io, method); end # Shortcut for Loofah::HTML4::DocumentFragment.parse(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#93 + # source://loofah//lib/loofah.rb#142 def scrub_fragment(string_or_io, method); end # Shortcut for Loofah::HTML4::Document.parse(string_or_io).scrub!(method) @@ -446,7 +446,7 @@ end module Loofah::HtmlFragmentBehavior mixes_in_class_methods ::Loofah::HtmlFragmentBehavior::ClassMethods - # source://loofah//lib/loofah/concerns.rb#197 + # source://loofah//lib/loofah/concerns.rb#201 def serialize; end # source://loofah//lib/loofah/concerns.rb#203 @@ -990,7 +990,7 @@ module Loofah::TextBehavior # # decidedly not ok for browser: # frag.text(:encode_special_chars => false) # => "" # - # source://loofah//lib/loofah/concerns.rb#94 + # source://loofah//lib/loofah/concerns.rb#107 def inner_text(options = T.unsafe(nil)); end # Returns a plain-text version of the markup contained by the document, with HTML entities @@ -1034,7 +1034,7 @@ module Loofah::TextBehavior # # decidedly not ok for browser: # frag.text(:encode_special_chars => false) # => "" # - # source://loofah//lib/loofah/concerns.rb#94 + # source://loofah//lib/loofah/concerns.rb#108 def to_str(options = T.unsafe(nil)); end # Returns a plain-text version of the markup contained by the fragment, with HTML entities diff --git a/sorbet/rbi/gems/mail@2.8.1.rbi b/sorbet/rbi/gems/mail@2.8.1.rbi index f2dbc9722..d49981c4d 100644 --- a/sorbet/rbi/gems/mail@2.8.1.rbi +++ b/sorbet/rbi/gems/mail@2.8.1.rbi @@ -128,9 +128,6 @@ module Mail # source://mail//lib/mail/mail.rb#151 def first(*args, &block); end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/from_source.rb#4 - def from_source(source); end - # source://mail//lib/mail/mail.rb#233 def inform_interceptors(mail); end @@ -277,9 +274,6 @@ class Mail::Address # source://mail//lib/mail/elements/address.rb#25 def initialize(value = T.unsafe(nil)); end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/address_equality.rb#5 - def ==(other_address); end - # Returns the address that is in the address itself. That is, the # local@domain string, without any angle brackets or the like. # @@ -424,11 +418,6 @@ class Mail::Address # source://mail//lib/mail/elements/address.rb#207 def strip_domain_comments(value); end - - class << self - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/address_wrapping.rb#5 - def wrap(address); end - end end # source://mail//lib/mail/fields/common_address_field.rb#6 @@ -832,29 +821,40 @@ Mail::CcField::NAME = T.let(T.unsafe(nil), String) # source://mail//lib/mail/check_delivery_params.rb#5 module Mail::CheckDeliveryParams class << self - # source://mail//lib/mail/check_delivery_params.rb#10 + # source://mail//lib/mail/check_delivery_params.rb#16 def _deprecated_check(mail); end - # source://mail//lib/mail/check_delivery_params.rb#32 + # source://mail//lib/mail/check_delivery_params.rb#36 def _deprecated_check_addr(addr_name, addr); end - # source://mail//lib/mail/check_delivery_params.rb#18 + # source://mail//lib/mail/check_delivery_params.rb#22 def _deprecated_check_from(addr); end - # source://mail//lib/mail/check_delivery_params.rb#53 + # source://mail//lib/mail/check_delivery_params.rb#62 def _deprecated_check_message(message); end - # source://mail//lib/mail/check_delivery_params.rb#24 + # source://mail//lib/mail/check_delivery_params.rb#30 def _deprecated_check_to(addrs); end - # source://mail//lib/mail/check_delivery_params.rb#38 + # source://mail//lib/mail/check_delivery_params.rb#51 def _deprecated_validate_smtp_addr(addr); end + # source://mail//lib/mail/check_delivery_params.rb#16 def check(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#36 def check_addr(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#22 def check_from(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#62 def check_message(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#30 def check_to(*args, **_arg1, &block); end + + # source://mail//lib/mail/check_delivery_params.rb#51 def validate_smtp_addr(*args, **_arg1, &block); end end end @@ -1176,7 +1176,10 @@ class Mail::Configuration class << self private + # source://mail//lib/mail/configuration.rb#16 def allocate; end + + # source://mail//lib/mail/configuration.rb#16 def new(*_arg0); end end end @@ -1529,7 +1532,7 @@ class Mail::ContentTypeField < ::Mail::NamedStructuredField # source://mail//lib/mail/fields/content_type_field.rb#47 def attempt_to_clean; end - # source://mail//lib/mail/fields/content_type_field.rb#63 + # source://mail//lib/mail/fields/content_type_field.rb#66 def content_type; end # source://mail//lib/mail/fields/content_type_field.rb#101 @@ -2328,7 +2331,7 @@ class Mail::Field::SyntaxError < ::Mail::Field::FieldError; end # # source://mail//lib/mail/field_list.rb#8 class Mail::FieldList < ::Array - # source://mail//lib/mail/field_list.rb#22 + # source://mail//lib/mail/field_list.rb#29 def <<(field); end # source://mail//lib/mail/field_list.rb#22 @@ -2814,7 +2817,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#71 + # source://mail//lib/mail/indifferent_hash.rb#76 def has_key?(key); end # Checks the hash for a key matching the argument passed in: @@ -2826,7 +2829,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#71 + # source://mail//lib/mail/indifferent_hash.rb#75 def include?(key); end # Checks the hash for a key matching the argument passed in: @@ -2850,7 +2853,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#71 + # source://mail//lib/mail/indifferent_hash.rb#77 def member?(key); end # Merges the instantized and the specified hashes together, giving precedence to the values from the second hash @@ -2869,7 +2872,7 @@ class Mail::IndifferentHash < ::Hash # # hash_1.update(hash_2) # => {"key"=>"New Value!"} # - # source://mail//lib/mail/indifferent_hash.rb#57 + # source://mail//lib/mail/indifferent_hash.rb#62 def merge!(other_hash); end def regular_update(*_arg0); end @@ -2889,7 +2892,7 @@ class Mail::IndifferentHash < ::Hash # hash = HashWithIndifferentAccess.new # hash[:key] = "value" # - # source://mail//lib/mail/indifferent_hash.rb#41 + # source://mail//lib/mail/indifferent_hash.rb#45 def store(key, value); end # source://mail//lib/mail/indifferent_hash.rb#122 @@ -3551,9 +3554,6 @@ class Mail::Message # source://mail//lib/mail/message.rb#512 def bcc=(val); end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#21 - def bcc_addresses; end - # Returns an array of addresses (the encoded value) in the Bcc field, # if no Bcc field, returns an empty array # @@ -3660,9 +3660,6 @@ class Mail::Message # source://mail//lib/mail/message.rb#553 def cc=(val); end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#17 - def cc_addresses; end - # Returns an array of addresses (the encoded value) in the Cc field, # if no Cc field, returns an empty array # @@ -3979,9 +3976,6 @@ class Mail::Message # source://mail//lib/mail/message.rb#670 def from=(val); end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#5 - def from_address; end - # Returns an array of addresses (the encoded value) in the From field, # if no From field, returns an empty array # @@ -4372,12 +4366,6 @@ class Mail::Message # source://mail//lib/mail/message.rb#751 def received=(val); end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/recipients.rb#5 - def recipients; end - - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#9 - def recipients_addresses; end - # source://mail//lib/mail/message.rb#755 def references(val = T.unsafe(nil)); end @@ -4846,9 +4834,6 @@ class Mail::Message # source://mail//lib/mail/message.rb#1193 def to=(val); end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#13 - def to_addresses; end - # Returns an array of addresses (the encoded value) in the To field, # if no To field, returns an empty array # @@ -4870,12 +4855,6 @@ class Mail::Message # source://mail//lib/mail/message.rb#1811 def without_attachments!; end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#29 - def x_forwarded_to_addresses; end - - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#25 - def x_original_to_addresses; end - private # source://mail//lib/mail/message.rb#2067 @@ -4896,9 +4875,6 @@ class Mail::Message # source://mail//lib/mail/message.rb#2056 def add_required_message_fields; end - # source://actionmailbox/7.1.3.4/lib/action_mailbox/mail_ext/addresses.rb#34 - def address_list(obj); end - # source://mail//lib/mail/message.rb#2025 def allowed_encodings; end @@ -5247,7 +5223,7 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('こんにちは').slice(2..3).to_s # => "にち" # - # source://mail//lib/mail/multibyte/chars.rb#148 + # source://mail//lib/mail/multibyte/chars.rb#169 def [](*args); end # Like String#[]=, except instead of byte offsets you specify character offsets. @@ -5404,7 +5380,7 @@ class Mail::Multibyte::Chars # Mail::Multibyte.mb_chars("ÉL QUE SE ENTERÓ").titleize # => "Él Que Se Enteró" # Mail::Multibyte.mb_chars("日本語").titleize # => "日本語" # - # source://mail//lib/mail/multibyte/chars.rb#210 + # source://mail//lib/mail/multibyte/chars.rb#213 def titlecase; end # Capitalizes the first letter of every word, when possible. @@ -5418,12 +5394,12 @@ class Mail::Multibyte::Chars # Returns the value of attribute wrapped_string. # - # source://mail//lib/mail/multibyte/chars.rb#37 + # source://mail//lib/mail/multibyte/chars.rb#38 def to_s; end # Returns the value of attribute wrapped_string. # - # source://mail//lib/mail/multibyte/chars.rb#37 + # source://mail//lib/mail/multibyte/chars.rb#39 def to_str; end # Convert characters in the string to uppercase. @@ -5730,31 +5706,31 @@ class Mail::Multibyte::Unicode::UnicodeDatabase # source://mail//lib/mail/multibyte/unicode.rb#335 def initialize; end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def boundary; end # source://mail//lib/mail/multibyte/unicode.rb#333 def boundary=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def codepoints; end # source://mail//lib/mail/multibyte/unicode.rb#333 def codepoints=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def composition_exclusion; end # source://mail//lib/mail/multibyte/unicode.rb#333 def composition_exclusion=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def composition_map; end # source://mail//lib/mail/multibyte/unicode.rb#333 def composition_map=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#346 + # source://mail//lib/mail/multibyte/unicode.rb#345 def cp1252; end # source://mail//lib/mail/multibyte/unicode.rb#333 @@ -6026,46 +6002,106 @@ end # source://mail//lib/mail/parsers/address_lists_parser.rb#13 class Mail::Parsers::AddressListsParser::AddressListStruct < ::Struct + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def addresses; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def addresses=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def group_names; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def group_names=(_); end class << self + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#13 def new(*_arg0); end end end # source://mail//lib/mail/parsers/address_lists_parser.rb#14 class Mail::Parsers::AddressListsParser::AddressStruct < ::Struct + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def comments; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def comments=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def display_name; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def display_name=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def domain; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def domain=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def error; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def error=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def group; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def group=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def local; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def local=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def obs_domain_list; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def obs_domain_list=(_); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def raw; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def raw=(_); end class << self + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def [](*_arg0); end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def inspect; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def keyword_init?; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def members; end + + # source://mail//lib/mail/parsers/address_lists_parser.rb#14 def new(*_arg0); end end end @@ -6156,18 +6192,38 @@ end # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 class Mail::Parsers::ContentDispositionParser::ContentDispositionStruct < ::Struct + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def disposition_type; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def disposition_type=(_); end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def parameters; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def parameters=(_); end class << self + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 def new(*_arg0); end end end @@ -6258,16 +6314,32 @@ end # source://mail//lib/mail/parsers/content_location_parser.rb#13 class Mail::Parsers::ContentLocationParser::ContentLocationStruct < ::Struct + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def location; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def location=(_); end class << self + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_location_parser.rb#13 def new(*_arg0); end end end @@ -6358,16 +6430,32 @@ end # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 class Mail::Parsers::ContentTransferEncodingParser::ContentTransferEncodingStruct < ::Struct + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def encoding; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def encoding=(_); end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def error=(_); end class << self + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 def new(*_arg0); end end end @@ -6458,20 +6546,44 @@ end # source://mail//lib/mail/parsers/content_type_parser.rb#13 class Mail::Parsers::ContentTypeParser::ContentTypeStruct < ::Struct + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def main_type; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def main_type=(_); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def parameters; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def parameters=(_); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def sub_type; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def sub_type=(_); end class << self + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/content_type_parser.rb#13 def new(*_arg0); end end end @@ -6562,18 +6674,38 @@ end # source://mail//lib/mail/parsers/date_time_parser.rb#13 class Mail::Parsers::DateTimeParser::DateTimeStruct < ::Struct + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def date_string; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def date_string=(_); end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def time_string; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def time_string=(_); end class << self + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/date_time_parser.rb#13 def new(*_arg0); end end end @@ -6664,18 +6796,38 @@ end # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 class Mail::Parsers::EnvelopeFromParser::EnvelopeFromStruct < ::Struct + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def address; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def address=(_); end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def ctime_date; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def ctime_date=(_); end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def error=(_); end class << self + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 def new(*_arg0); end end end @@ -6766,16 +6918,32 @@ end # source://mail//lib/mail/parsers/message_ids_parser.rb#13 class Mail::Parsers::MessageIdsParser::MessageIdsStruct < ::Struct + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def message_ids; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def message_ids=(_); end class << self + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/message_ids_parser.rb#13 def new(*_arg0); end end end @@ -6866,18 +7034,38 @@ end # source://mail//lib/mail/parsers/mime_version_parser.rb#13 class Mail::Parsers::MimeVersionParser::MimeVersionStruct < ::Struct + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def major; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def major=(_); end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def minor; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def minor=(_); end class << self + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/mime_version_parser.rb#13 def new(*_arg0); end end end @@ -6968,16 +7156,32 @@ end # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 class Mail::Parsers::PhraseListsParser::PhraseListsStruct < ::Struct + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def phrases; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def phrases=(_); end class << self + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 def new(*_arg0); end end end @@ -7068,20 +7272,44 @@ end # source://mail//lib/mail/parsers/received_parser.rb#13 class Mail::Parsers::ReceivedParser::ReceivedStruct < ::Struct + # source://mail//lib/mail/parsers/received_parser.rb#13 def date; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def date=(_); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def error; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def error=(_); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def info; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def info=(_); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def time; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def time=(_); end class << self + # source://mail//lib/mail/parsers/received_parser.rb#13 def [](*_arg0); end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def inspect; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def keyword_init?; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def members; end + + # source://mail//lib/mail/parsers/received_parser.rb#13 def new(*_arg0); end end end @@ -7204,7 +7432,7 @@ class Mail::PartsList # source://mail//lib/mail/parts_list.rb#47 def inspect_structure(parent_id = T.unsafe(nil)); end - # source://mail//lib/mail/parts_list.rb#28 + # source://mail//lib/mail/parts_list.rb#37 def map; end # @raise [NoMethodError] diff --git a/sorbet/rbi/gems/marcel@1.0.4.rbi b/sorbet/rbi/gems/marcel@1.0.4.rbi index 861f2c1c8..9c22bc05d 100644 --- a/sorbet/rbi/gems/marcel@1.0.4.rbi +++ b/sorbet/rbi/gems/marcel@1.0.4.rbi @@ -36,7 +36,7 @@ class Marcel::Magic # # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#103 + # source://marcel//lib/marcel/magic.rb#111 def ==(other); end # @return [Boolean] diff --git a/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi b/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi index 438c20080..57cc73d42 100644 --- a/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi +++ b/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi @@ -6,90 +6,7 @@ # source://minitest-reporters//lib/minitest/reporters.rb#3 -module Minitest - class << self - # source://minitest/5.24.1/lib/minitest.rb#323 - def __run(reporter, options); end - - # source://minitest/5.24.1/lib/minitest.rb#97 - def after_run(&block); end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def allow_fork; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def allow_fork=(_arg0); end - - # source://minitest/5.24.1/lib/minitest.rb#69 - def autorun; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def backtrace_filter; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def backtrace_filter=(_arg0); end - - # source://minitest/5.24.1/lib/minitest.rb#18 - def cattr_accessor(name); end - - # source://minitest/5.24.1/lib/minitest.rb#1208 - def clock_time; end - - # source://minitest/5.24.1/lib/minitest.rb#303 - def empty_run!(options); end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def extensions; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def extensions=(_arg0); end - - # source://minitest/5.24.1/lib/minitest.rb#336 - def filter_backtrace(bt); end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def info_signal; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def info_signal=(_arg0); end - - # source://minitest/5.24.1/lib/minitest.rb#125 - def init_plugins(options); end - - # source://minitest/5.24.1/lib/minitest.rb#109 - def load_plugins; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def parallel_executor; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def parallel_executor=(_arg0); end - - # source://minitest/5.24.1/lib/minitest.rb#143 - def process_args(args = T.unsafe(nil)); end - - # source://minitest/5.24.1/lib/minitest.rb#104 - def register_plugin(name_or_mod); end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def reporter; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def reporter=(_arg0); end - - # source://minitest/5.24.1/lib/minitest.rb#269 - def run(args = T.unsafe(nil)); end - - # source://minitest/5.24.1/lib/minitest.rb#1199 - def run_one_method(klass, method_name); end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def seed; end - - # source://minitest/5.24.1/lib/minitest.rb#19 - def seed=(_arg0); end - end -end +module Minitest; end # Filters backtraces of exceptions that may arise when running tests. # @@ -356,7 +273,7 @@ class Minitest::Reporters::DefaultReporter < ::Minitest::Reporters::BaseReporter # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#26 def start; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#89 + # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#138 def to_s; end private @@ -451,7 +368,7 @@ class Minitest::Reporters::HtmlReporter < ::Minitest::Reporters::BaseReporter # The percentage of tests that were skipped # Keeping old method name with typo for backwards compatibility in custom templates (for now) # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#35 + # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#40 def percent_skipps; end # The percentage of tests that were skipped diff --git a/sorbet/rbi/gems/minitest@5.24.1.rbi b/sorbet/rbi/gems/minitest@5.24.1.rbi index 3d6b9c823..8a7f8eb58 100644 --- a/sorbet/rbi/gems/minitest@5.24.1.rbi +++ b/sorbet/rbi/gems/minitest@5.24.1.rbi @@ -766,119 +766,134 @@ end # source://minitest//lib/minitest/spec.rb#41 class Minitest::Expectation < ::Struct + # source://minitest//lib/minitest/spec.rb#41 def ctx; end + + # source://minitest//lib/minitest/spec.rb#41 def ctx=(_); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#116 def must_be(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#47 def must_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#29 def must_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#76 def must_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#85 def must_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#103 def must_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#161 def must_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#170 def must_be_silent(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#49 def must_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#58 def must_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#38 def must_equal(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#67 def must_include(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#94 def must_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#125 def must_output(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#134 def must_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#143 def must_raise(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#152 def must_respond_to(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#179 def must_throw(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#188 def path_must_exist(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#197 def path_wont_exist(*args, **_arg1); end + # source://minitest//lib/minitest/spec.rb#41 def target; end + + # source://minitest//lib/minitest/spec.rb#41 def target=(_); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#293 def wont_be(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#224 def wont_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#206 def wont_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#253 def wont_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#262 def wont_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#280 def wont_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#320 def wont_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#226 def wont_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#235 def wont_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#215 def wont_equal(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#244 def wont_include(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#271 def wont_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#302 def wont_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#25 + # source://minitest//lib/minitest/expectations.rb#311 def wont_respond_to(*args, **_arg1); end class << self + # source://minitest//lib/minitest/spec.rb#41 def [](*_arg0); end + + # source://minitest//lib/minitest/spec.rb#41 def inspect; end + + # source://minitest//lib/minitest/spec.rb#41 def keyword_init?; end + + # source://minitest//lib/minitest/spec.rb#41 def members; end + + # source://minitest//lib/minitest/spec.rb#41 def new(*_arg0); end end end @@ -903,106 +918,106 @@ end # # source://minitest//lib/minitest/expectations.rb#20 module Minitest::Expectations - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#116 def must_be(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#47 def must_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#29 def must_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#76 def must_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#85 def must_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#103 def must_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#161 def must_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#170 def must_be_silent(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#49 def must_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#58 def must_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#38 def must_equal(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#67 def must_include(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#94 def must_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#125 def must_output(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#134 def must_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#143 def must_raise(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#152 def must_respond_to(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#179 def must_throw(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#188 def path_must_exist(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#197 def path_wont_exist(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#293 def wont_be(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#224 def wont_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#206 def wont_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#253 def wont_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#262 def wont_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#280 def wont_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#320 def wont_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#226 def wont_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#235 def wont_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#215 def wont_equal(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#244 def wont_include(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#271 def wont_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#302 def wont_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/spec.rb#15 + # source://minitest//lib/minitest/expectations.rb#311 def wont_respond_to(*args, **_arg1); end end @@ -1554,7 +1569,7 @@ module Minitest::Spec::DSL # Hint: If you _do_ want inheritance, use minitest/test. You can mix # and match between assertions and expectations as much as you want. # - # source://minitest//lib/minitest/spec.rb#223 + # source://minitest//lib/minitest/spec.rb#292 def specify(desc = T.unsafe(nil), &block); end # Another lazy man's accessor generator. Made even more lazy by @@ -1628,7 +1643,7 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest//lib/minitest/spec.rb#322 + # source://minitest//lib/minitest/spec.rb#327 def expect(value = T.unsafe(nil), &block); end # Takes a value or a block and returns a value monad that has @@ -1654,7 +1669,7 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest//lib/minitest/spec.rb#322 + # source://minitest//lib/minitest/spec.rb#326 def value(value = T.unsafe(nil), &block); end end diff --git a/sorbet/rbi/gems/net-http@0.4.1.rbi b/sorbet/rbi/gems/net-http@0.4.1.rbi index 5bf3b8bc4..a4410803c 100644 --- a/sorbet/rbi/gems/net-http@0.4.1.rbi +++ b/sorbet/rbi/gems/net-http@0.4.1.rbi @@ -5,694 +5,7 @@ # Please instead update this file by running `bin/tapioca gem net-http`. -# \Class \Net::HTTP provides a rich library that implements the client -# in a client-server model that uses the \HTTP request-response protocol. -# For information about \HTTP, see: -# -# - {Hypertext Transfer Protocol}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol]. -# - {Technical overview}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Technical_overview]. -# -# == About the Examples -# -# :include: doc/net-http/examples.rdoc -# -# == Strategies -# -# - If you will make only a few GET requests, -# consider using {OpenURI}[https://docs.ruby-lang.org/en/master/OpenURI.html]. -# - If you will make only a few requests of all kinds, -# consider using the various singleton convenience methods in this class. -# Each of the following methods automatically starts and finishes -# a {session}[rdoc-ref:Net::HTTP@Sessions] that sends a single request: -# -# # Return string response body. -# Net::HTTP.get(hostname, path) -# Net::HTTP.get(uri) -# -# # Write string response body to $stdout. -# Net::HTTP.get_print(hostname, path) -# Net::HTTP.get_print(uri) -# -# # Return response as Net::HTTPResponse object. -# Net::HTTP.get_response(hostname, path) -# Net::HTTP.get_response(uri) -# data = '{"title": "foo", "body": "bar", "userId": 1}' -# Net::HTTP.post(uri, data) -# params = {title: 'foo', body: 'bar', userId: 1} -# Net::HTTP.post_form(uri, params) -# -# - If performance is important, consider using sessions, which lower request overhead. -# This {session}[rdoc-ref:Net::HTTP@Sessions] has multiple requests for -# {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods] -# and {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]: -# -# Net::HTTP.start(hostname) do |http| -# # Session started automatically before block execution. -# http.get(path) -# http.head(path) -# body = 'Some text' -# http.post(path, body) # Can also have a block. -# http.put(path, body) -# http.delete(path) -# http.options(path) -# http.trace(path) -# http.patch(path, body) # Can also have a block. -# http.copy(path) -# http.lock(path, body) -# http.mkcol(path, body) -# http.move(path) -# http.propfind(path, body) -# http.proppatch(path, body) -# http.unlock(path, body) -# # Session finished automatically at block exit. -# end -# -# The methods cited above are convenience methods that, via their few arguments, -# allow minimal control over the requests. -# For greater control, consider using {request objects}[rdoc-ref:Net::HTTPRequest]. -# -# == URIs -# -# On the internet, a URI -# ({Universal Resource Identifier}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier]) -# is a string that identifies a particular resource. -# It consists of some or all of: scheme, hostname, path, query, and fragment; -# see {URI syntax}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax]. -# -# A Ruby {URI::Generic}[https://docs.ruby-lang.org/en/master/URI/Generic.html] object -# represents an internet URI. -# It provides, among others, methods -# +scheme+, +hostname+, +path+, +query+, and +fragment+. -# -# === Schemes -# -# An internet \URI has -# a {scheme}[https://en.wikipedia.org/wiki/List_of_URI_schemes]. -# -# The two schemes supported in \Net::HTTP are 'https' and 'http': -# -# uri.scheme # => "https" -# URI('http://example.com').scheme # => "http" -# -# === Hostnames -# -# A hostname identifies a server (host) to which requests may be sent: -# -# hostname = uri.hostname # => "jsonplaceholder.typicode.com" -# Net::HTTP.start(hostname) do |http| -# # Some HTTP stuff. -# end -# -# === Paths -# -# A host-specific path identifies a resource on the host: -# -# _uri = uri.dup -# _uri.path = '/todos/1' -# hostname = _uri.hostname -# path = _uri.path -# Net::HTTP.get(hostname, path) -# -# === Queries -# -# A host-specific query adds name/value pairs to the URI: -# -# _uri = uri.dup -# params = {userId: 1, completed: false} -# _uri.query = URI.encode_www_form(params) -# _uri # => # -# Net::HTTP.get(_uri) -# -# === Fragments -# -# A {URI fragment}[https://en.wikipedia.org/wiki/URI_fragment] has no effect -# in \Net::HTTP; -# the same data is returned, regardless of whether a fragment is included. -# -# == Request Headers -# -# Request headers may be used to pass additional information to the host, -# similar to arguments passed in a method call; -# each header is a name/value pair. -# -# Each of the \Net::HTTP methods that sends a request to the host -# has optional argument +headers+, -# where the headers are expressed as a hash of field-name/value pairs: -# -# headers = {Accept: 'application/json', Connection: 'Keep-Alive'} -# Net::HTTP.get(uri, headers) -# -# See lists of both standard request fields and common request fields at -# {Request Fields}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Request_fields]. -# A host may also accept other custom fields. -# -# == \HTTP Sessions -# -# A _session_ is a connection between a server (host) and a client that: -# -# - Is begun by instance method Net::HTTP#start. -# - May contain any number of requests. -# - Is ended by instance method Net::HTTP#finish. -# -# See example sessions at {Strategies}[rdoc-ref:Net::HTTP@Strategies]. -# -# === Session Using \Net::HTTP.start -# -# If you have many requests to make to a single host (and port), -# consider using singleton method Net::HTTP.start with a block; -# the method handles the session automatically by: -# -# - Calling #start before block execution. -# - Executing the block. -# - Calling #finish after block execution. -# -# In the block, you can use these instance methods, -# each of which that sends a single request: -# -# - {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]: -# -# - #get, #request_get: GET. -# - #head, #request_head: HEAD. -# - #post, #request_post: POST. -# - #delete: DELETE. -# - #options: OPTIONS. -# - #trace: TRACE. -# - #patch: PATCH. -# -# - {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]: -# -# - #copy: COPY. -# - #lock: LOCK. -# - #mkcol: MKCOL. -# - #move: MOVE. -# - #propfind: PROPFIND. -# - #proppatch: PROPPATCH. -# - #unlock: UNLOCK. -# -# === Session Using \Net::HTTP.start and \Net::HTTP.finish -# -# You can manage a session manually using methods #start and #finish: -# -# http = Net::HTTP.new(hostname) -# http.start -# http.get('/todos/1') -# http.get('/todos/2') -# http.delete('/posts/1') -# http.finish # Needed to free resources. -# -# === Single-Request Session -# -# Certain convenience methods automatically handle a session by: -# -# - Creating an \HTTP object -# - Starting a session. -# - Sending a single request. -# - Finishing the session. -# - Destroying the object. -# -# Such methods that send GET requests: -# -# - ::get: Returns the string response body. -# - ::get_print: Writes the string response body to $stdout. -# - ::get_response: Returns a Net::HTTPResponse object. -# -# Such methods that send POST requests: -# -# - ::post: Posts data to the host. -# - ::post_form: Posts form data to the host. -# -# == \HTTP Requests and Responses -# -# Many of the methods above are convenience methods, -# each of which sends a request and returns a string -# without directly using \Net::HTTPRequest and \Net::HTTPResponse objects. -# -# You can, however, directly create a request object, send the request, -# and retrieve the response object; see: -# -# - Net::HTTPRequest. -# - Net::HTTPResponse. -# -# == Following Redirection -# -# Each returned response is an instance of a subclass of Net::HTTPResponse. -# See the {response class hierarchy}[rdoc-ref:Net::HTTPResponse@Response+Subclasses]. -# -# In particular, class Net::HTTPRedirection is the parent -# of all redirection classes. -# This allows you to craft a case statement to handle redirections properly: -# -# def fetch(uri, limit = 10) -# # You should choose a better exception. -# raise ArgumentError, 'Too many HTTP redirects' if limit == 0 -# -# res = Net::HTTP.get_response(URI(uri)) -# case res -# when Net::HTTPSuccess # Any success class. -# res -# when Net::HTTPRedirection # Any redirection class. -# location = res['Location'] -# warn "Redirected to #{location}" -# fetch(location, limit - 1) -# else # Any other class. -# res.value -# end -# end -# -# fetch(uri) -# -# == Basic Authentication -# -# Basic authentication is performed according to -# {RFC2617}[http://www.ietf.org/rfc/rfc2617.txt]: -# -# req = Net::HTTP::Get.new(uri) -# req.basic_auth('user', 'pass') -# res = Net::HTTP.start(hostname) do |http| -# http.request(req) -# end -# -# == Streaming Response Bodies -# -# By default \Net::HTTP reads an entire response into memory. If you are -# handling large files or wish to implement a progress bar you can instead -# stream the body directly to an IO. -# -# Net::HTTP.start(hostname) do |http| -# req = Net::HTTP::Get.new(uri) -# http.request(req) do |res| -# open('t.tmp', 'w') do |f| -# res.read_body do |chunk| -# f.write chunk -# end -# end -# end -# end -# -# == HTTPS -# -# HTTPS is enabled for an \HTTP connection by Net::HTTP#use_ssl=: -# -# Net::HTTP.start(hostname, :use_ssl => true) do |http| -# req = Net::HTTP::Get.new(uri) -# res = http.request(req) -# end -# -# Or if you simply want to make a GET request, you may pass in a URI -# object that has an \HTTPS URL. \Net::HTTP automatically turns on TLS -# verification if the URI object has a 'https' URI scheme: -# -# uri # => # -# Net::HTTP.get(uri) -# -# == Proxy Server -# -# An \HTTP object can have -# a {proxy server}[https://en.wikipedia.org/wiki/Proxy_server]. -# -# You can create an \HTTP object with a proxy server -# using method Net::HTTP.new or method Net::HTTP.start. -# -# The proxy may be defined either by argument +p_addr+ -# or by environment variable 'http_proxy'. -# -# === Proxy Using Argument +p_addr+ as a \String -# -# When argument +p_addr+ is a string hostname, -# the returned +http+ has the given host as its proxy: -# -# http = Net::HTTP.new(hostname, nil, 'proxy.example') -# http.proxy? # => true -# http.proxy_from_env? # => false -# http.proxy_address # => "proxy.example" -# # These use default values. -# http.proxy_port # => 80 -# http.proxy_user # => nil -# http.proxy_pass # => nil -# -# The port, username, and password for the proxy may also be given: -# -# http = Net::HTTP.new(hostname, nil, 'proxy.example', 8000, 'pname', 'ppass') -# # => # -# http.proxy? # => true -# http.proxy_from_env? # => false -# http.proxy_address # => "proxy.example" -# http.proxy_port # => 8000 -# http.proxy_user # => "pname" -# http.proxy_pass # => "ppass" -# -# === Proxy Using 'ENV['http_proxy']' -# -# When environment variable 'http_proxy' -# is set to a \URI string, -# the returned +http+ will have the server at that URI as its proxy; -# note that the \URI string must have a protocol -# such as 'http' or 'https': -# -# ENV['http_proxy'] = 'http://example.com' -# http = Net::HTTP.new(hostname) -# http.proxy? # => true -# http.proxy_from_env? # => true -# http.proxy_address # => "example.com" -# # These use default values. -# http.proxy_port # => 80 -# http.proxy_user # => nil -# http.proxy_pass # => nil -# -# The \URI string may include proxy username, password, and port number: -# -# ENV['http_proxy'] = 'http://pname:ppass@example.com:8000' -# http = Net::HTTP.new(hostname) -# http.proxy? # => true -# http.proxy_from_env? # => true -# http.proxy_address # => "example.com" -# http.proxy_port # => 8000 -# http.proxy_user # => "pname" -# http.proxy_pass # => "ppass" -# -# === Filtering Proxies -# -# With method Net::HTTP.new (but not Net::HTTP.start), -# you can use argument +p_no_proxy+ to filter proxies: -# -# - Reject a certain address: -# -# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example') -# http.proxy_address # => nil -# -# - Reject certain domains or subdomains: -# -# http = Net::HTTP.new('example.com', nil, 'my.proxy.example', 8000, 'pname', 'ppass', 'proxy.example') -# http.proxy_address # => nil -# -# - Reject certain addresses and port combinations: -# -# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:1234') -# http.proxy_address # => "proxy.example" -# -# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:8000') -# http.proxy_address # => nil -# -# - Reject a list of the types above delimited using a comma: -# -# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000') -# http.proxy_address # => nil -# -# http = Net::HTTP.new('example.com', nil, 'my.proxy', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000') -# http.proxy_address # => nil -# -# == Compression and Decompression -# -# \Net::HTTP does not compress the body of a request before sending. -# -# By default, \Net::HTTP adds header 'Accept-Encoding' -# to a new {request object}[rdoc-ref:Net::HTTPRequest]: -# -# Net::HTTP::Get.new(uri)['Accept-Encoding'] -# # => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3" -# -# This requests the server to zip-encode the response body if there is one; -# the server is not required to do so. -# -# \Net::HTTP does not automatically decompress a response body -# if the response has header 'Content-Range'. -# -# Otherwise decompression (or not) depends on the value of header -# {Content-Encoding}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#content-encoding-response-header]: -# -# - 'deflate', 'gzip', or 'x-gzip': -# decompresses the body and deletes the header. -# - 'none' or 'identity': -# does not decompress the body, but deletes the header. -# - Any other value: -# leaves the body and header unchanged. -# -# == What's Here -# -# This is a categorized summary of methods and attributes. -# -# === \Net::HTTP Objects -# -# - {::new}[rdoc-ref:Net::HTTP.new]: -# Creates a new instance. -# - {#inspect}[rdoc-ref:Net::HTTP#inspect]: -# Returns a string representation of +self+. -# -# === Sessions -# -# - {::start}[rdoc-ref:Net::HTTP.start]: -# Begins a new session in a new \Net::HTTP object. -# - {#started?}[rdoc-ref:Net::HTTP#started?] -# (aliased as {#active?}[rdoc-ref:Net::HTTP#active?]): -# Returns whether in a session. -# - {#finish}[rdoc-ref:Net::HTTP#finish]: -# Ends an active session. -# - {#start}[rdoc-ref:Net::HTTP#start]: -# Begins a new session in an existing \Net::HTTP object (+self+). -# -# === Connections -# -# - {:continue_timeout}[rdoc-ref:Net::HTTP#continue_timeout]: -# Returns the continue timeout. -# - {#continue_timeout=}[rdoc-ref:Net::HTTP#continue_timeout=]: -# Sets the continue timeout seconds. -# - {:keep_alive_timeout}[rdoc-ref:Net::HTTP#keep_alive_timeout]: -# Returns the keep-alive timeout. -# - {:keep_alive_timeout=}[rdoc-ref:Net::HTTP#keep_alive_timeout=]: -# Sets the keep-alive timeout. -# - {:max_retries}[rdoc-ref:Net::HTTP#max_retries]: -# Returns the maximum retries. -# - {#max_retries=}[rdoc-ref:Net::HTTP#max_retries=]: -# Sets the maximum retries. -# - {:open_timeout}[rdoc-ref:Net::HTTP#open_timeout]: -# Returns the open timeout. -# - {:open_timeout=}[rdoc-ref:Net::HTTP#open_timeout=]: -# Sets the open timeout. -# - {:read_timeout}[rdoc-ref:Net::HTTP#read_timeout]: -# Returns the open timeout. -# - {:read_timeout=}[rdoc-ref:Net::HTTP#read_timeout=]: -# Sets the read timeout. -# - {:ssl_timeout}[rdoc-ref:Net::HTTP#ssl_timeout]: -# Returns the ssl timeout. -# - {:ssl_timeout=}[rdoc-ref:Net::HTTP#ssl_timeout=]: -# Sets the ssl timeout. -# - {:write_timeout}[rdoc-ref:Net::HTTP#write_timeout]: -# Returns the write timeout. -# - {write_timeout=}[rdoc-ref:Net::HTTP#write_timeout=]: -# Sets the write timeout. -# -# === Requests -# -# - {::get}[rdoc-ref:Net::HTTP.get]: -# Sends a GET request and returns the string response body. -# - {::get_print}[rdoc-ref:Net::HTTP.get_print]: -# Sends a GET request and write the string response body to $stdout. -# - {::get_response}[rdoc-ref:Net::HTTP.get_response]: -# Sends a GET request and returns a response object. -# - {::post_form}[rdoc-ref:Net::HTTP.post_form]: -# Sends a POST request with form data and returns a response object. -# - {::post}[rdoc-ref:Net::HTTP.post]: -# Sends a POST request with data and returns a response object. -# - {#copy}[rdoc-ref:Net::HTTP#copy]: -# Sends a COPY request and returns a response object. -# - {#delete}[rdoc-ref:Net::HTTP#delete]: -# Sends a DELETE request and returns a response object. -# - {#get}[rdoc-ref:Net::HTTP#get]: -# Sends a GET request and returns a response object. -# - {#head}[rdoc-ref:Net::HTTP#head]: -# Sends a HEAD request and returns a response object. -# - {#lock}[rdoc-ref:Net::HTTP#lock]: -# Sends a LOCK request and returns a response object. -# - {#mkcol}[rdoc-ref:Net::HTTP#mkcol]: -# Sends a MKCOL request and returns a response object. -# - {#move}[rdoc-ref:Net::HTTP#move]: -# Sends a MOVE request and returns a response object. -# - {#options}[rdoc-ref:Net::HTTP#options]: -# Sends a OPTIONS request and returns a response object. -# - {#patch}[rdoc-ref:Net::HTTP#patch]: -# Sends a PATCH request and returns a response object. -# - {#post}[rdoc-ref:Net::HTTP#post]: -# Sends a POST request and returns a response object. -# - {#propfind}[rdoc-ref:Net::HTTP#propfind]: -# Sends a PROPFIND request and returns a response object. -# - {#proppatch}[rdoc-ref:Net::HTTP#proppatch]: -# Sends a PROPPATCH request and returns a response object. -# - {#put}[rdoc-ref:Net::HTTP#put]: -# Sends a PUT request and returns a response object. -# - {#request}[rdoc-ref:Net::HTTP#request]: -# Sends a request and returns a response object. -# - {#request_get}[rdoc-ref:Net::HTTP#request_get] -# (aliased as {#get2}[rdoc-ref:Net::HTTP#get2]): -# Sends a GET request and forms a response object; -# if a block given, calls the block with the object, -# otherwise returns the object. -# - {#request_head}[rdoc-ref:Net::HTTP#request_head] -# (aliased as {#head2}[rdoc-ref:Net::HTTP#head2]): -# Sends a HEAD request and forms a response object; -# if a block given, calls the block with the object, -# otherwise returns the object. -# - {#request_post}[rdoc-ref:Net::HTTP#request_post] -# (aliased as {#post2}[rdoc-ref:Net::HTTP#post2]): -# Sends a POST request and forms a response object; -# if a block given, calls the block with the object, -# otherwise returns the object. -# - {#send_request}[rdoc-ref:Net::HTTP#send_request]: -# Sends a request and returns a response object. -# - {#trace}[rdoc-ref:Net::HTTP#trace]: -# Sends a TRACE request and returns a response object. -# - {#unlock}[rdoc-ref:Net::HTTP#unlock]: -# Sends an UNLOCK request and returns a response object. -# -# === Responses -# -# - {:close_on_empty_response}[rdoc-ref:Net::HTTP#close_on_empty_response]: -# Returns whether to close connection on empty response. -# - {:close_on_empty_response=}[rdoc-ref:Net::HTTP#close_on_empty_response=]: -# Sets whether to close connection on empty response. -# - {:ignore_eof}[rdoc-ref:Net::HTTP#ignore_eof]: -# Returns whether to ignore end-of-file when reading a response body -# with Content-Length headers. -# - {:ignore_eof=}[rdoc-ref:Net::HTTP#ignore_eof=]: -# Sets whether to ignore end-of-file when reading a response body -# with Content-Length headers. -# - {:response_body_encoding}[rdoc-ref:Net::HTTP#response_body_encoding]: -# Returns the encoding to use for the response body. -# - {#response_body_encoding=}[rdoc-ref:Net::HTTP#response_body_encoding=]: -# Sets the response body encoding. -# -# === Proxies -# -# - {:proxy_address}[rdoc-ref:Net::HTTP#proxy_address]: -# Returns the proxy address. -# - {:proxy_address=}[rdoc-ref:Net::HTTP#proxy_address=]: -# Sets the proxy address. -# - {::proxy_class?}[rdoc-ref:Net::HTTP.proxy_class?]: -# Returns whether +self+ is a proxy class. -# - {#proxy?}[rdoc-ref:Net::HTTP#proxy?]: -# Returns whether +self+ has a proxy. -# - {#proxy_address}[rdoc-ref:Net::HTTP#proxy_address] -# (aliased as {#proxyaddr}[rdoc-ref:Net::HTTP#proxyaddr]): -# Returns the proxy address. -# - {#proxy_from_env?}[rdoc-ref:Net::HTTP#proxy_from_env?]: -# Returns whether the proxy is taken from an environment variable. -# - {:proxy_from_env=}[rdoc-ref:Net::HTTP#proxy_from_env=]: -# Sets whether the proxy is to be taken from an environment variable. -# - {:proxy_pass}[rdoc-ref:Net::HTTP#proxy_pass]: -# Returns the proxy password. -# - {:proxy_pass=}[rdoc-ref:Net::HTTP#proxy_pass=]: -# Sets the proxy password. -# - {:proxy_port}[rdoc-ref:Net::HTTP#proxy_port]: -# Returns the proxy port. -# - {:proxy_port=}[rdoc-ref:Net::HTTP#proxy_port=]: -# Sets the proxy port. -# - {#proxy_user}[rdoc-ref:Net::HTTP#proxy_user]: -# Returns the proxy user name. -# - {:proxy_user=}[rdoc-ref:Net::HTTP#proxy_user=]: -# Sets the proxy user. -# -# === Security -# -# - {:ca_file}[rdoc-ref:Net::HTTP#ca_file]: -# Returns the path to a CA certification file. -# - {:ca_file=}[rdoc-ref:Net::HTTP#ca_file=]: -# Sets the path to a CA certification file. -# - {:ca_path}[rdoc-ref:Net::HTTP#ca_path]: -# Returns the path of to CA directory containing certification files. -# - {:ca_path=}[rdoc-ref:Net::HTTP#ca_path=]: -# Sets the path of to CA directory containing certification files. -# - {:cert}[rdoc-ref:Net::HTTP#cert]: -# Returns the OpenSSL::X509::Certificate object to be used for client certification. -# - {:cert=}[rdoc-ref:Net::HTTP#cert=]: -# Sets the OpenSSL::X509::Certificate object to be used for client certification. -# - {:cert_store}[rdoc-ref:Net::HTTP#cert_store]: -# Returns the X509::Store to be used for verifying peer certificate. -# - {:cert_store=}[rdoc-ref:Net::HTTP#cert_store=]: -# Sets the X509::Store to be used for verifying peer certificate. -# - {:ciphers}[rdoc-ref:Net::HTTP#ciphers]: -# Returns the available SSL ciphers. -# - {:ciphers=}[rdoc-ref:Net::HTTP#ciphers=]: -# Sets the available SSL ciphers. -# - {:extra_chain_cert}[rdoc-ref:Net::HTTP#extra_chain_cert]: -# Returns the extra X509 certificates to be added to the certificate chain. -# - {:extra_chain_cert=}[rdoc-ref:Net::HTTP#extra_chain_cert=]: -# Sets the extra X509 certificates to be added to the certificate chain. -# - {:key}[rdoc-ref:Net::HTTP#key]: -# Returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. -# - {:key=}[rdoc-ref:Net::HTTP#key=]: -# Sets the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. -# - {:max_version}[rdoc-ref:Net::HTTP#max_version]: -# Returns the maximum SSL version. -# - {:max_version=}[rdoc-ref:Net::HTTP#max_version=]: -# Sets the maximum SSL version. -# - {:min_version}[rdoc-ref:Net::HTTP#min_version]: -# Returns the minimum SSL version. -# - {:min_version=}[rdoc-ref:Net::HTTP#min_version=]: -# Sets the minimum SSL version. -# - {#peer_cert}[rdoc-ref:Net::HTTP#peer_cert]: -# Returns the X509 certificate chain for the session's socket peer. -# - {:ssl_version}[rdoc-ref:Net::HTTP#ssl_version]: -# Returns the SSL version. -# - {:ssl_version=}[rdoc-ref:Net::HTTP#ssl_version=]: -# Sets the SSL version. -# - {#use_ssl=}[rdoc-ref:Net::HTTP#use_ssl=]: -# Sets whether a new session is to use Transport Layer Security. -# - {#use_ssl?}[rdoc-ref:Net::HTTP#use_ssl?]: -# Returns whether +self+ uses SSL. -# - {:verify_callback}[rdoc-ref:Net::HTTP#verify_callback]: -# Returns the callback for the server certification verification. -# - {:verify_callback=}[rdoc-ref:Net::HTTP#verify_callback=]: -# Sets the callback for the server certification verification. -# - {:verify_depth}[rdoc-ref:Net::HTTP#verify_depth]: -# Returns the maximum depth for the certificate chain verification. -# - {:verify_depth=}[rdoc-ref:Net::HTTP#verify_depth=]: -# Sets the maximum depth for the certificate chain verification. -# - {:verify_hostname}[rdoc-ref:Net::HTTP#verify_hostname]: -# Returns the flags for server the certification verification at the beginning of the SSL/TLS session. -# - {:verify_hostname=}[rdoc-ref:Net::HTTP#verify_hostname=]: -# Sets he flags for server the certification verification at the beginning of the SSL/TLS session. -# - {:verify_mode}[rdoc-ref:Net::HTTP#verify_mode]: -# Returns the flags for server the certification verification at the beginning of the SSL/TLS session. -# - {:verify_mode=}[rdoc-ref:Net::HTTP#verify_mode=]: -# Sets the flags for server the certification verification at the beginning of the SSL/TLS session. -# -# === Addresses and Ports -# -# - {:address}[rdoc-ref:Net::HTTP#address]: -# Returns the string host name or host IP. -# - {::default_port}[rdoc-ref:Net::HTTP.default_port]: -# Returns integer 80, the default port to use for HTTP requests. -# - {::http_default_port}[rdoc-ref:Net::HTTP.http_default_port]: -# Returns integer 80, the default port to use for HTTP requests. -# - {::https_default_port}[rdoc-ref:Net::HTTP.https_default_port]: -# Returns integer 443, the default port to use for HTTPS requests. -# - {#ipaddr}[rdoc-ref:Net::HTTP#ipaddr]: -# Returns the IP address for the connection. -# - {#ipaddr=}[rdoc-ref:Net::HTTP#ipaddr=]: -# Sets the IP address for the connection. -# - {:local_host}[rdoc-ref:Net::HTTP#local_host]: -# Returns the string local host used to establish the connection. -# - {:local_host=}[rdoc-ref:Net::HTTP#local_host=]: -# Sets the string local host used to establish the connection. -# - {:local_port}[rdoc-ref:Net::HTTP#local_port]: -# Returns the integer local port used to establish the connection. -# - {:local_port=}[rdoc-ref:Net::HTTP#local_port=]: -# Sets the integer local port used to establish the connection. -# - {:port}[rdoc-ref:Net::HTTP#port]: -# Returns the integer port number. -# -# === \HTTP Version -# -# - {::version_1_2?}[rdoc-ref:Net::HTTP.version_1_2?] -# (aliased as {::is_version_1_2?}[rdoc-ref:Net::HTTP.is_version_1_2?] -# and {::version_1_2}[rdoc-ref:Net::HTTP.version_1_2]): -# Returns true; retained for compatibility. -# -# === Debugging -# -# - {#set_debug_output}[rdoc-ref:Net::HTTP#set_debug_output]: -# Sets the output stream for debugging. -# -# source://net-http//lib/net/http.rb#722 +# :enddoc: class Net::HTTP < ::Net::Protocol # Creates a new \Net::HTTP object for the specified server address, # without opening the TCP connection or initializing the \HTTP session. @@ -700,7 +13,7 @@ class Net::HTTP < ::Net::Protocol # # @return [HTTP] a new instance of HTTP # - # source://net-http//lib/net/http.rb#1093 + # source://net-http//net/http.rb#1093 def initialize(address, port = T.unsafe(nil)); end # Returns +true+ if the \HTTP session has been started: @@ -719,86 +32,86 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1413 + # source://net-http//net/http.rb#1417 def active?; end # Returns the string host name or host IP given as argument +address+ in ::new. # - # source://net-http//lib/net/http.rb#1194 + # source://net-http//net/http.rb#1194 def address; end # Sets or returns the path to a CA certification file in PEM format. # - # source://net-http//lib/net/http.rb#1479 + # source://net-http//net/http.rb#1479 def ca_file; end # Sets or returns the path to a CA certification file in PEM format. # - # source://net-http//lib/net/http.rb#1479 + # source://net-http//net/http.rb#1479 def ca_file=(_arg0); end # Sets or returns the path of to CA directory # containing certification files in PEM format. # - # source://net-http//lib/net/http.rb#1483 + # source://net-http//net/http.rb#1483 def ca_path; end # Sets or returns the path of to CA directory # containing certification files in PEM format. # - # source://net-http//lib/net/http.rb#1483 + # source://net-http//net/http.rb#1483 def ca_path=(_arg0); end # Sets or returns the OpenSSL::X509::Certificate object # to be used for client certification. # - # source://net-http//lib/net/http.rb#1487 + # source://net-http//net/http.rb#1487 def cert; end # Sets or returns the OpenSSL::X509::Certificate object # to be used for client certification. # - # source://net-http//lib/net/http.rb#1487 + # source://net-http//net/http.rb#1487 def cert=(_arg0); end # Sets or returns the X509::Store to be used for verifying peer certificate. # - # source://net-http//lib/net/http.rb#1490 + # source://net-http//net/http.rb#1490 def cert_store; end # Sets or returns the X509::Store to be used for verifying peer certificate. # - # source://net-http//lib/net/http.rb#1490 + # source://net-http//net/http.rb#1490 def cert_store=(_arg0); end # Sets or returns the available SSL ciphers. - # See {OpenSSL::SSL::SSLContext#ciphers=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D]. + # See {OpenSSL::SSL::SSLContext#ciphers=}[rdoc-ref:OpenSSL::SSL::SSLContext#ciphers-3D]. # - # source://net-http//lib/net/http.rb#1494 + # source://net-http//net/http.rb#1494 def ciphers; end # Sets or returns the available SSL ciphers. - # See {OpenSSL::SSL::SSLContext#ciphers=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D]. + # See {OpenSSL::SSL::SSLContext#ciphers=}[rdoc-ref:OpenSSL::SSL::SSLContext#ciphers-3D]. # - # source://net-http//lib/net/http.rb#1494 + # source://net-http//net/http.rb#1494 def ciphers=(_arg0); end # Sets or returns whether to close the connection when the response is empty; # initially +false+. # - # source://net-http//lib/net/http.rb#1421 + # source://net-http//net/http.rb#1421 def close_on_empty_response; end # Sets or returns whether to close the connection when the response is empty; # initially +false+. # - # source://net-http//lib/net/http.rb#1421 + # source://net-http//net/http.rb#1421 def close_on_empty_response=(_arg0); end # Returns the continue timeout value; # see continue_timeout=. # - # source://net-http//lib/net/http.rb#1374 + # source://net-http//net/http.rb#1374 def continue_timeout; end # Sets the continue timeout value, @@ -806,7 +119,7 @@ class Net::HTTP < ::Net::Protocol # If the \HTTP object does not receive a response in this many seconds # it sends the request body. # - # source://net-http//lib/net/http.rb#1380 + # source://net-http//net/http.rb#1380 def continue_timeout=(sec); end # Sends a COPY request to the server; @@ -818,7 +131,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.copy('/todos/1') # - # source://net-http//lib/net/http.rb#2123 + # source://net-http//net/http.rb#2123 def copy(path, initheader = T.unsafe(nil)); end # Sends a DELETE request to the server; @@ -830,19 +143,19 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.delete('/todos/1') # - # source://net-http//lib/net/http.rb#2097 + # source://net-http//net/http.rb#2097 def delete(path, initheader = T.unsafe(nil)); end # Sets or returns the extra X509 certificates to be added to the certificate chain. - # See {OpenSSL::SSL::SSLContext#add_certificate}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-add_certificate]. + # See {OpenSSL::SSL::SSLContext#add_certificate}[rdoc-ref:OpenSSL::SSL::SSLContext#add_certificate]. # - # source://net-http//lib/net/http.rb#1498 + # source://net-http//net/http.rb#1498 def extra_chain_cert; end # Sets or returns the extra X509 certificates to be added to the certificate chain. - # See {OpenSSL::SSL::SSLContext#add_certificate}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-add_certificate]. + # See {OpenSSL::SSL::SSLContext#add_certificate}[rdoc-ref:OpenSSL::SSL::SSLContext#add_certificate]. # - # source://net-http//lib/net/http.rb#1498 + # source://net-http//net/http.rb#1498 def extra_chain_cert=(_arg0); end # Finishes the \HTTP session: @@ -857,7 +170,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//lib/net/http.rb#1708 + # source://net-http//net/http.rb#1708 def finish; end # :call-seq: @@ -889,7 +202,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Get: request class for \HTTP method GET. # - Net::HTTP.get: sends GET request, returns response body. # - # source://net-http//lib/net/http.rb#1914 + # source://net-http//net/http.rb#1914 def get(path, initheader = T.unsafe(nil), dest = T.unsafe(nil), &block); end # Sends a GET request to the server; @@ -914,7 +227,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//lib/net/http.rb#2176 + # source://net-http//net/http.rb#2234 def get2(path, initheader = T.unsafe(nil), &block); end # Sends a HEAD request to the server; @@ -931,7 +244,7 @@ class Net::HTTP < ::Net::Protocol # ["content-type", ["application/json; charset=utf-8"]], # ["connection", ["close"]]] # - # source://net-http//lib/net/http.rb#1938 + # source://net-http//net/http.rb#1938 def head(path, initheader = T.unsafe(nil)); end # Sends a HEAD request to the server; @@ -943,21 +256,21 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.head('/todos/1') # => # # - # source://net-http//lib/net/http.rb#2189 + # source://net-http//net/http.rb#2235 def head2(path, initheader = T.unsafe(nil), &block); end # Sets or returns whether to ignore end-of-file when reading a response body # with Content-Length headers; # initially +true+. # - # source://net-http//lib/net/http.rb#1397 + # source://net-http//net/http.rb#1397 def ignore_eof; end # Sets or returns whether to ignore end-of-file when reading a response body # with Content-Length headers; # initially +true+. # - # source://net-http//lib/net/http.rb#1397 + # source://net-http//net/http.rb#1397 def ignore_eof=(_arg0); end # Returns a string representation of +self+: @@ -965,7 +278,7 @@ class Net::HTTP < ::Net::Protocol # Net::HTTP.new(hostname).inspect # # => "#" # - # source://net-http//lib/net/http.rb#1135 + # source://net-http//net/http.rb#1135 def inspect; end # Returns the IP address for the connection. @@ -987,7 +300,7 @@ class Net::HTTP < ::Net::Protocol # http.ipaddr # => "172.67.155.76" # http.finish # - # source://net-http//lib/net/http.rb#1274 + # source://net-http//net/http.rb#1274 def ipaddr; end # Sets the IP address for the connection: @@ -1001,7 +314,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//lib/net/http.rb#1286 + # source://net-http//net/http.rb#1286 def ipaddr=(addr); end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -1012,7 +325,7 @@ class Net::HTTP < ::Net::Protocol # otherwise the connection will have been closed # and a new connection is opened. # - # source://net-http//lib/net/http.rb#1392 + # source://net-http//net/http.rb#1392 def keep_alive_timeout; end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -1023,41 +336,41 @@ class Net::HTTP < ::Net::Protocol # otherwise the connection will have been closed # and a new connection is opened. # - # source://net-http//lib/net/http.rb#1392 + # source://net-http//net/http.rb#1392 def keep_alive_timeout=(_arg0); end # Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. # - # source://net-http//lib/net/http.rb#1501 + # source://net-http//net/http.rb#1501 def key; end # Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object. # - # source://net-http//lib/net/http.rb#1501 + # source://net-http//net/http.rb#1501 def key=(_arg0); end # Sets or returns the string local host used to establish the connection; # initially +nil+. # - # source://net-http//lib/net/http.rb#1201 + # source://net-http//net/http.rb#1201 def local_host; end # Sets or returns the string local host used to establish the connection; # initially +nil+. # - # source://net-http//lib/net/http.rb#1201 + # source://net-http//net/http.rb#1201 def local_host=(_arg0); end # Sets or returns the integer local port used to establish the connection; # initially +nil+. # - # source://net-http//lib/net/http.rb#1205 + # source://net-http//net/http.rb#1205 def local_port; end # Sets or returns the integer local port used to establish the connection; # initially +nil+. # - # source://net-http//lib/net/http.rb#1205 + # source://net-http//net/http.rb#1205 def local_port=(_arg0); end # Sends a LOCK request to the server; @@ -1070,13 +383,13 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.lock('/todos/1', data) # - # source://net-http//lib/net/http.rb#2043 + # source://net-http//net/http.rb#2043 def lock(path, body, initheader = T.unsafe(nil)); end # Returns the maximum number of times to retry an idempotent request; # see #max_retries=. # - # source://net-http//lib/net/http.rb#1330 + # source://net-http//net/http.rb#1330 def max_retries; end # Sets the maximum number of times to retry an idempotent request in case of @@ -1091,31 +404,31 @@ class Net::HTTP < ::Net::Protocol # http.max_retries = 2 # => 2 # http.max_retries # => 2 # - # source://net-http//lib/net/http.rb#1320 + # source://net-http//net/http.rb#1320 def max_retries=(retries); end # Sets or returns the maximum SSL version. - # See {OpenSSL::SSL::SSLContext#max_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D]. + # See {OpenSSL::SSL::SSLContext#max_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#max_version-3D]. # - # source://net-http//lib/net/http.rb#1516 + # source://net-http//net/http.rb#1516 def max_version; end # Sets or returns the maximum SSL version. - # See {OpenSSL::SSL::SSLContext#max_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D]. + # See {OpenSSL::SSL::SSLContext#max_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#max_version-3D]. # - # source://net-http//lib/net/http.rb#1516 + # source://net-http//net/http.rb#1516 def max_version=(_arg0); end # Sets or returns the minimum SSL version. - # See {OpenSSL::SSL::SSLContext#min_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D]. + # See {OpenSSL::SSL::SSLContext#min_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#min_version-3D]. # - # source://net-http//lib/net/http.rb#1512 + # source://net-http//net/http.rb#1512 def min_version; end # Sets or returns the minimum SSL version. - # See {OpenSSL::SSL::SSLContext#min_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D]. + # See {OpenSSL::SSL::SSLContext#min_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#min_version-3D]. # - # source://net-http//lib/net/http.rb#1512 + # source://net-http//net/http.rb#1512 def min_version=(_arg0); end # Sends a MKCOL request to the server; @@ -1128,7 +441,7 @@ class Net::HTTP < ::Net::Protocol # http.mkcol('/todos/1', data) # http = Net::HTTP.new(hostname) # - # source://net-http//lib/net/http.rb#2137 + # source://net-http//net/http.rb#2137 def mkcol(path, body = T.unsafe(nil), initheader = T.unsafe(nil)); end # Sends a MOVE request to the server; @@ -1140,7 +453,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.move('/todos/1') # - # source://net-http//lib/net/http.rb#2110 + # source://net-http//net/http.rb#2110 def move(path, initheader = T.unsafe(nil)); end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -1149,7 +462,7 @@ class Net::HTTP < ::Net::Protocol # If the connection is not made in the given interval, # an exception is raised. # - # source://net-http//lib/net/http.rb#1296 + # source://net-http//net/http.rb#1296 def open_timeout; end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -1158,7 +471,7 @@ class Net::HTTP < ::Net::Protocol # If the connection is not made in the given interval, # an exception is raised. # - # source://net-http//lib/net/http.rb#1296 + # source://net-http//net/http.rb#1296 def open_timeout=(_arg0); end # Sends an Options request to the server; @@ -1170,7 +483,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.options('/') # - # source://net-http//lib/net/http.rb#2070 + # source://net-http//net/http.rb#2070 def options(path, initheader = T.unsafe(nil)); end # :call-seq: @@ -1198,19 +511,19 @@ class Net::HTTP < ::Net::Protocol # # http.patch('/todos/1', data) # => # # - # source://net-http//lib/net/http.rb#2001 + # source://net-http//net/http.rb#2001 def patch(path, data, initheader = T.unsafe(nil), dest = T.unsafe(nil), &block); end # Returns the X509 certificate chain (an array of strings) # for the session's socket peer, # or +nil+ if none. # - # source://net-http//lib/net/http.rb#1537 + # source://net-http//net/http.rb#1537 def peer_cert; end # Returns the integer port number given as argument +port+ in ::new. # - # source://net-http//lib/net/http.rb#1197 + # source://net-http//net/http.rb#1197 def port; end # :call-seq: @@ -1243,7 +556,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Post: request class for \HTTP method POST. # - Net::HTTP.post: sends POST request, returns response body. # - # source://net-http//lib/net/http.rb#1972 + # source://net-http//net/http.rb#1972 def post(path, data, initheader = T.unsafe(nil), dest = T.unsafe(nil), &block); end # Sends a POST request to the server; @@ -1269,7 +582,7 @@ class Net::HTTP < ::Net::Protocol # # "{\n \"xyzzy\": \"\",\n \"id\": 201\n}" # - # source://net-http//lib/net/http.rb#2216 + # source://net-http//net/http.rb#2236 def post2(path, data, initheader = T.unsafe(nil), &block); end # Sends a PROPFIND request to the server; @@ -1282,7 +595,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.propfind('/todos/1', data) # - # source://net-http//lib/net/http.rb#2084 + # source://net-http//net/http.rb#2084 def propfind(path, body = T.unsafe(nil), initheader = T.unsafe(nil)); end # Sends a PROPPATCH request to the server; @@ -1295,7 +608,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.proppatch('/todos/1', data) # - # source://net-http//lib/net/http.rb#2029 + # source://net-http//net/http.rb#2029 def proppatch(path, body, initheader = T.unsafe(nil)); end # Returns +true+ if a proxy server is defined, +false+ otherwise; @@ -1303,26 +616,26 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1785 + # source://net-http//net/http.rb#1785 def proxy?; end # Returns the address of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1807 + # source://net-http//net/http.rb#1807 def proxy_address; end # Sets the proxy address; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1241 + # source://net-http//net/http.rb#1241 def proxy_address=(_arg0); end # Sets whether to determine the proxy from environment variable # 'ENV['http_proxy']'; # see {Proxy Using ENV['http_proxy']}[rdoc-ref:Net::HTTP@Proxy+Using+-27ENV-5B-27http_proxy-27-5D-27]. # - # source://net-http//lib/net/http.rb#1237 + # source://net-http//net/http.rb#1237 def proxy_from_env=(_arg0); end # Returns +true+ if the proxy server is defined in the environment, @@ -1331,60 +644,60 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1792 + # source://net-http//net/http.rb#1792 def proxy_from_env?; end # Returns the password of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1838 + # source://net-http//net/http.rb#1838 def proxy_pass; end # Sets the proxy password; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1253 + # source://net-http//net/http.rb#1253 def proxy_pass=(_arg0); end # Returns the port number of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1817 + # source://net-http//net/http.rb#1817 def proxy_port; end # Sets the proxy port; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1245 + # source://net-http//net/http.rb#1245 def proxy_port=(_arg0); end # The proxy URI determined from the environment for this connection. # - # source://net-http//lib/net/http.rb#1797 + # source://net-http//net/http.rb#1797 def proxy_uri; end # Returns the user name of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1827 + # source://net-http//net/http.rb#1827 def proxy_user; end # Sets the proxy user; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1249 + # source://net-http//net/http.rb#1249 def proxy_user=(_arg0); end # Returns the address of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1807 + # source://net-http//net/http.rb#1847 def proxyaddr; end # Returns the port number of the proxy server, if defined, +nil+ otherwise; # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1817 + # source://net-http//net/http.rb#1848 def proxyport; end # Sends a PUT request to the server; @@ -1397,7 +710,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.put('/todos/1', data) # => # # - # source://net-http//lib/net/http.rb#2015 + # source://net-http//net/http.rb#2015 def put(path, data, initheader = T.unsafe(nil)); end # Sends a PUT request to the server; @@ -1410,14 +723,14 @@ class Net::HTTP < ::Net::Protocol # http.put('/todos/1', 'xyzzy') # # => # # - # source://net-http//lib/net/http.rb#2230 + # source://net-http//net/http.rb#2237 def put2(path, data, initheader = T.unsafe(nil), &block); end # Returns the numeric (\Integer or \Float) number of seconds # to wait for one block to be read (via one read(2) call); # see #read_timeout=. # - # source://net-http//lib/net/http.rb#1301 + # source://net-http//net/http.rb#1301 def read_timeout; end # Sets the read timeout, in seconds, for +self+ to integer +sec+; @@ -1431,7 +744,7 @@ class Net::HTTP < ::Net::Protocol # http.read_timeout = 0 # http.get('/todos/1') # Raises Net::ReadTimeout. # - # source://net-http//lib/net/http.rb#1343 + # source://net-http//net/http.rb#1343 def read_timeout=(sec); end # Sends the given request +req+ to the server; @@ -1464,7 +777,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//lib/net/http.rb#2295 + # source://net-http//net/http.rb#2295 def request(req, body = T.unsafe(nil), &block); end # Sends a GET request to the server; @@ -1489,7 +802,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//lib/net/http.rb#2176 + # source://net-http//net/http.rb#2176 def request_get(path, initheader = T.unsafe(nil), &block); end # Sends a HEAD request to the server; @@ -1501,7 +814,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.head('/todos/1') # => # # - # source://net-http//lib/net/http.rb#2189 + # source://net-http//net/http.rb#2189 def request_head(path, initheader = T.unsafe(nil), &block); end # Sends a POST request to the server; @@ -1527,7 +840,7 @@ class Net::HTTP < ::Net::Protocol # # "{\n \"xyzzy\": \"\",\n \"id\": 201\n}" # - # source://net-http//lib/net/http.rb#2216 + # source://net-http//net/http.rb#2216 def request_post(path, data, initheader = T.unsafe(nil), &block); end # Sends a PUT request to the server; @@ -1540,13 +853,13 @@ class Net::HTTP < ::Net::Protocol # http.put('/todos/1', 'xyzzy') # # => # # - # source://net-http//lib/net/http.rb#2230 + # source://net-http//net/http.rb#2230 def request_put(path, data, initheader = T.unsafe(nil), &block); end # Returns the encoding to use for the response body; # see #response_body_encoding=. # - # source://net-http//lib/net/http.rb#1209 + # source://net-http//net/http.rb#1209 def response_body_encoding; end # Sets the encoding to be used for the response body; @@ -1558,7 +871,7 @@ class Net::HTTP < ::Net::Protocol # - The name of an encoding. # - An alias for an encoding name. # - # See {Encoding}[https://docs.ruby-lang.org/en/master/Encoding.html]. + # See {Encoding}[rdoc-ref:Encoding]. # # Examples: # @@ -1567,7 +880,7 @@ class Net::HTTP < ::Net::Protocol # http.response_body_encoding = 'US-ASCII' # => "US-ASCII" # http.response_body_encoding = 'ASCII' # => "ASCII" # - # source://net-http//lib/net/http.rb#1229 + # source://net-http//net/http.rb#1229 def response_body_encoding=(value); end # Sends an \HTTP request to the server; @@ -1590,7 +903,7 @@ class Net::HTTP < ::Net::Protocol # http.send_request('POST', '/todos', 'xyzzy') # # => # # - # source://net-http//lib/net/http.rb#2259 + # source://net-http//net/http.rb#2259 def send_request(name, path, data = T.unsafe(nil), header = T.unsafe(nil)); end # *WARNING* This method opens a serious security hole. @@ -1642,29 +955,29 @@ class Net::HTTP < ::Net::Protocol # read 2 bytes # Conn keep-alive # - # source://net-http//lib/net/http.rb#1188 + # source://net-http//net/http.rb#1188 def set_debug_output(output); end # Sets or returns the SSL timeout seconds. # - # source://net-http//lib/net/http.rb#1504 + # source://net-http//net/http.rb#1504 def ssl_timeout; end # Sets or returns the SSL timeout seconds. # - # source://net-http//lib/net/http.rb#1504 + # source://net-http//net/http.rb#1504 def ssl_timeout=(_arg0); end # Sets or returns the SSL version. - # See {OpenSSL::SSL::SSLContext#ssl_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D]. + # See {OpenSSL::SSL::SSLContext#ssl_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#ssl_version-3D]. # - # source://net-http//lib/net/http.rb#1508 + # source://net-http//net/http.rb#1508 def ssl_version; end # Sets or returns the SSL version. - # See {OpenSSL::SSL::SSLContext#ssl_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D]. + # See {OpenSSL::SSL::SSLContext#ssl_version=}[rdoc-ref:OpenSSL::SSL::SSLContext#ssl_version-3D]. # - # source://net-http//lib/net/http.rb#1508 + # source://net-http//net/http.rb#1508 def ssl_version=(_arg0); end # Starts an \HTTP session. @@ -1690,7 +1003,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//lib/net/http.rb#1565 + # source://net-http//net/http.rb#1565 def start; end # Returns +true+ if the \HTTP session has been started: @@ -1709,7 +1022,7 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1413 + # source://net-http//net/http.rb#1413 def started?; end # Sends a TRACE request to the server; @@ -1721,7 +1034,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.trace('/todos/1') # - # source://net-http//lib/net/http.rb#2150 + # source://net-http//net/http.rb#2150 def trace(path, initheader = T.unsafe(nil)); end # Sends an UNLOCK request to the server; @@ -1734,7 +1047,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.unlock('/todos/1', data) # - # source://net-http//lib/net/http.rb#2057 + # source://net-http//net/http.rb#2057 def unlock(path, body, initheader = T.unsafe(nil)); end # Sets whether a new session is to use @@ -1744,7 +1057,7 @@ class Net::HTTP < ::Net::Protocol # # Raises OpenSSL::SSL::SSLError if the port is not an HTTPS port. # - # source://net-http//lib/net/http.rb#1435 + # source://net-http//net/http.rb#1435 def use_ssl=(flag); end # Returns +true+ if +self+ uses SSL, +false+ otherwise. @@ -1752,62 +1065,62 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1425 + # source://net-http//net/http.rb#1425 def use_ssl?; end # Sets or returns the callback for the server certification verification. # - # source://net-http//lib/net/http.rb#1519 + # source://net-http//net/http.rb#1519 def verify_callback; end # Sets or returns the callback for the server certification verification. # - # source://net-http//lib/net/http.rb#1519 + # source://net-http//net/http.rb#1519 def verify_callback=(_arg0); end # Sets or returns the maximum depth for the certificate chain verification. # - # source://net-http//lib/net/http.rb#1522 + # source://net-http//net/http.rb#1522 def verify_depth; end # Sets or returns the maximum depth for the certificate chain verification. # - # source://net-http//lib/net/http.rb#1522 + # source://net-http//net/http.rb#1522 def verify_depth=(_arg0); end # Sets or returns whether to verify that the server certificate is valid # for the hostname. - # See {OpenSSL::SSL::SSLContext#verify_hostname=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode]. + # See {OpenSSL::SSL::SSLContext#verify_hostname=}[rdoc-ref:OpenSSL::SSL::SSLContext#attribute-i-verify_mode]. # - # source://net-http//lib/net/http.rb#1532 + # source://net-http//net/http.rb#1532 def verify_hostname; end # Sets or returns whether to verify that the server certificate is valid # for the hostname. - # See {OpenSSL::SSL::SSLContext#verify_hostname=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode]. + # See {OpenSSL::SSL::SSLContext#verify_hostname=}[rdoc-ref:OpenSSL::SSL::SSLContext#attribute-i-verify_mode]. # - # source://net-http//lib/net/http.rb#1532 + # source://net-http//net/http.rb#1532 def verify_hostname=(_arg0); end # Sets or returns the flags for server the certification verification # at the beginning of the SSL/TLS session. # OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER are acceptable. # - # source://net-http//lib/net/http.rb#1527 + # source://net-http//net/http.rb#1527 def verify_mode; end # Sets or returns the flags for server the certification verification # at the beginning of the SSL/TLS session. # OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER are acceptable. # - # source://net-http//lib/net/http.rb#1527 + # source://net-http//net/http.rb#1527 def verify_mode=(_arg0); end # Returns the numeric (\Integer or \Float) number of seconds # to wait for one block to be written (via one write(2) call); # see #write_timeout=. # - # source://net-http//lib/net/http.rb#1306 + # source://net-http//net/http.rb#1306 def write_timeout; end # Sets the write timeout, in seconds, for +self+ to integer +sec+; @@ -1829,76 +1142,76 @@ class Net::HTTP < ::Net::Protocol # http.write_timeout = 0 # http.post(_uri.path, data, headers) # Raises Net::WriteTimeout. # - # source://net-http//lib/net/http.rb#1367 + # source://net-http//net/http.rb#1367 def write_timeout=(sec); end private # Adds a message to debugging output # - # source://net-http//lib/net/http.rb#2472 + # source://net-http//net/http.rb#2478 def D(msg); end - # source://net-http//lib/net/http.rb#2464 + # source://net-http//net/http.rb#2464 def addr_port; end - # source://net-http//lib/net/http.rb#2381 + # source://net-http//net/http.rb#2381 def begin_transport(req); end # without proxy, obsolete # - # source://net-http//lib/net/http.rb#1859 + # source://net-http//net/http.rb#1859 def conn_address; end - # source://net-http//lib/net/http.rb#1863 + # source://net-http//net/http.rb#1863 def conn_port; end - # source://net-http//lib/net/http.rb#1585 + # source://net-http//net/http.rb#1585 def connect; end # Adds a message to debugging output # - # source://net-http//lib/net/http.rb#2472 + # source://net-http//net/http.rb#2472 def debug(msg); end - # source://net-http//lib/net/http.rb#1713 + # source://net-http//net/http.rb#1713 def do_finish; end - # source://net-http//lib/net/http.rb#1579 + # source://net-http//net/http.rb#1579 def do_start; end - # source://net-http//lib/net/http.rb#1867 + # source://net-http//net/http.rb#1867 def edit_path(path); end - # source://net-http//lib/net/http.rb#2404 + # source://net-http//net/http.rb#2404 def end_transport(req, res); end # @return [Boolean] # - # source://net-http//lib/net/http.rb#2421 + # source://net-http//net/http.rb#2421 def keep_alive?(req, res); end - # source://net-http//lib/net/http.rb#1695 + # source://net-http//net/http.rb#1695 def on_connect; end # Executes a request which uses a representation # and returns its body. # - # source://net-http//lib/net/http.rb#2318 + # source://net-http//net/http.rb#2318 def send_entity(path, data, initheader, dest, type, &block); end - # source://net-http//lib/net/http.rb#2445 + # source://net-http//net/http.rb#2445 def sspi_auth(req); end # @return [Boolean] # - # source://net-http//lib/net/http.rb#2430 + # source://net-http//net/http.rb#2430 def sspi_auth?(res); end - # source://net-http//lib/net/http.rb#2329 + # source://net-http//net/http.rb#2329 def transport_request(req); end - # source://net-http//lib/net/http.rb#1852 + # source://net-http//net/http.rb#1852 def unescape(value); end class << self @@ -1908,14 +1221,14 @@ class Net::HTTP < ::Net::Protocol # This class is obsolete. You may pass these same parameters directly to # \Net::HTTP.new. See Net::HTTP.new for details of the arguments. # - # source://net-http//lib/net/http.rb#1739 + # source://net-http//net/http.rb#1739 def Proxy(p_addr = T.unsafe(nil), p_port = T.unsafe(nil), p_user = T.unsafe(nil), p_pass = T.unsafe(nil)); end # Returns integer +80+, the default port to use for \HTTP requests: # # Net::HTTP.default_port # => 80 # - # source://net-http//lib/net/http.rb#900 + # source://net-http//net/http.rb#900 def default_port; end # :call-seq: @@ -1950,7 +1263,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Get: request class for \HTTP method +GET+. # - Net::HTTP#get: convenience method for \HTTP method +GET+. # - # source://net-http//lib/net/http.rb#802 + # source://net-http//net/http.rb#802 def get(uri_or_host, path_or_headers = T.unsafe(nil), port = T.unsafe(nil)); end # :call-seq: @@ -1960,7 +1273,7 @@ class Net::HTTP < ::Net::Protocol # Like Net::HTTP.get, but writes the returned body to $stdout; # returns +nil+. # - # source://net-http//lib/net/http.rb#761 + # source://net-http//net/http.rb#761 def get_print(uri_or_host, path_or_headers = T.unsafe(nil), port = T.unsafe(nil)); end # :call-seq: @@ -1970,35 +1283,35 @@ class Net::HTTP < ::Net::Protocol # Like Net::HTTP.get, but returns a Net::HTTPResponse object # instead of the body string. # - # source://net-http//lib/net/http.rb#812 + # source://net-http//net/http.rb#812 def get_response(uri_or_host, path_or_headers = T.unsafe(nil), port = T.unsafe(nil), &block); end # Returns integer +80+, the default port to use for \HTTP requests: # # Net::HTTP.http_default_port # => 80 # - # source://net-http//lib/net/http.rb#908 + # source://net-http//net/http.rb#908 def http_default_port; end # Returns integer +443+, the default port to use for HTTPS requests: # # Net::HTTP.https_default_port # => 443 # - # source://net-http//lib/net/http.rb#916 + # source://net-http//net/http.rb#916 def https_default_port; end # Returns +false+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#746 + # source://net-http//net/http.rb#751 def is_version_1_1?; end # Returns +true+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#741 + # source://net-http//net/http.rb#752 def is_version_1_2?; end # Returns a new \Net::HTTP object +http+ @@ -2030,7 +1343,7 @@ class Net::HTTP < ::Net::Protocol # For proxy-defining arguments +p_addr+ through +p_no_proxy+, # see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server]. # - # source://net-http//lib/net/http.rb#1065 + # source://net-http//net/http.rb#1065 def new(address, port = T.unsafe(nil), p_addr = T.unsafe(nil), p_port = T.unsafe(nil), p_user = T.unsafe(nil), p_pass = T.unsafe(nil), p_no_proxy = T.unsafe(nil)); end # Posts data to a host; returns a Net::HTTPResponse object. @@ -2059,7 +1372,7 @@ class Net::HTTP < ::Net::Protocol # - Net::HTTP::Post: request class for \HTTP method +POST+. # - Net::HTTP#post: convenience method for \HTTP method +POST+. # - # source://net-http//lib/net/http.rb#855 + # source://net-http//net/http.rb#855 def post(url, data, header = T.unsafe(nil)); end # Posts data to a host; returns a Net::HTTPResponse object. @@ -2082,41 +1395,41 @@ class Net::HTTP < ::Net::Protocol # "id": 101 # } # - # source://net-http//lib/net/http.rb#882 + # source://net-http//net/http.rb#882 def post_form(url, params); end # Returns the address of the proxy host, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//lib/net/http.rb#1768 + # source://net-http//net/http.rb#1768 def proxy_address; end # Returns true if self is a class which was created by HTTP::Proxy. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1762 + # source://net-http//net/http.rb#1762 def proxy_class?; end # Returns the password for accessing the proxy, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//lib/net/http.rb#1780 + # source://net-http//net/http.rb#1780 def proxy_pass; end # Returns the port number of the proxy host, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//lib/net/http.rb#1772 + # source://net-http//net/http.rb#1772 def proxy_port; end # Returns the user name for accessing the proxy, or +nil+ if none; # see Net::HTTP@Proxy+Server. # - # source://net-http//lib/net/http.rb#1776 + # source://net-http//net/http.rb#1776 def proxy_user; end - # source://net-http//lib/net/http.rb#920 + # source://net-http//net/http.rb#920 def socket_type; end # :call-seq: @@ -2205,50 +1518,49 @@ class Net::HTTP < ::Net::Protocol # Note: If +port+ is +nil+ and opts[:use_ssl] is a truthy value, # the value passed to +new+ is Net::HTTP.https_default_port, not +port+. # - # source://net-http//lib/net/http.rb#1010 + # source://net-http//net/http.rb#1010 def start(address, *arg, &block); end # Returns +false+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#746 + # source://net-http//net/http.rb#746 def version_1_1?; end # Returns +true+; retained for compatibility. # - # source://net-http//lib/net/http.rb#736 + # source://net-http//net/http.rb#736 def version_1_2; end # Returns +true+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#741 + # source://net-http//net/http.rb#741 def version_1_2?; end end end -# source://net-http//lib/net/http/proxy_delta.rb#2 module Net::HTTP::ProxyDelta private - # source://net-http//lib/net/http/proxy_delta.rb#5 + # source://net-http//net/http/proxy_delta.rb#5 def conn_address; end - # source://net-http//lib/net/http/proxy_delta.rb#9 + # source://net-http//net/http/proxy_delta.rb#9 def conn_port; end - # source://net-http//lib/net/http/proxy_delta.rb#13 + # source://net-http//net/http/proxy_delta.rb#13 def edit_path(path); end end -# source://net-http//lib/net/http/backward.rb#7 +# source://net-http//net/http/backward.rb#7 Net::HTTP::ProxyMod = Net::HTTP::ProxyDelta # :stopdoc: # -# source://net-http//lib/net/http.rb#725 +# source://net-http//net/http.rb#725 Net::HTTP::VERSION = T.let(T.unsafe(nil), String) # Response class for Already Reported (WebDAV) responses (status code 208). @@ -2265,17 +1577,15 @@ Net::HTTP::VERSION = T.let(T.unsafe(nil), String) # # - {RFC 5842}[https://www.rfc-editor.org/rfc/rfc5842.html#section-7.1]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#208]. -# -# source://net-http//lib/net/http/responses.rb#306 class Net::HTTPAlreadyReported < ::Net::HTTPSuccess; end -# source://net-http//lib/net/http/responses.rb#307 +# source://net-http//net/http/responses.rb#307 Net::HTTPAlreadyReported::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#67 +# source://net-http//net/http/responses.rb#67 Net::HTTPClientError::EXCEPTION_TYPE = Net::HTTPClientException -# source://net-http//lib/net/http/backward.rb#23 +# source://net-http//net/http/backward.rb#23 Net::HTTPClientErrorCode = Net::HTTPClientError # Response class for Early Hints responses (status code 103). @@ -2291,14 +1601,12 @@ Net::HTTPClientErrorCode = Net::HTTPClientError # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103]. # - {RFC 8297}[https://www.rfc-editor.org/rfc/rfc8297.html#section-2]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#103]. -# -# source://net-http//lib/net/http/responses.rb#147 class Net::HTTPEarlyHints < ::Net::HTTPInformation; end -# source://net-http//lib/net/http/responses.rb#148 +# source://net-http//net/http/responses.rb#148 Net::HTTPEarlyHints::HAS_BODY = T.let(T.unsafe(nil), FalseClass) -# source://net-http//lib/net/http/backward.rb#24 +# source://net-http//net/http/backward.rb#24 Net::HTTPFatalErrorCode = Net::HTTPClientError # \HTTPGenericRequest is the parent of the Net::HTTPRequest class. @@ -2308,20 +1616,18 @@ Net::HTTPFatalErrorCode = Net::HTTPClientError # == About the Examples # # :include: doc/net-http/examples.rdoc -# -# source://net-http//lib/net/http/generic_request.rb#11 class Net::HTTPGenericRequest include ::Net::HTTPHeader # @return [HTTPGenericRequest] a new instance of HTTPGenericRequest # - # source://net-http//lib/net/http/generic_request.rb#15 + # source://net-http//net/http/generic_request.rb#15 def initialize(m, reqbody, resbody, uri_or_path, initheader = T.unsafe(nil)); end # Don't automatically decode response content-encoding if the user indicates # they want to handle it. # - # source://net-http//lib/net/http/generic_request.rb#109 + # source://net-http//net/http/generic_request.rb#109 def []=(key, val); end # Returns the string body for the request, or +nil+ if there is none: @@ -2331,7 +1637,7 @@ class Net::HTTPGenericRequest # req.body = '{"title": "foo","body": "bar","userId": 1}' # req.body # => "{\"title\": \"foo\",\"body\": \"bar\",\"userId\": 1}" # - # source://net-http//lib/net/http/generic_request.rb#145 + # source://net-http//net/http/generic_request.rb#145 def body; end # Sets the body for the request: @@ -2341,12 +1647,12 @@ class Net::HTTPGenericRequest # req.body = '{"title": "foo","body": "bar","userId": 1}' # req.body # => "{\"title\": \"foo\",\"body\": \"bar\",\"userId\": 1}" # - # source://net-http//lib/net/http/generic_request.rb#154 + # source://net-http//net/http/generic_request.rb#154 def body=(str); end # @return [Boolean] # - # source://net-http//lib/net/http/generic_request.rb#133 + # source://net-http//net/http/generic_request.rb#133 def body_exist?; end # Returns the body stream object for the request, or +nil+ if there is none: @@ -2357,7 +1663,7 @@ class Net::HTTPGenericRequest # req.body_stream = StringIO.new('xyzzy') # => # # req.body_stream # => # # - # source://net-http//lib/net/http/generic_request.rb#169 + # source://net-http//net/http/generic_request.rb#169 def body_stream; end # Sets the body stream for the request: @@ -2368,7 +1674,7 @@ class Net::HTTPGenericRequest # req.body_stream = StringIO.new('xyzzy') # => # # req.body_stream # => # # - # source://net-http//lib/net/http/generic_request.rb#179 + # source://net-http//net/http/generic_request.rb#179 def body_stream=(input); end # Returns +false+ if the request's header 'Accept-Encoding' @@ -2384,19 +1690,19 @@ class Net::HTTPGenericRequest # req.delete('Accept-Encoding') # req.decode_content # => false # - # source://net-http//lib/net/http/generic_request.rb#95 + # source://net-http//net/http/generic_request.rb#95 def decode_content; end # write # - # source://net-http//lib/net/http/generic_request.rb#198 + # source://net-http//net/http/generic_request.rb#198 def exec(sock, ver, path); end # Returns a string representation of the request: # # Net::HTTP::Post.new(uri).inspect # => "#" # - # source://net-http//lib/net/http/generic_request.rb#101 + # source://net-http//net/http/generic_request.rb#101 def inspect; end # Returns the string method name for the request: @@ -2404,7 +1710,7 @@ class Net::HTTPGenericRequest # Net::HTTP::Get.new(uri).method # => "GET" # Net::HTTP::Post.new(uri).method # => "POST" # - # source://net-http//lib/net/http/generic_request.rb#65 + # source://net-http//net/http/generic_request.rb#65 def method; end # Returns the string path for the request: @@ -2412,7 +1718,7 @@ class Net::HTTPGenericRequest # Net::HTTP::Get.new(uri).path # => "/" # Net::HTTP::Post.new('example.com').path # => "example.com" # - # source://net-http//lib/net/http/generic_request.rb#72 + # source://net-http//net/http/generic_request.rb#72 def path; end # Returns whether the request may have a body: @@ -2422,7 +1728,7 @@ class Net::HTTPGenericRequest # # @return [Boolean] # - # source://net-http//lib/net/http/generic_request.rb#120 + # source://net-http//net/http/generic_request.rb#120 def request_body_permitted?; end # Returns whether the response may have a body: @@ -2432,15 +1738,15 @@ class Net::HTTPGenericRequest # # @return [Boolean] # - # source://net-http//lib/net/http/generic_request.rb#129 + # source://net-http//net/http/generic_request.rb#129 def response_body_permitted?; end # @raise [ArgumentError] # - # source://net-http//lib/net/http/generic_request.rb#186 + # source://net-http//net/http/generic_request.rb#186 def set_body_internal(str); end - # source://net-http//lib/net/http/generic_request.rb#210 + # source://net-http//net/http/generic_request.rb#210 def update_uri(addr, port, ssl); end # Returns the URI object for the request, or +nil+ if none: @@ -2449,53 +1755,52 @@ class Net::HTTPGenericRequest # # => # # Net::HTTP::Get.new('example.com').uri # => nil # - # source://net-http//lib/net/http/generic_request.rb#80 + # source://net-http//net/http/generic_request.rb#80 def uri; end private - # source://net-http//lib/net/http/generic_request.rb#312 + # source://net-http//net/http/generic_request.rb#312 def encode_multipart_form_data(out, params, opt); end - # source://net-http//lib/net/http/generic_request.rb#368 + # source://net-http//net/http/generic_request.rb#368 def flush_buffer(out, buf, chunked_p); end - # source://net-http//lib/net/http/generic_request.rb#363 + # source://net-http//net/http/generic_request.rb#363 def quote_string(str, charset); end - # source://net-http//lib/net/http/generic_request.rb#260 + # source://net-http//net/http/generic_request.rb#260 def send_request_with_body(sock, ver, path, body); end - # source://net-http//lib/net/http/generic_request.rb#286 + # source://net-http//net/http/generic_request.rb#286 def send_request_with_body_data(sock, ver, path, params); end - # source://net-http//lib/net/http/generic_request.rb#269 + # source://net-http//net/http/generic_request.rb#269 def send_request_with_body_stream(sock, ver, path, f); end - # source://net-http//lib/net/http/generic_request.rb#376 + # source://net-http//net/http/generic_request.rb#376 def supply_default_content_type; end # Waits up to the continue timeout for a response from the server provided # we're speaking HTTP 1.1 and are expecting a 100-continue response. # - # source://net-http//lib/net/http/generic_request.rb#386 + # source://net-http//net/http/generic_request.rb#386 def wait_for_continue(sock, ver); end - # source://net-http//lib/net/http/generic_request.rb#399 + # source://net-http//net/http/generic_request.rb#399 def write_header(sock, ver, path); end end -# source://net-http//lib/net/http/generic_request.rb#242 class Net::HTTPGenericRequest::Chunker # @return [Chunker] a new instance of Chunker # - # source://net-http//lib/net/http/generic_request.rb#243 + # source://net-http//net/http/generic_request.rb#243 def initialize(sock); end - # source://net-http//lib/net/http/generic_request.rb#255 + # source://net-http//net/http/generic_request.rb#255 def finish; end - # source://net-http//lib/net/http/generic_request.rb#248 + # source://net-http//net/http/generic_request.rb#248 def write(buf); end end @@ -2676,8 +1981,6 @@ end # - #each_header: Passes each field name/value pair to the block. # - #each_name: Passes each field name to the block. # - #each_value: Passes each string field value to the block. -# -# source://net-http//lib/net/http/header.rb#181 module Net::HTTPHeader # Returns the string field value for the case-insensitive field +key+, # or +nil+ if there is no such key; @@ -2690,7 +1993,7 @@ module Net::HTTPHeader # Note that some field values may be retrieved via convenience methods; # see {Getters}[rdoc-ref:Net::HTTPHeader@Getters]. # - # source://net-http//lib/net/http/header.rb#224 + # source://net-http//net/http/header.rb#224 def [](key); end # Sets the value for the case-insensitive +key+ to +val+, @@ -2705,7 +2008,7 @@ module Net::HTTPHeader # Note that some field values may be set via convenience methods; # see {Setters}[rdoc-ref:Net::HTTPHeader@Setters]. # - # source://net-http//lib/net/http/header.rb#240 + # source://net-http//net/http/header.rb#240 def []=(key, val); end # Adds value +val+ to the value array for field +key+ if the field exists; @@ -2721,7 +2024,7 @@ module Net::HTTPHeader # req['Foo'] # => "bar, baz, baz, bam" # req.get_fields('Foo') # => ["bar", "baz", "baz", "bam"] # - # source://net-http//lib/net/http/header.rb#261 + # source://net-http//net/http/header.rb#261 def add_field(key, val); end # Sets header 'Authorization' using the given @@ -2731,14 +2034,14 @@ module Net::HTTPHeader # req['Authorization'] # # => "Basic bXlfYWNjb3VudDpteV9wYXNzd29yZA==" # - # source://net-http//lib/net/http/header.rb#945 + # source://net-http//net/http/header.rb#945 def basic_auth(account, password); end # Like #each_header, but the keys are returned in capitalized form. # # Net::HTTPHeader#canonical_each is an alias for Net::HTTPHeader#each_capitalized. # - # source://net-http//lib/net/http/header.rb#484 + # source://net-http//net/http/header.rb#491 def canonical_each; end # Returns +true+ if field 'Transfer-Encoding' @@ -2752,21 +2055,21 @@ module Net::HTTPHeader # # @return [Boolean] # - # source://net-http//lib/net/http/header.rb#654 + # source://net-http//net/http/header.rb#654 def chunked?; end # Returns whether the HTTP session is to be closed. # # @return [Boolean] # - # source://net-http//lib/net/http/header.rb#966 + # source://net-http//net/http/header.rb#966 def connection_close?; end # Returns whether the HTTP session is to be kept alive. # # @return [Boolean] # - # source://net-http//lib/net/http/header.rb#974 + # source://net-http//net/http/header.rb#974 def connection_keep_alive?; end # Returns the value of field 'Content-Length' as an integer, @@ -2778,7 +2081,7 @@ module Net::HTTPHeader # res = Net::HTTP.get_response(hostname, '/todos/1') # res.content_length # => nil # - # source://net-http//lib/net/http/header.rb#616 + # source://net-http//net/http/header.rb#616 def content_length; end # Sets the value of field 'Content-Length' to the given numeric; @@ -2795,7 +2098,7 @@ module Net::HTTPHeader # http.request(req) # end # => # # - # source://net-http//lib/net/http/header.rb#637 + # source://net-http//net/http/header.rb#637 def content_length=(len); end # Returns a Range object representing the value of field @@ -2808,7 +2111,7 @@ module Net::HTTPHeader # res['Content-Range'] # => "bytes 0-499/1000" # res.content_range # => 0..499 # - # source://net-http//lib/net/http/header.rb#670 + # source://net-http//net/http/header.rb#670 def content_range; end # Returns the {media type}[https://en.wikipedia.org/wiki/Media_type] @@ -2820,7 +2123,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.content_type # => "application/json" # - # source://net-http//lib/net/http/header.rb#701 + # source://net-http//net/http/header.rb#701 def content_type; end # Sets the value of field 'Content-Type'; @@ -2832,7 +2135,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#content_type= is an alias for Net::HTTPHeader#set_content_type. # - # source://net-http//lib/net/http/header.rb#772 + # source://net-http//net/http/header.rb#776 def content_type=(type, params = T.unsafe(nil)); end # Removes the header for the given case-insensitive +key+ @@ -2843,7 +2146,7 @@ module Net::HTTPHeader # req.delete('Accept') # => ["*/*"] # req.delete('Nosuch') # => nil # - # source://net-http//lib/net/http/header.rb#453 + # source://net-http//net/http/header.rb#453 def delete(key); end # Calls the block with each key/value pair: @@ -2865,14 +2168,14 @@ module Net::HTTPHeader # # Net::HTTPHeader#each is an alias for Net::HTTPHeader#each_header. # - # source://net-http//lib/net/http/header.rb#364 + # source://net-http//net/http/header.rb#371 def each; end # Like #each_header, but the keys are returned in capitalized form. # # Net::HTTPHeader#canonical_each is an alias for Net::HTTPHeader#each_capitalized. # - # source://net-http//lib/net/http/header.rb#484 + # source://net-http//net/http/header.rb#484 def each_capitalized; end # Calls the block with each capitalized field name: @@ -2891,11 +2194,11 @@ module Net::HTTPHeader # "Cf-Ray" # # The capitalization is system-dependent; - # see {Case Mapping}[https://docs.ruby-lang.org/en/master/case_mapping_rdoc.html]. + # see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. # # Returns an enumerator if no block is given. # - # source://net-http//lib/net/http/header.rb#417 + # source://net-http//net/http/header.rb#417 def each_capitalized_name; end # Calls the block with each key/value pair: @@ -2917,7 +2220,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each is an alias for Net::HTTPHeader#each_header. # - # source://net-http//lib/net/http/header.rb#364 + # source://net-http//net/http/header.rb#364 def each_header; end # Calls the block with each field key: @@ -2939,7 +2242,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each_name is an alias for Net::HTTPHeader#each_key. # - # source://net-http//lib/net/http/header.rb#391 + # source://net-http//net/http/header.rb#396 def each_key(&block); end # Calls the block with each field key: @@ -2961,7 +2264,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each_name is an alias for Net::HTTPHeader#each_key. # - # source://net-http//lib/net/http/header.rb#391 + # source://net-http//net/http/header.rb#391 def each_name(&block); end # Calls the block with each string field value: @@ -2979,7 +2282,7 @@ module Net::HTTPHeader # # Returns an enumerator if no block is given. # - # source://net-http//lib/net/http/header.rb#438 + # source://net-http//net/http/header.rb#438 def each_value; end # call-seq: @@ -3011,7 +2314,7 @@ module Net::HTTPHeader # res.fetch('Nosuch', 'Foo') # => "Foo" # res.fetch('Nosuch') # Raises KeyError. # - # source://net-http//lib/net/http/header.rb#341 + # source://net-http//net/http/header.rb#341 def fetch(key, *args, &block); end # Sets the request body to a URL-encoded string derived from argument +params+, @@ -3021,7 +2324,7 @@ module Net::HTTPHeader # The resulting request is suitable for HTTP request +POST+ or +PUT+. # # Argument +params+ must be suitable for use as argument +enum+ to - # {URI.encode_www_form}[https://docs.ruby-lang.org/en/master/URI.html#method-c-encode_www_form]. + # {URI.encode_www_form}[rdoc-ref:URI.encode_www_form]. # # With only argument +params+ given, # sets the body to a URL-encoded string with the default separator '&': @@ -3049,7 +2352,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#form_data= is an alias for Net::HTTPHeader#set_form_data. # - # source://net-http//lib/net/http/header.rb#812 + # source://net-http//net/http/header.rb#819 def form_data=(params, sep = T.unsafe(nil)); end # Returns the array field value for the given +key+, @@ -3060,10 +2363,10 @@ module Net::HTTPHeader # res.get_fields('Connection') # => ["keep-alive"] # res.get_fields('Nosuch') # => nil # - # source://net-http//lib/net/http/header.rb#306 + # source://net-http//net/http/header.rb#306 def get_fields(key); end - # source://net-http//lib/net/http/header.rb#185 + # source://net-http//net/http/header.rb#185 def initialize_http_header(initheader); end # Returns +true+ if the field for the case-insensitive +key+ exists, +false+ otherwise: @@ -3074,10 +2377,10 @@ module Net::HTTPHeader # # @return [Boolean] # - # source://net-http//lib/net/http/header.rb#463 + # source://net-http//net/http/header.rb#463 def key?(key); end - # source://net-http//lib/net/http/header.rb#208 + # source://net-http//net/http/header.rb#212 def length; end # Returns the leading ('type') part of the @@ -3090,7 +2393,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.main_type # => "application" # - # source://net-http//lib/net/http/header.rb#723 + # source://net-http//net/http/header.rb#723 def main_type; end # Sets header 'Proxy-Authorization' using the given @@ -3100,7 +2403,7 @@ module Net::HTTPHeader # req['Proxy-Authorization'] # # => "Basic bXlfYWNjb3VudDpteV9wYXNzd29yZA==" # - # source://net-http//lib/net/http/header.rb#956 + # source://net-http//net/http/header.rb#956 def proxy_basic_auth(account, password); end # Returns an array of Range objects that represent @@ -3114,7 +2417,7 @@ module Net::HTTPHeader # req.delete('Range') # req.range # # => nil # - # source://net-http//lib/net/http/header.rb#509 + # source://net-http//net/http/header.rb#509 def range; end # call-seq: @@ -3143,7 +2446,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#range= is an alias for Net::HTTPHeader#set_range. # - # source://net-http//lib/net/http/header.rb#576 + # source://net-http//net/http/header.rb#605 def range=(r, e = T.unsafe(nil)); end # Returns the integer representing length of the value of field @@ -3155,7 +2458,7 @@ module Net::HTTPHeader # res['Content-Range'] = 'bytes 0-499/1000' # res.range_length # => 500 # - # source://net-http//lib/net/http/header.rb#687 + # source://net-http//net/http/header.rb#687 def range_length; end # Sets the value of field 'Content-Type'; @@ -3167,7 +2470,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#content_type= is an alias for Net::HTTPHeader#set_content_type. # - # source://net-http//lib/net/http/header.rb#772 + # source://net-http//net/http/header.rb#772 def set_content_type(type, params = T.unsafe(nil)); end # Stores form data to be used in a +POST+ or +PUT+ request. @@ -3180,7 +2483,7 @@ module Net::HTTPHeader # - An IO stream opened for reading. # # Argument +params+ should be an - # {Enumerable}[https://docs.ruby-lang.org/en/master/Enumerable.html#module-Enumerable-label-Enumerable+in+Ruby+Classes] + # {Enumerable}[rdoc-ref:Enumerable@Enumerable+in+Ruby+Classes] # (method params.map will be called), # and is often an array or hash. # @@ -3273,7 +2576,7 @@ module Net::HTTPHeader # - +:charset+: Value is the character set for the form submission. # Field names and values of non-file fields should be encoded with this charset. # - # source://net-http//lib/net/http/header.rb#924 + # source://net-http//net/http/header.rb#924 def set_form(params, enctype = T.unsafe(nil), formopt = T.unsafe(nil)); end # Sets the request body to a URL-encoded string derived from argument +params+, @@ -3283,7 +2586,7 @@ module Net::HTTPHeader # The resulting request is suitable for HTTP request +POST+ or +PUT+. # # Argument +params+ must be suitable for use as argument +enum+ to - # {URI.encode_www_form}[https://docs.ruby-lang.org/en/master/URI.html#method-c-encode_www_form]. + # {URI.encode_www_form}[rdoc-ref:URI.encode_www_form]. # # With only argument +params+ given, # sets the body to a URL-encoded string with the default separator '&': @@ -3311,7 +2614,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#form_data= is an alias for Net::HTTPHeader#set_form_data. # - # source://net-http//lib/net/http/header.rb#812 + # source://net-http//net/http/header.rb#812 def set_form_data(params, sep = T.unsafe(nil)); end # call-seq: @@ -3340,10 +2643,10 @@ module Net::HTTPHeader # # Net::HTTPHeader#range= is an alias for Net::HTTPHeader#set_range. # - # source://net-http//lib/net/http/header.rb#576 + # source://net-http//net/http/header.rb#576 def set_range(r, e = T.unsafe(nil)); end - # source://net-http//lib/net/http/header.rb#208 + # source://net-http//net/http/header.rb#208 def size; end # Returns the trailing ('subtype') part of the @@ -3356,7 +2659,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.sub_type # => "json" # - # source://net-http//lib/net/http/header.rb#738 + # source://net-http//net/http/header.rb#738 def sub_type; end # Returns a hash of the key/value pairs: @@ -3369,7 +2672,7 @@ module Net::HTTPHeader # "user-agent"=>["Ruby"], # "host"=>["jsonplaceholder.typicode.com"]} # - # source://net-http//lib/net/http/header.rb#477 + # source://net-http//net/http/header.rb#477 def to_hash; end # Returns the trailing ('parameters') part of the value of field 'Content-Type', @@ -3380,34 +2683,34 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.type_params # => {"charset"=>"utf-8"} # - # source://net-http//lib/net/http/header.rb#753 + # source://net-http//net/http/header.rb#753 def type_params; end private - # source://net-http//lib/net/http/header.rb#285 + # source://net-http//net/http/header.rb#285 def append_field_value(ary, val); end - # source://net-http//lib/net/http/header.rb#960 + # source://net-http//net/http/header.rb#960 def basic_encode(account, password); end - # source://net-http//lib/net/http/header.rb#493 + # source://net-http//net/http/header.rb#493 def capitalize(name); end - # source://net-http//lib/net/http/header.rb#270 + # source://net-http//net/http/header.rb#270 def set_field(key, val); end end -# source://net-http//lib/net/http/header.rb#183 +# source://net-http//net/http/header.rb#183 Net::HTTPHeader::MAX_FIELD_LENGTH = T.let(T.unsafe(nil), Integer) -# source://net-http//lib/net/http/header.rb#182 +# source://net-http//net/http/header.rb#182 Net::HTTPHeader::MAX_KEY_LENGTH = T.let(T.unsafe(nil), Integer) -# source://net-http//lib/net/http/responses.rb#23 +# source://net-http//net/http/responses.rb#23 Net::HTTPInformation::EXCEPTION_TYPE = Net::HTTPError -# source://net-http//lib/net/http/backward.rb#19 +# source://net-http//net/http/backward.rb#19 Net::HTTPInformationCode = Net::HTTPInformation # Response class for Loop Detected (WebDAV) responses (status code 508). @@ -3421,11 +2724,9 @@ Net::HTTPInformationCode = Net::HTTPInformation # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508]. # - {RFC 5942}[https://www.rfc-editor.org/rfc/rfc5842.html#section-7.2]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#508]. -# -# source://net-http//lib/net/http/responses.rb#1061 class Net::HTTPLoopDetected < ::Net::HTTPServerError; end -# source://net-http//lib/net/http/responses.rb#1062 +# source://net-http//net/http/responses.rb#1062 Net::HTTPLoopDetected::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # Response class for Misdirected Request responses (status code 421). @@ -3438,17 +2739,15 @@ Net::HTTPLoopDetected::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-421-misdirected-request]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#421]. -# -# source://net-http//lib/net/http/responses.rb#776 class Net::HTTPMisdirectedRequest < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#777 +# source://net-http//net/http/responses.rb#777 Net::HTTPMisdirectedRequest::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#378 +# source://net-http//net/http/responses.rb#378 Net::HTTPMovedTemporarily = Net::HTTPFound -# source://net-http//lib/net/http/responses.rb#343 +# source://net-http//net/http/responses.rb#343 Net::HTTPMultipleChoice = Net::HTTPMultipleChoices # Response class for Not Extended responses (status code 510). @@ -3462,11 +2761,9 @@ Net::HTTPMultipleChoice = Net::HTTPMultipleChoices # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510]. # - {RFC 2774}[https://www.rfc-editor.org/rfc/rfc2774.html#section-7]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#510]. -# -# source://net-http//lib/net/http/responses.rb#1078 class Net::HTTPNotExtended < ::Net::HTTPServerError; end -# source://net-http//lib/net/http/responses.rb#1079 +# source://net-http//net/http/responses.rb#1079 Net::HTTPNotExtended::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # Response class for Payload Too Large responses (status code 413). @@ -3480,11 +2777,9 @@ Net::HTTPNotExtended::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413]. # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-413-content-too-large]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#413]. -# -# source://net-http//lib/net/http/responses.rb#688 class Net::HTTPPayloadTooLarge < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#689 +# source://net-http//net/http/responses.rb#689 Net::HTTPPayloadTooLarge::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # Response class for +Processing+ responses (status code 102). @@ -3498,11 +2793,9 @@ Net::HTTPPayloadTooLarge::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # # - {RFC 2518}[https://www.rfc-editor.org/rfc/rfc2518#section-10.1]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#102]. -# -# source://net-http//lib/net/http/responses.rb#129 class Net::HTTPProcessing < ::Net::HTTPInformation; end -# source://net-http//lib/net/http/responses.rb#130 +# source://net-http//net/http/responses.rb#130 Net::HTTPProcessing::HAS_BODY = T.let(T.unsafe(nil), FalseClass) # Response class for Range Not Satisfiable responses (status code 416). @@ -3516,25 +2809,23 @@ Net::HTTPProcessing::HAS_BODY = T.let(T.unsafe(nil), FalseClass) # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416]. # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-416-range-not-satisfiable]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#416]. -# -# source://net-http//lib/net/http/responses.rb#739 class Net::HTTPRangeNotSatisfiable < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#740 +# source://net-http//net/http/responses.rb#740 Net::HTTPRangeNotSatisfiable::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#53 +# source://net-http//net/http/responses.rb#53 Net::HTTPRedirection::EXCEPTION_TYPE = Net::HTTPRetriableError -# source://net-http//lib/net/http/backward.rb#21 +# source://net-http//net/http/backward.rb#21 Net::HTTPRedirectionCode = Net::HTTPRedirection -# source://net-http//lib/net/http/responses.rb#709 +# source://net-http//net/http/responses.rb#709 Net::HTTPRequestURITooLarge = Net::HTTPURITooLong # Typo since 2001 # -# source://net-http//lib/net/http/backward.rb#28 +# source://net-http//net/http/backward.rb#28 Net::HTTPResponceReceiver = Net::HTTPResponse # This class is the base class for \Net::HTTP response classes. @@ -3668,14 +2959,12 @@ Net::HTTPResponceReceiver = Net::HTTPResponse # # There is also the Net::HTTPBadResponse exception which is raised when # there is a protocol error. -# -# source://net-http//lib/net/http/response.rb#135 class Net::HTTPResponse include ::Net::HTTPHeader # @return [HTTPResponse] a new instance of HTTPResponse # - # source://net-http//lib/net/http/response.rb#194 + # source://net-http//net/http/response.rb#194 def initialize(httpv, code, msg); end # Returns the string response body; @@ -3693,25 +2982,25 @@ class Net::HTTPResponse # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" # nil # - # source://net-http//lib/net/http/response.rb#400 + # source://net-http//net/http/response.rb#400 def body; end # Sets the body of the response to the given value. # - # source://net-http//lib/net/http/response.rb#405 + # source://net-http//net/http/response.rb#405 def body=(value); end # Returns the value set by body_encoding=, or +false+ if none; # see #body_encoding=. # - # source://net-http//lib/net/http/response.rb#229 + # source://net-http//net/http/response.rb#229 def body_encoding; end # Sets the encoding that should be used when reading the body: # # - If the given value is an Encoding object, that encoding will be used. # - Otherwise if the value is a string, the value of - # {Encoding#find(value)}[https://docs.ruby-lang.org/en/master/Encoding.html#method-c-find] + # {Encoding#find(value)}[rdoc-ref:Encoding.find] # will be used. # - Otherwise an encoding will be deduced from the body itself. # @@ -3729,31 +3018,31 @@ class Net::HTTPResponse # p res.body.encoding # => # # end # - # source://net-http//lib/net/http/response.rb#253 + # source://net-http//net/http/response.rb#253 def body_encoding=(value); end # The HTTP result code string. For example, '302'. You can also # determine the response type by examining which response subclass # the response object is an instance of. # - # source://net-http//lib/net/http/response.rb#213 + # source://net-http//net/http/response.rb#213 def code; end # response <-> exception relationship # - # source://net-http//lib/net/http/response.rb#270 + # source://net-http//net/http/response.rb#270 def code_type; end # Set to true automatically when the request did not contain an # Accept-Encoding header from the user. # - # source://net-http//lib/net/http/response.rb#225 + # source://net-http//net/http/response.rb#225 def decode_content; end # Set to true automatically when the request did not contain an # Accept-Encoding header from the user. # - # source://net-http//lib/net/http/response.rb#225 + # source://net-http//net/http/response.rb#225 def decode_content=(_arg0); end # Returns the string response body; @@ -3771,48 +3060,48 @@ class Net::HTTPResponse # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" # nil # - # source://net-http//lib/net/http/response.rb#400 + # source://net-http//net/http/response.rb#409 def entity; end # @raise [error_type()] # - # source://net-http//lib/net/http/response.rb#274 + # source://net-http//net/http/response.rb#274 def error!; end - # source://net-http//lib/net/http/response.rb#280 + # source://net-http//net/http/response.rb#280 def error_type; end - # source://net-http//lib/net/http/response.rb#302 + # source://net-http//net/http/response.rb#302 def header; end # The HTTP version supported by the server. # - # source://net-http//lib/net/http/response.rb#208 + # source://net-http//net/http/response.rb#208 def http_version; end # Whether to ignore EOF when reading bodies with a specified Content-Length # header. # - # source://net-http//lib/net/http/response.rb#260 + # source://net-http//net/http/response.rb#260 def ignore_eof; end # Whether to ignore EOF when reading bodies with a specified Content-Length # header. # - # source://net-http//lib/net/http/response.rb#260 + # source://net-http//net/http/response.rb#260 def ignore_eof=(_arg0); end - # source://net-http//lib/net/http/response.rb#262 + # source://net-http//net/http/response.rb#262 def inspect; end # The HTTP result message sent by the server. For example, 'Not Found'. # - # source://net-http//lib/net/http/response.rb#216 + # source://net-http//net/http/response.rb#216 def message; end # The HTTP result message sent by the server. For example, 'Not Found'. # - # source://net-http//lib/net/http/response.rb#216 + # source://net-http//net/http/response.rb#217 def msg; end # Gets the entity body returned by the remote HTTP server. @@ -3843,48 +3132,48 @@ class Net::HTTPResponse # end # } # - # source://net-http//lib/net/http/response.rb#355 + # source://net-http//net/http/response.rb#355 def read_body(dest = T.unsafe(nil), &block); end - # source://net-http//lib/net/http/response.rb#307 + # source://net-http//net/http/response.rb#307 def read_header; end # body # - # source://net-http//lib/net/http/response.rb#316 + # source://net-http//net/http/response.rb#316 def reading_body(sock, reqmethodallowbody); end # header (for backward compatibility only; DO NOT USE) # - # source://net-http//lib/net/http/response.rb#297 + # source://net-http//net/http/response.rb#297 def response; end # The URI used to fetch this response. The response URI is only available # if a URI was used to create the request. # - # source://net-http//lib/net/http/response.rb#221 + # source://net-http//net/http/response.rb#221 def uri; end - # source://net-http//lib/net/http/response.rb#289 + # source://net-http//net/http/response.rb#289 def uri=(uri); end # Raises an HTTP error if the response is not 2xx (success). # - # source://net-http//lib/net/http/response.rb#285 + # source://net-http//net/http/response.rb#285 def value; end private - # source://net-http//lib/net/http/response.rb#450 + # source://net-http//net/http/response.rb#450 def check_bom(str); end - # source://net-http//lib/net/http/response.rb#414 + # source://net-http//net/http/response.rb#414 def detect_encoding(str, encoding = T.unsafe(nil)); end - # source://net-http//lib/net/http/response.rb#540 + # source://net-http//net/http/response.rb#540 def extracting_encodings_from_meta_elements(value); end - # source://net-http//lib/net/http/response.rb#505 + # source://net-http//net/http/response.rb#505 def get_attribute(ss); end # Checks for a supported Content-Encoding header and yields an Inflate @@ -3895,15 +3184,15 @@ class Net::HTTPResponse # If a Content-Range header is present, a plain socket is yielded as the # bytes in the range may not be a complete deflate block. # - # source://net-http//lib/net/http/response.rb#557 + # source://net-http//net/http/response.rb#557 def inflater; end # @raise [ArgumentError] # - # source://net-http//lib/net/http/response.rb#646 + # source://net-http//net/http/response.rb#646 def procdest(dest, block); end - # source://net-http//lib/net/http/response.rb#592 + # source://net-http//net/http/response.rb#592 def read_body_0(dest); end # read_chunked reads from +@socket+ for chunk-size, chunk-extension, CRLF, @@ -3912,18 +3201,18 @@ class Net::HTTPResponse # # See RFC 2616 section 3.6.1 for definitions # - # source://net-http//lib/net/http/response.rb#622 + # source://net-http//net/http/response.rb#622 def read_chunked(dest, chunk_data_io); end - # source://net-http//lib/net/http/response.rb#464 + # source://net-http//net/http/response.rb#464 def scanning_meta(str); end - # source://net-http//lib/net/http/response.rb#434 + # source://net-http//net/http/response.rb#434 def sniff_encoding(str, encoding = T.unsafe(nil)); end # @raise [IOError] # - # source://net-http//lib/net/http/response.rb#642 + # source://net-http//net/http/response.rb#642 def stream_check; end class << self @@ -3931,51 +3220,49 @@ class Net::HTTPResponse # # @return [Boolean] # - # source://net-http//lib/net/http/response.rb#138 + # source://net-http//net/http/response.rb#138 def body_permitted?; end - # source://net-http//lib/net/http/response.rb#142 + # source://net-http//net/http/response.rb#142 def exception_type; end - # source://net-http//lib/net/http/response.rb#146 + # source://net-http//net/http/response.rb#146 def read_new(sock); end private # @yield [key, value] # - # source://net-http//lib/net/http/response.rb#170 + # source://net-http//net/http/response.rb#170 def each_response_header(sock); end - # source://net-http//lib/net/http/response.rb#157 + # source://net-http//net/http/response.rb#157 def read_status_line(sock); end - # source://net-http//lib/net/http/response.rb#164 + # source://net-http//net/http/response.rb#164 def response_class(code); end end end # Inflater is a wrapper around Net::BufferedIO that transparently inflates # zlib and gzip streams. -# -# source://net-http//lib/net/http/response.rb#660 class Net::HTTPResponse::Inflater # Creates a new Inflater wrapping +socket+ # # @return [Inflater] a new instance of Inflater # - # source://net-http//lib/net/http/response.rb#665 + # source://net-http//net/http/response.rb#665 def initialize(socket); end # The number of bytes inflated, used to update the Content-Length of # the response. # - # source://net-http//lib/net/http/response.rb#683 + # source://net-http//net/http/response.rb#683 def bytes_inflated; end # Finishes the inflate stream. # - # source://net-http//lib/net/http/response.rb#674 + # source://net-http//net/http/response.rb#674 def finish; end # Returns a Net::ReadAdapter that inflates each read chunk into +dest+. @@ -3983,7 +3270,7 @@ class Net::HTTPResponse::Inflater # This allows a large response body to be inflated without storing the # entire body in memory. # - # source://net-http//lib/net/http/response.rb#693 + # source://net-http//net/http/response.rb#693 def inflate_adapter(dest); end # Reads +clen+ bytes from the socket, inflates them, then writes them to @@ -3996,34 +3283,34 @@ class Net::HTTPResponse::Inflater # # See https://bugs.ruby-lang.org/issues/6492 for further discussion. # - # source://net-http//lib/net/http/response.rb#720 + # source://net-http//net/http/response.rb#720 def read(clen, dest, ignore_eof = T.unsafe(nil)); end # Reads the rest of the socket, inflates it, then writes it to +dest+. # - # source://net-http//lib/net/http/response.rb#729 + # source://net-http//net/http/response.rb#729 def read_all(dest); end end -# source://net-http//lib/net/http/backward.rb#26 +# source://net-http//net/http/backward.rb#26 Net::HTTPResponseReceiver = Net::HTTPResponse -# source://net-http//lib/net/http/backward.rb#22 +# source://net-http//net/http/backward.rb#22 Net::HTTPRetriableCode = Net::HTTPRedirection -# source://net-http//lib/net/http/responses.rb#81 +# source://net-http//net/http/responses.rb#81 Net::HTTPServerError::EXCEPTION_TYPE = Net::HTTPFatalError -# source://net-http//lib/net/http/backward.rb#25 +# source://net-http//net/http/backward.rb#25 Net::HTTPServerErrorCode = Net::HTTPServerError -# source://net-http//lib/net/http/backward.rb#17 +# source://net-http//net/http/backward.rb#17 Net::HTTPSession = Net::HTTP -# source://net-http//lib/net/http/responses.rb#38 +# source://net-http//net/http/responses.rb#38 Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError -# source://net-http//lib/net/http/backward.rb#20 +# source://net-http//net/http/backward.rb#20 Net::HTTPSuccessCode = Net::HTTPSuccess # Response class for URI Too Long responses (status code 414). @@ -4037,14 +3324,12 @@ Net::HTTPSuccessCode = Net::HTTPSuccess # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414]. # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-414-uri-too-long]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#414]. -# -# source://net-http//lib/net/http/responses.rb#705 class Net::HTTPURITooLong < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#706 +# source://net-http//net/http/responses.rb#706 Net::HTTPURITooLong::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#9 +# source://net-http//net/http/responses.rb#9 Net::HTTPUnknownResponse::EXCEPTION_TYPE = Net::HTTPError # Response class for Variant Also Negotiates responses (status code 506). @@ -4058,12 +3343,10 @@ Net::HTTPUnknownResponse::EXCEPTION_TYPE = Net::HTTPError # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506]. # - {RFC 2295}[https://www.rfc-editor.org/rfc/rfc2295#section-8.1]. # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#506]. -# -# source://net-http//lib/net/http/responses.rb#1029 class Net::HTTPVariantAlsoNegotiates < ::Net::HTTPServerError; end -# source://net-http//lib/net/http/responses.rb#1030 +# source://net-http//net/http/responses.rb#1030 Net::HTTPVariantAlsoNegotiates::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/backward.rb#12 +# source://net-http//net/http/backward.rb#12 Net::NetPrivate::HTTPRequest = Net::HTTPRequest diff --git a/sorbet/rbi/gems/net-imap@0.4.11.rbi b/sorbet/rbi/gems/net-imap@0.4.11.rbi index 7e3da877f..679db1856 100644 --- a/sorbet/rbi/gems/net-imap@0.4.11.rbi +++ b/sorbet/rbi/gems/net-imap@0.4.11.rbi @@ -1056,7 +1056,7 @@ class Net::IMAP < ::Net::Protocol # # @return [Boolean] # - # source://net-imap//lib/net/imap.rb#972 + # source://net-imap//lib/net/imap.rb#973 def capability?(capability); end # Returns whether the server supports a given +capability+. When available, @@ -2513,12 +2513,12 @@ class Net::IMAP < ::Net::Protocol # The default port for IMAP connections, port 143 # - # source://net-imap//lib/net/imap.rb#749 + # source://net-imap//lib/net/imap.rb#759 def default_imap_port; end # The default port for IMAPS connections, port 993 # - # source://net-imap//lib/net/imap.rb#754 + # source://net-imap//lib/net/imap.rb#760 def default_imaps_port; end # The default port for IMAP connections, port 143 @@ -2528,7 +2528,7 @@ class Net::IMAP < ::Net::Protocol # The default port for IMAPS connections, port 993 # - # source://net-imap//lib/net/imap.rb#754 + # source://net-imap//lib/net/imap.rb#761 def default_ssl_port; end # The default port for IMAPS connections, port 993 @@ -2552,7 +2552,7 @@ class Net::IMAP < ::Net::Protocol # # Formats +time+ as an IMAP4 date-time. # - # source://net-imap//lib/net/imap/data_encoding.rb#98 + # source://net-imap//lib/net/imap/data_encoding.rb#132 def encode_time(time); end # Encode a string from UTF-8 format to modified UTF-7. @@ -2562,7 +2562,7 @@ class Net::IMAP < ::Net::Protocol # Formats +time+ as an IMAP4 date. # - # source://net-imap//lib/net/imap/data_encoding.rb#80 + # source://net-imap//lib/net/imap/data_encoding.rb#133 def format_date(date); end # DEPRECATED:: The original version returned incorrectly formatted strings. @@ -2580,7 +2580,7 @@ class Net::IMAP < ::Net::Protocol # # Formats +time+ as an IMAP4 date-time. # - # source://net-imap//lib/net/imap/data_encoding.rb#98 + # source://net-imap//lib/net/imap/data_encoding.rb#134 def format_time(time); end # :call-seq: decode_date(string) -> Date @@ -2590,7 +2590,7 @@ class Net::IMAP < ::Net::Protocol # Double quotes are optional. Day of month may be padded with zero or # space. See STRFDATE. # - # source://net-imap//lib/net/imap/data_encoding.rb#90 + # source://net-imap//lib/net/imap/data_encoding.rb#135 def parse_date(string); end # :call-seq: decode_datetime(string) -> DateTime @@ -2604,7 +2604,7 @@ class Net::IMAP < ::Net::Protocol # # See STRFTIME. # - # source://net-imap//lib/net/imap/data_encoding.rb#112 + # source://net-imap//lib/net/imap/data_encoding.rb#136 def parse_datetime(string); end # :call-seq: decode_time(string) -> Time @@ -2613,7 +2613,7 @@ class Net::IMAP < ::Net::Protocol # # Same as +decode_datetime+, but returning a Time instead. # - # source://net-imap//lib/net/imap/data_encoding.rb#124 + # source://net-imap//lib/net/imap/data_encoding.rb#137 def parse_time(string); end # -- @@ -3214,7 +3214,7 @@ class Net::IMAP::FetchData < ::Struct # This is the same as getting the value for "BODYSTRUCTURE" from # #attr. # - # source://net-imap//lib/net/imap/fetch_data.rb#310 + # source://net-imap//lib/net/imap/fetch_data.rb#311 def body_structure; end # :call-seq: @@ -3352,7 +3352,7 @@ class Net::IMAP::FetchData < ::Struct # attr["INTERNALDATE"] returns a string, and this method # returns a Time object. # - # source://net-imap//lib/net/imap/fetch_data.rb#349 + # source://net-imap//lib/net/imap/fetch_data.rb#352 def internal_date; end # :call-seq: internaldate -> Time or nil @@ -3524,7 +3524,7 @@ class Net::IMAP::FetchData < ::Struct # interpreted as a reference to the updated # RFC5322[https://www.rfc-editor.org/rfc/rfc5322.html] standard. # - # source://net-imap//lib/net/imap/fetch_data.rb#381 + # source://net-imap//lib/net/imap/fetch_data.rb#382 def size; end # :call-seq: @@ -3908,47 +3908,47 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#15 def initialize; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#452 def CRLF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#452 def CRLF?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#453 def EOF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#453 def EOF?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#435 def NIL!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#435 def NIL?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#405 def PLUS!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#405 def PLUS?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#404 def SP!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#404 def SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#406 def STAR!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#406 def STAR?; end # RFC-3501 & RFC-9051: # body-fld-enc = (DQUOTE ("7BIT" / "8BIT" / "BINARY" / "BASE64"/ # "QUOTED-PRINTABLE") DQUOTE) / string # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1219 def body_fld_enc; end # valid number ranges are not enforced by parser @@ -3957,96 +3957,96 @@ class Net::IMAP::ResponseParser # ; (0 <= n <= 9,223,372,036,854,775,807) # number in 3501, number64 in 9051 # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1212 def body_fld_lines; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1214 def body_fld_octets; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#429 def case_insensitive__string; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#429 def case_insensitive__string?; end # date-time = DQUOTE date-day-fixed "-" date-month "-" date-year # SP time SP zone DQUOTE # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1004 def date_time; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#411 def lbra; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#411 def lbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#452 def lookahead_CRLF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#453 def lookahead_EOF!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#435 def lookahead_NIL!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#405 def lookahead_PLUS?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#404 def lookahead_SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#406 def lookahead_STAR?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#1016 def lookahead_body?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#429 def lookahead_case_insensitive__string!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#411 def lookahead_lbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#408 def lookahead_lpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#418 def lookahead_number!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#420 def lookahead_quoted!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#412 def lookahead_rbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#409 def lookahead_rpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#423 def lookahead_string!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#426 def lookahead_string8!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#86 + # source://net-imap//lib/net/imap/response_parser.rb#450 def lookahead_tagged_ext_label!; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#1490 def lookahead_thread_list?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#25 + # source://net-imap//lib/net/imap/response_parser.rb#1491 def lookahead_thread_nested?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#408 def lpar; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#408 def lpar?; end # text/* # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1140 def media_subtype; end # valid number ranges are not enforced by parser @@ -4063,7 +4063,7 @@ class Net::IMAP::ResponseParser # ;; (mod-sequence) # ;; (1 <= n <= 9,223,372,036,854,775,807). # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1971 def mod_sequence_value; end # valid number ranges are not enforced by parser @@ -4073,10 +4073,10 @@ class Net::IMAP::ResponseParser # RFC7162: # mod-sequence-valzer = "0" / mod-sequence-value # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1980 def mod_sequence_valzer; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#418 def number; end # valid number ranges are not enforced by parser @@ -4084,13 +4084,13 @@ class Net::IMAP::ResponseParser # ; Unsigned 63-bit integer # ; (0 <= n <= 9,223,372,036,854,775,807) # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#618 def number64; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#619 def number64?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#418 def number?; end # valid number ranges are not enforced by parser @@ -4098,7 +4098,7 @@ class Net::IMAP::ResponseParser # ; Non-zero unsigned 32-bit integer # ; (0 < n < 4,294,967,296) # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#625 def nz_number; end # valid number ranges are not enforced by parser @@ -4110,10 +4110,10 @@ class Net::IMAP::ResponseParser # ; Unsigned 63-bit integer # ; (0 < n <= 9,223,372,036,854,775,807) # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#632 def nz_number64; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#626 def nz_number?; end # :call-seq: @@ -4126,25 +4126,25 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#28 def parse(str); end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#405 def peek_PLUS?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#404 def peek_SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#406 def peek_STAR?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#411 def peek_lbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#408 def peek_lpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#412 def peek_rbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#30 + # source://net-imap//lib/net/imap/response_parser.rb#409 def peek_rpar?; end # valid number ranges are not enforced by parser @@ -4164,7 +4164,7 @@ class Net::IMAP::ResponseParser # permsg-modsequence = mod-sequence-value # ;; Per-message mod-sequence. # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#1976 def permsg_modsequence; end # Used when servers erroneously send an extra SP. @@ -4172,43 +4172,43 @@ class Net::IMAP::ResponseParser # As of 2023-11-28, Outlook.com (still) sends SP # between +address+ in env-* lists. # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#1000 def quirky_SP?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#420 def quoted; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#420 def quoted?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#412 def rbra; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#412 def rbra?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#46 + # source://net-imap//lib/net/imap/response_parser.rb#409 def rpar; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#35 + # source://net-imap//lib/net/imap/response_parser.rb#409 def rpar?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#423 def string; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#426 def string8; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#426 def string8?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#423 def string?; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#450 def tagged_ext_label; end - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#96 + # source://net-imap//lib/net/imap/response_parser.rb#450 def tagged_ext_label?; end # valid number ranges are not enforced by parser @@ -4219,7 +4219,7 @@ class Net::IMAP::ResponseParser # uniqueid = nz-number # ; Strictly ascending # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#637 def uniqueid; end # valid number ranges are not enforced by parser @@ -4227,7 +4227,7 @@ class Net::IMAP::ResponseParser # a 64-bit unsigned integer and is the decimal equivalent for the ID hex # string used in the web interface and the Gmail API. # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#104 + # source://net-imap//lib/net/imap/response_parser.rb#643 def x_gm_id; end private @@ -4247,22 +4247,22 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1908 def addr_adl; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1909 def addr_host; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1910 def addr_mailbox; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1911 def addr_name; end # address = "(" addr-name SP addr-adl SP addr-mailbox SP @@ -4361,7 +4361,7 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1209 def body_fld_desc; end # body-fld-dsp = "(" string SP body-fld-param ")" / nil @@ -4371,7 +4371,7 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1210 def body_fld_id; end # body-fld-lang = nstring / "(" string *(SP string) ")" @@ -4381,12 +4381,12 @@ class Net::IMAP::ResponseParser # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1211 def body_fld_loc; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#1213 def body_fld_md5; end # RFC3501, RFC9051: @@ -4439,14 +4439,14 @@ class Net::IMAP::ResponseParser # ; registered with IANA as standard or # ; standards-track # - # source://net-imap//lib/net/imap/response_parser.rb#495 + # source://net-imap//lib/net/imap/response_parser.rb#1638 def capability; end # Returns atom?&.upcase # # @return [Boolean] # - # source://net-imap//lib/net/imap/response_parser.rb#498 + # source://net-imap//lib/net/imap/response_parser.rb#1639 def capability?; end # As a workaround for buggy servers, allow a trailing SP: @@ -4498,7 +4498,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1847 def charset__list; end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#776 def comparator_data(klass = T.unsafe(nil)); end # RFC3501 & RFC9051: @@ -4524,7 +4524,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#983 + # source://net-imap//lib/net/imap/response_parser.rb#994 def env_bcc; end # env-from = "(" 1*address ")" / nil @@ -4534,7 +4534,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#983 + # source://net-imap//lib/net/imap/response_parser.rb#993 def env_cc; end # nstring = string / nil @@ -4543,7 +4543,7 @@ class Net::IMAP::ResponseParser # env-in-reply-to = nstring # env-message-id = nstring # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#972 def env_date; end # env-from = "(" 1*address ")" / nil @@ -4553,17 +4553,17 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#983 + # source://net-imap//lib/net/imap/response_parser.rb#989 def env_from; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#974 def env_in_reply_to; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#975 def env_message_id; end # env-from = "(" 1*address ")" / nil @@ -4573,7 +4573,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#983 + # source://net-imap//lib/net/imap/response_parser.rb#991 def env_reply_to; end # env-from = "(" 1*address ")" / nil @@ -4583,12 +4583,12 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#983 + # source://net-imap//lib/net/imap/response_parser.rb#990 def env_sender; end # nstring = string / nil # - # source://net-imap//lib/net/imap/response_parser.rb#543 + # source://net-imap//lib/net/imap/response_parser.rb#973 def env_subject; end # env-from = "(" 1*address ")" / nil @@ -4598,7 +4598,7 @@ class Net::IMAP::ResponseParser # env-cc = "(" 1*address ")" / nil # env-bcc = "(" 1*address ")" / nil # - # source://net-imap//lib/net/imap/response_parser.rb#983 + # source://net-imap//lib/net/imap/response_parser.rb#992 def env_to; end # RFC3501 & RFC9051: @@ -4609,10 +4609,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#949 def envelope; end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#769 def esearch_response(klass = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#770 def expunged_resp(klass = T.unsafe(nil)); end # flag-list = "(" [flag *(SP flag)] ")" @@ -4628,7 +4628,7 @@ class Net::IMAP::ResponseParser # TODO: handle atom, astring_chars, and tag entirely inside the lexer # this represents the partial size for BODY or BINARY # - # source://net-imap//lib/net/imap/response_parser.rb#487 + # source://net-imap//lib/net/imap/response_parser.rb#943 def gt__number__lt; end # RFC3501 & RFC9051: @@ -4677,10 +4677,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#520 def label_in(*labels); end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#775 def language_data(klass = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#772 def listrights_data(klass = T.unsafe(nil)); end # astring = 1*ASTRING-CHAR / string @@ -4693,10 +4693,10 @@ class Net::IMAP::ResponseParser # ; Refer to section 5.1 for further # ; semantic details of mailbox names. # - # source://net-imap//lib/net/imap/response_parser.rb#503 + # source://net-imap//lib/net/imap/response_parser.rb#612 def mailbox; end - # source://net-imap//lib/net/imap/response_parser.rb#832 + # source://net-imap//lib/net/imap/response_parser.rb#839 def mailbox_data__exists; end # mailbox-data = "FLAGS" SP flag-list / "LIST" SP mailbox-list / @@ -4710,10 +4710,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1353 def mailbox_data__list; end - # source://net-imap//lib/net/imap/response_parser.rb#1353 + # source://net-imap//lib/net/imap/response_parser.rb#1358 def mailbox_data__lsub; end - # source://net-imap//lib/net/imap/response_parser.rb#832 + # source://net-imap//lib/net/imap/response_parser.rb#840 def mailbox_data__recent; end # RFC3501: @@ -4739,7 +4739,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1531 def mailbox_data__status; end - # source://net-imap//lib/net/imap/response_parser.rb#1353 + # source://net-imap//lib/net/imap/response_parser.rb#1359 def mailbox_data__xlist; end # mailbox-list = "(" [mbx-list-flags] ")" SP @@ -4776,7 +4776,7 @@ class Net::IMAP::ResponseParser # media-subtype = string # TODO: check types # - # source://net-imap//lib/net/imap/response_parser.rb#1128 + # source://net-imap//lib/net/imap/response_parser.rb#1136 def media_basic; end # n.b. this handles both type and subtype @@ -4799,7 +4799,7 @@ class Net::IMAP::ResponseParser # media-subtype = string # */* --- catchall # - # source://net-imap//lib/net/imap/response_parser.rb#1128 + # source://net-imap//lib/net/imap/response_parser.rb#1137 def media_message; end # n.b. this handles both type and subtype @@ -4822,7 +4822,7 @@ class Net::IMAP::ResponseParser # media-subtype = string # message/rfc822, message/global # - # source://net-imap//lib/net/imap/response_parser.rb#1128 + # source://net-imap//lib/net/imap/response_parser.rb#1138 def media_text; end # n.b. this handles both type and subtype @@ -4847,10 +4847,10 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1128 def media_type; end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#777 def message_data__converted(klass = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/response_parser.rb#832 + # source://net-imap//lib/net/imap/response_parser.rb#838 def message_data__expunge; end # message-data = nz-number SP ("EXPUNGE" / ("FETCH" SP msg-att)) @@ -4858,7 +4858,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#825 def message_data__fetch; end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#774 def metadata_resp(klass = T.unsafe(nil)); end # RFC3501 & RFC9051: @@ -4917,7 +4917,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#926 def msg_att__label; end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#773 def myrights_data(klass = T.unsafe(nil)); end # namespace = nil / "(" 1*namespace-descr ")" @@ -4949,7 +4949,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#1711 def namespace_response_extensions; end - # source://net-imap//lib/net/imap/response_parser.rb#551 + # source://net-imap//lib/net/imap/response_parser.rb#1005 def ndatetime; end # source://net-imap//lib/net/imap/response_parser.rb#2031 @@ -4988,7 +4988,7 @@ class Net::IMAP::ResponseParser # ; characters in object identifiers are case # ; significant # - # source://net-imap//lib/net/imap/response_parser.rb#487 + # source://net-imap//lib/net/imap/response_parser.rb#1988 def objectid; end # source://net-imap//lib/net/imap/response_parser.rb#1982 @@ -5017,7 +5017,7 @@ class Net::IMAP::ResponseParser # As a workaround for buggy servers, allow a trailing SP: # *(SP capability) [SP] # - # source://net-imap//lib/net/imap/response_parser.rb#1628 + # source://net-imap//lib/net/imap/response_parser.rb#1632 def resp_code__capability; end # already matched: "APPENDUID" @@ -5162,7 +5162,7 @@ class Net::IMAP::ResponseParser # Returns atom.upcase # - # source://net-imap//lib/net/imap/response_parser.rb#495 + # source://net-imap//lib/net/imap/response_parser.rb#1839 def resp_text_code__name; end # [RFC3501 & RFC9051:] @@ -5211,7 +5211,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#766 def response_data__ignored; end - # source://net-imap//lib/net/imap/response_parser.rb#766 + # source://net-imap//lib/net/imap/response_parser.rb#767 def response_data__noop; end # source://net-imap//lib/net/imap/response_parser.rb#832 @@ -5241,7 +5241,7 @@ class Net::IMAP::ResponseParser # ; body part reference. # ; Allows for accessing nested body parts. # - # source://net-imap//lib/net/imap/response_parser.rb#487 + # source://net-imap//lib/net/imap/response_parser.rb#1311 def section_part; end # section-spec = section-msgtext / (section-part ["." section-text]) @@ -5289,7 +5289,7 @@ class Net::IMAP::ResponseParser # mailbox-data = obsolete-search-response / ... # obsolete-search-response = "SEARCH" *(SP nz-number) # - # source://net-imap//lib/net/imap/response_parser.rb#1465 + # source://net-imap//lib/net/imap/response_parser.rb#1477 def sort_data; end # RFC3501 @@ -5434,7 +5434,7 @@ class Net::IMAP::ResponseParser # source://net-imap//lib/net/imap/response_parser.rb#2001 def uid_set; end - # source://net-imap//lib/net/imap/response_parser.rb#748 + # source://net-imap//lib/net/imap/response_parser.rb#771 def uidfetch_resp(klass = T.unsafe(nil)); end # See https://developers.google.com/gmail/imap/imap-extensions @@ -6000,6 +6000,56 @@ Net::IMAP::ResponseParser::TAG_TOKENS = T.let(T.unsafe(nil), Array) # source://net-imap//lib/net/imap/response_parser.rb#57 Net::IMAP::ResponseParser::T_LITERAL8 = T.let(T.unsafe(nil), Symbol) +# source://net-imap//lib/net/imap/response_parser.rb#402 +class Net::IMAP::ResponseParser::Token < ::Struct + # Returns the value of attribute symbol + # + # @return [Object] the current value of symbol + # + # source://net-imap//lib/net/imap/response_parser.rb#402 + def symbol; end + + # Sets the attribute symbol + # + # @param value [Object] the value to set the attribute symbol to. + # @return [Object] the newly set value + # + # source://net-imap//lib/net/imap/response_parser.rb#402 + def symbol=(_); end + + # Returns the value of attribute value + # + # @return [Object] the current value of value + # + # source://net-imap//lib/net/imap/response_parser.rb#402 + def value; end + + # Sets the attribute value + # + # @param value [Object] the value to set the attribute value to. + # @return [Object] the newly set value + # + # source://net-imap//lib/net/imap/response_parser.rb#402 + def value=(_); end + + class << self + # source://net-imap//lib/net/imap/response_parser.rb#402 + def [](*_arg0); end + + # source://net-imap//lib/net/imap/response_parser.rb#402 + def inspect; end + + # source://net-imap//lib/net/imap/response_parser.rb#402 + def keyword_init?; end + + # source://net-imap//lib/net/imap/response_parser.rb#402 + def members; end + + # source://net-imap//lib/net/imap/response_parser.rb#402 + def new(*_arg0); end + end +end + # Used to avoid an allocation when ResponseText is empty # # source://net-imap//lib/net/imap/response_data.rb#169 @@ -6416,7 +6466,7 @@ class Net::IMAP::SASL::Authenticators # only. Protocol client users should see refer to their client's # documentation, e.g. Net::IMAP#authenticate. # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#107 + # source://net-imap//lib/net/imap/sasl/authenticators.rb#114 def new(mechanism, *_arg1, **_arg2, &_arg3); end # Removes the authenticator registered for +name+ @@ -6608,7 +6658,7 @@ class Net::IMAP::SASL::DigestMD5Authenticator # RFC-4616[https://tools.ietf.org/html/rfc4616] and many later RFCs abbreviate # this to +authcid+. # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#24 + # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#25 def authcid; end # Authorization identity: an identity to act as or on behalf of. The identity @@ -6782,7 +6832,7 @@ class Net::IMAP::SASL::ExternalAuthenticator # # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#27 + # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#28 def username; end end @@ -7036,7 +7086,7 @@ class Net::IMAP::SASL::OAuthAuthenticator # The query string. (optional) # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#48 + # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#49 def query; end # Authorization identity: an identity to act as or on behalf of. The @@ -7051,7 +7101,7 @@ class Net::IMAP::SASL::OAuthAuthenticator # # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#29 + # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#30 def username; end end @@ -7129,7 +7179,7 @@ class Net::IMAP::SASL::OAuthBearerAuthenticator < ::Net::IMAP::SASL::OAuthAuthen # An OAuth 2.0 bearer token. See {RFC-6750}[https://www.rfc-editor.org/rfc/rfc6750] # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#141 + # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#142 def secret; end end @@ -7183,7 +7233,7 @@ class Net::IMAP::SASL::PlainAuthenticator # RFC-4616[https://tools.ietf.org/html/rfc4616] and many later RFCs abbreviate # this to +authcid+. # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#24 + # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#25 def authcid; end # Authorization identity: an identity to act as or on behalf of. The identity @@ -7232,7 +7282,7 @@ class Net::IMAP::SASL::PlainAuthenticator # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#28 + # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#29 def secret; end # Authentication identity: the identity that matches the #password. @@ -7455,7 +7505,7 @@ class Net::IMAP::SASL::ScramAuthenticator # RFC-4616[https://tools.ietf.org/html/rfc4616] and many later RFCs abbreviate # this to +authcid+. # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#107 + # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#108 def authcid; end # Authorization identity: an identity to act as or on behalf of. The @@ -7480,7 +7530,7 @@ class Net::IMAP::SASL::ScramAuthenticator # >>> # *TODO:* implement channel binding, appending +cbind-data+ here. # - # source://net-imap//lib/net/imap/sasl/gs2_header.rb#37 + # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#251 def cbind_input; end # The client nonce, generated by SecureRandom @@ -7540,7 +7590,7 @@ class Net::IMAP::SASL::ScramAuthenticator # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#111 + # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#112 def secret; end # An error reported by the server during the \SASL exchange. @@ -7709,7 +7759,7 @@ class Net::IMAP::SASL::XOAuth2Authenticator # authorization identity and not the authentication identity. The # authenticated identity is established for the client by the #oauth2_token. # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#35 + # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#40 def authzid; end # Returns true when the initial client response was sent. @@ -7747,7 +7797,7 @@ class Net::IMAP::SASL::XOAuth2Authenticator # An OAuth2 access token which has been authorized with the appropriate OAuth2 # scopes to use the service for #username. # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#44 + # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#45 def secret; end # It is unclear from {Google's original XOAUTH2 @@ -8297,7 +8347,7 @@ class Net::IMAP::SequenceSet # # Related: #add, #merge # - # source://net-imap//lib/net/imap/sequence_set.rb#586 + # source://net-imap//lib/net/imap/sequence_set.rb#587 def +(other); end # :call-seq: @@ -8329,7 +8379,7 @@ class Net::IMAP::SequenceSet # # Related: #add?, #merge, #union # - # source://net-imap//lib/net/imap/sequence_set.rb#674 + # source://net-imap//lib/net/imap/sequence_set.rb#678 def <<(object); end # :call-seq: self == other -> true or false @@ -8488,7 +8538,7 @@ class Net::IMAP::SequenceSet # # Related: #complement! # - # source://net-imap//lib/net/imap/sequence_set.rb#662 + # source://net-imap//lib/net/imap/sequence_set.rb#663 def complement; end # :call-seq: complement! -> self @@ -8599,7 +8649,7 @@ class Net::IMAP::SequenceSet # # Related: #subtract # - # source://net-imap//lib/net/imap/sequence_set.rb#605 + # source://net-imap//lib/net/imap/sequence_set.rb#606 def difference(other); end # Returns +true+ if the set and a given object have no common elements, @@ -8813,7 +8863,7 @@ class Net::IMAP::SequenceSet # # (seqset & other) is equivalent to (seqset - ~other). # - # source://net-imap//lib/net/imap/sequence_set.rb#623 + # source://net-imap//lib/net/imap/sequence_set.rb#626 def intersection(other); end # Returns a frozen SequenceSet with * converted to +max+, numbers @@ -8879,7 +8929,7 @@ class Net::IMAP::SequenceSet # # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#509 + # source://net-imap//lib/net/imap/sequence_set.rb#511 def member?(element); end # Merges all of the elements that appear in any of the +inputs+ into the @@ -8986,7 +9036,7 @@ class Net::IMAP::SequenceSet # # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#523 + # source://net-imap//lib/net/imap/sequence_set.rb#526 def overlap?(other); end # Returns an array of ranges @@ -9030,7 +9080,7 @@ class Net::IMAP::SequenceSet # If * and 2**32 - 1 (the maximum 32-bit unsigned # integer value) are both in the set, they will only be counted once. # - # source://net-imap//lib/net/imap/sequence_set.rb#989 + # source://net-imap//lib/net/imap/sequence_set.rb#994 def size; end # :call-seq: @@ -9070,7 +9120,7 @@ class Net::IMAP::SequenceSet # set[0] #=> 11 # set[-1] #=> 23 # - # source://net-imap//lib/net/imap/sequence_set.rb#1088 + # source://net-imap//lib/net/imap/sequence_set.rb#1095 def slice(index, length = T.unsafe(nil)); end # :call-seq: @@ -9146,7 +9196,7 @@ class Net::IMAP::SequenceSet # # Related: #each_element, #ranges, #numbers # - # source://net-imap//lib/net/imap/sequence_set.rb#851 + # source://net-imap//lib/net/imap/sequence_set.rb#852 def to_a; end # Returns the \IMAP +sequence-set+ string representation, or an empty @@ -9159,6 +9209,8 @@ class Net::IMAP::SequenceSet def to_s; end # Returns self + # + # source://net-imap//lib/net/imap/sequence_set.rb#1225 def to_sequence_set; end # Returns a Set with all of the #numbers in the sequence set. @@ -9189,7 +9241,7 @@ class Net::IMAP::SequenceSet # # Related: #add, #merge # - # source://net-imap//lib/net/imap/sequence_set.rb#586 + # source://net-imap//lib/net/imap/sequence_set.rb#588 def union(other); end # Returns false when the set is empty. @@ -9234,7 +9286,7 @@ class Net::IMAP::SequenceSet # (seqset ^ other) is equivalent to ((seqset | other) - # (seqset & other)). # - # source://net-imap//lib/net/imap/sequence_set.rb#644 + # source://net-imap//lib/net/imap/sequence_set.rb#645 def xor(other); end # :call-seq: diff --git a/sorbet/rbi/gems/net-pop@0.1.2.rbi b/sorbet/rbi/gems/net-pop@0.1.2.rbi index 0157b1a82..10283be39 100644 --- a/sorbet/rbi/gems/net-pop@0.1.2.rbi +++ b/sorbet/rbi/gems/net-pop@0.1.2.rbi @@ -199,7 +199,7 @@ class Net::POP3 < ::Net::Protocol # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#514 + # source://net-pop//lib/net/pop.rb#518 def active?; end # The address to connect to. @@ -256,7 +256,7 @@ class Net::POP3 < ::Net::Protocol # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#668 + # source://net-pop//lib/net/pop.rb#672 def each(&block); end # Yields each message to the passed-in block in turn. @@ -729,7 +729,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#805 + # source://net-pop//lib/net/pop.rb#817 def all(dest = T.unsafe(nil), &block); end # Marks a message for deletion on the server. Deletion does not @@ -775,7 +775,7 @@ class Net::POPMail # end # end # - # source://net-pop//lib/net/pop.rb#861 + # source://net-pop//lib/net/pop.rb#866 def delete!; end # True if the mail has been deleted. @@ -841,7 +841,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#805 + # source://net-pop//lib/net/pop.rb#818 def mail(dest = T.unsafe(nil), &block); end # The sequence number of the message on the server. @@ -891,7 +891,7 @@ class Net::POPMail # The length of the message in octets. # - # source://net-pop//lib/net/pop.rb#759 + # source://net-pop//lib/net/pop.rb#760 def size; end # Fetches the message header and +lines+ lines of body. @@ -911,7 +911,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#877 + # source://net-pop//lib/net/pop.rb#883 def uidl; end # Returns the unique-id of the message. diff --git a/sorbet/rbi/gems/net-protocol@0.2.2.rbi b/sorbet/rbi/gems/net-protocol@0.2.2.rbi index f9ede8954..ec2b53ad4 100644 --- a/sorbet/rbi/gems/net-protocol@0.2.2.rbi +++ b/sorbet/rbi/gems/net-protocol@0.2.2.rbi @@ -11,7 +11,7 @@ class Net::BufferedIO # source://net-protocol//net/protocol.rb#116 def initialize(io, read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), continue_timeout: T.unsafe(nil), debug_output: T.unsafe(nil)); end - # source://net-protocol//net/protocol.rb#285 + # source://net-protocol//net/protocol.rb#291 def <<(*strs); end # source://net-protocol//net/protocol.rb#145 @@ -251,7 +251,7 @@ class Net::WriteAdapter # source://net-protocol//net/protocol.rb#491 def inspect; end - # source://net-protocol//net/protocol.rb#495 + # source://net-protocol//net/protocol.rb#499 def print(str); end # source://net-protocol//net/protocol.rb#510 diff --git a/sorbet/rbi/gems/net-smtp@0.5.0.rbi b/sorbet/rbi/gems/net-smtp@0.5.0.rbi index 94d8eab1c..a26db3ed8 100644 --- a/sorbet/rbi/gems/net-smtp@0.5.0.rbi +++ b/sorbet/rbi/gems/net-smtp@0.5.0.rbi @@ -271,7 +271,7 @@ class Net::SMTP < ::Net::Protocol # Disables SMTP/TLS for this object. Must be called before the # connection is established to have any effect. # - # source://net-smtp//lib/net/smtp.rb#364 + # source://net-smtp//lib/net/smtp.rb#369 def disable_ssl; end # Disables SMTP/TLS (STARTTLS) for this object. Must be called @@ -295,7 +295,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#353 + # source://net-smtp//lib/net/smtp.rb#360 def enable_ssl(context = T.unsafe(nil)); end # Enables SMTP/TLS (STARTTLS) for this object. @@ -348,7 +348,7 @@ class Net::SMTP < ::Net::Protocol # retry (but not vice versa). # +true+ if the SMTP object uses ESMTP (which it does by default). # - # source://net-smtp//lib/net/smtp.rb#289 + # source://net-smtp//lib/net/smtp.rb#292 def esmtp?; end # Finishes the SMTP session and closes TCP connection. @@ -514,7 +514,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#849 + # source://net-smtp//lib/net/smtp.rb#857 def ready(from_addr, *to_addrs, &block); end # Aborts the current mail transaction @@ -559,7 +559,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#794 + # source://net-smtp//lib/net/smtp.rb#802 def send_mail(msgstr, from_addr, *to_addrs); end # Sends +msgstr+ as a message. Single CR ("\r") and LF ("\n") found @@ -640,7 +640,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#794 + # source://net-smtp//lib/net/smtp.rb#803 def sendmail(msgstr, from_addr, *to_addrs); end # WARNING: This method causes serious security holes. @@ -656,14 +656,14 @@ class Net::SMTP < ::Net::Protocol # .... # end # - # source://net-smtp//lib/net/smtp.rb#450 + # source://net-smtp//lib/net/smtp.rb#454 def set_debug_output(arg); end # true if this object uses SMTP/TLS (SMTPS). # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#344 + # source://net-smtp//lib/net/smtp.rb#348 def ssl?; end # Hash for additional SSLContext parameters. @@ -869,7 +869,7 @@ class Net::SMTP < ::Net::Protocol # The default SMTPS port number, 465. # - # source://net-smtp//lib/net/smtp.rb#208 + # source://net-smtp//lib/net/smtp.rb#213 def default_ssl_port; end # The default mail submission port number, 587. diff --git a/sorbet/rbi/gems/netrc@0.11.0.rbi b/sorbet/rbi/gems/netrc@0.11.0.rbi index 4ae989b9b..e44a1105f 100644 --- a/sorbet/rbi/gems/netrc@0.11.0.rbi +++ b/sorbet/rbi/gems/netrc@0.11.0.rbi @@ -108,32 +108,49 @@ class Netrc::Entry < ::Struct # Returns the value of attribute login # # @return [Object] the current value of login + # + # source://netrc//lib/netrc.rb#244 def login; end # Sets the attribute login # # @param value [Object] the value to set the attribute login to. # @return [Object] the newly set value + # + # source://netrc//lib/netrc.rb#244 def login=(_); end # Returns the value of attribute password # # @return [Object] the current value of password + # + # source://netrc//lib/netrc.rb#244 def password; end # Sets the attribute password # # @param value [Object] the value to set the attribute password to. # @return [Object] the newly set value + # + # source://netrc//lib/netrc.rb#244 def password=(_); end def to_ary; end class << self + # source://netrc//lib/netrc.rb#244 def [](*_arg0); end + + # source://netrc//lib/netrc.rb#244 def inspect; end + + # source://netrc//lib/netrc.rb#244 def keyword_init?; end + + # source://netrc//lib/netrc.rb#244 def members; end + + # source://netrc//lib/netrc.rb#244 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/nokogiri@1.16.7.rbi b/sorbet/rbi/gems/nokogiri@1.16.7.rbi index b1e6ba27c..197d3c4f7 100644 --- a/sorbet/rbi/gems/nokogiri@1.16.7.rbi +++ b/sorbet/rbi/gems/nokogiri@1.16.7.rbi @@ -37,7 +37,7 @@ # source://nokogiri//lib/nokogiri.rb#38 module Nokogiri class << self - # source://nokogiri//lib/nokogiri/html4.rb#10 + # source://nokogiri//lib/nokogiri/html.rb#16 def HTML(input, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end # :call-seq: @@ -541,7 +541,7 @@ class Nokogiri::CSS::Tokenizer # source://nokogiri//lib/nokogiri/css/tokenizer.rb#49 def next_token; end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#30 + # source://nokogiri//lib/nokogiri/css/tokenizer.rb#34 def scan(str); end # source://nokogiri//lib/nokogiri/css/tokenizer.rb#43 @@ -608,7 +608,7 @@ class Nokogiri::CSS::XPathVisitor # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#154 def visit_attribute_condition(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#234 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#233 def visit_child_selector(node); end # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#215 @@ -620,16 +620,16 @@ class Nokogiri::CSS::XPathVisitor # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#240 def visit_conditional_selector(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#234 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#233 def visit_descendant_selector(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#234 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#233 def visit_direct_adjacent_selector(node); end # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#245 def visit_element_name(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#234 + # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#233 def visit_following_selector(node); end # :stopdoc: @@ -794,12 +794,21 @@ Nokogiri::Decorators::Slop::XPATH_PREFIX = T.let(T.unsafe(nil), String) # source://nokogiri//lib/nokogiri/encoding_handler.rb#5 class Nokogiri::EncodingHandler # Returns the value of attribute name. + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def [](_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def alias(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def clear_aliases!; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def delete(_arg0); end # source://nokogiri//lib/nokogiri/encoding_handler.rb#15 @@ -815,7 +824,10 @@ Nokogiri::EncodingHandler::USEFUL_ALIASES = T.let(T.unsafe(nil), Hash) # source://nokogiri//lib/nokogiri/gumbo.rb#4 module Nokogiri::Gumbo class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def fragment(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5); end end end @@ -964,6 +976,7 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # source://nokogiri//lib/nokogiri/html4/document.rb#85 def title=(text); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def type; end # :call-seq: @@ -985,6 +998,7 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document def set_metadata_element(element); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end # Parse HTML. +string_or_io+ may be a String, or any object that @@ -1000,7 +1014,10 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # source://nokogiri//lib/nokogiri/html4/document.rb#172 def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_io(_arg0, _arg1, _arg2, _arg3); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_memory(_arg0, _arg1, _arg2, _arg3); end end end @@ -1030,21 +1047,34 @@ class Nokogiri::HTML4::ElementDescription # source://nokogiri//lib/nokogiri/html4/element_description.rb#8 def block?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def default_sub_element; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def deprecated?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def deprecated_attributes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def description; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def empty?; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def implied_end_tag?; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def implied_start_tag?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def inline?; end # Inspection information @@ -1052,13 +1082,21 @@ class Nokogiri::HTML4::ElementDescription # source://nokogiri//lib/nokogiri/html4/element_description.rb#20 def inspect; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def optional_attributes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def required_attributes; end # @return [Boolean] + # + # source://nokogiri//lib/nokogiri/extension.rb#7 def save_end_tag?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def sub_elements; end # Convert this description to a string @@ -1072,6 +1110,7 @@ class Nokogiri::HTML4::ElementDescription def default_desc; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def [](_arg0); end end end @@ -1485,6 +1524,7 @@ class Nokogiri::HTML4::EntityLookup # source://nokogiri//lib/nokogiri/html4/entity_lookup.rb#10 def [](name); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def get(_arg0); end end @@ -1548,10 +1588,14 @@ end # # source://nokogiri//lib/nokogiri/html4/sax/parser_context.rb#9 class Nokogiri::HTML4::SAX::ParserContext < ::Nokogiri::XML::SAX::ParserContext + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse_with(_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def file(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def memory(_arg0, _arg1); end # source://nokogiri//lib/nokogiri/html4/sax/parser_context.rb#10 @@ -1569,7 +1613,7 @@ class Nokogiri::HTML4::SAX::PushParser < ::Nokogiri::XML::SAX::PushParser # Write a +chunk+ of HTML to the PushParser. Any callback methods # that can be called will be called immediately. # - # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#23 + # source://nokogiri//lib/nokogiri/html4/sax/push_parser.rb#26 def <<(chunk, last_chunk = T.unsafe(nil)); end # The Nokogiri::HTML4::SAX::Document on which the PushParser will be @@ -1598,7 +1642,10 @@ class Nokogiri::HTML4::SAX::PushParser < ::Nokogiri::XML::SAX::PushParser private + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_native(_arg0, _arg1, _arg2); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_write(_arg0, _arg1); end end @@ -2078,6 +2125,7 @@ class Nokogiri::SyntaxError < ::StandardError; end module Nokogiri::Test class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def __foreign_error_handler; end end end @@ -2167,7 +2215,10 @@ class Nokogiri::VersionInfo class << self private + # source://nokogiri//lib/nokogiri/version/info.rb#8 def allocate; end + + # source://nokogiri//lib/nokogiri/version/info.rb#8 def new(*_arg0); end end end @@ -2209,6 +2260,7 @@ end # source://nokogiri//lib/nokogiri/xml/attr.rb#6 class Nokogiri::XML::Attr < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/xml/attr.rb#9 def content=(_arg0); end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -2259,6 +2311,8 @@ class Nokogiri::XML::Attr < ::Nokogiri::XML::Node def to_s; end def value; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def value=(_arg0); end private @@ -2267,6 +2321,7 @@ class Nokogiri::XML::Attr < ::Nokogiri::XML::Node def inspect_attributes; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end @@ -2275,8 +2330,13 @@ end # # source://nokogiri//lib/nokogiri/xml/attribute_decl.rb#7 class Nokogiri::XML::AttributeDecl < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def default; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def enumeration; end private @@ -2685,6 +2745,7 @@ class Nokogiri::XML::CDATA < ::Nokogiri::XML::Text def name; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end @@ -2696,19 +2757,26 @@ end class Nokogiri::XML::Comment < ::Nokogiri::XML::CharacterData class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end # source://nokogiri//lib/nokogiri/xml/dtd.rb#5 class Nokogiri::XML::DTD < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def attributes; end # source://nokogiri//lib/nokogiri/xml/dtd.rb#17 def each; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def elements; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def entities; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def external_id; end # @return [Boolean] @@ -2724,8 +2792,13 @@ class Nokogiri::XML::DTD < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/dtd.rb#13 def keys; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def notations; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def system_id; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate(_arg0); end end @@ -2743,13 +2816,16 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/document.rb#177 def initialize(*args); end - # source://nokogiri//lib/nokogiri/xml/document.rb#393 + # source://nokogiri//lib/nokogiri/xml/document.rb#405 def <<(node_or_tags); end # source://nokogiri//lib/nokogiri/xml/document.rb#393 def add_child(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def canonicalize(*_arg0); end + + # source://nokogiri//lib/nokogiri/xml/document.rb#375 def clone(*_arg0); end # :call-seq: @@ -2852,6 +2928,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/document.rb#231 def create_element(name, *contents_or_attrs, &block); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def create_entity(*_arg0); end # Create a Text Node with +string+ @@ -2916,8 +2993,13 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/document.rb#276 def document; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def dup(*_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def encoding; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def encoding=(_arg0); end # The errors found while parsing a document. @@ -3048,8 +3130,13 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/document.rb#378 def namespaces; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def remove_namespaces!; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def root; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def root=(_arg0); end # Explore a document with shortcut methods. See Nokogiri::Slop for details. @@ -3073,6 +3160,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1286 def to_xml(*args, &block); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def url; end # Validate this Document against it's DTD. Returns a list of errors on @@ -3081,6 +3169,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/document.rb#331 def validate; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def version; end # :call-seq: @@ -3099,6 +3188,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node def inspect_attributes; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end # Parse an XML file. @@ -3131,7 +3221,10 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/document.rb#48 def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_io(_arg0, _arg1, _arg2, _arg3); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_memory(_arg0, _arg1, _arg2, _arg3); end private @@ -3257,7 +3350,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # Convert this DocumentFragment to a string # - # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#60 + # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#133 def serialize; end # Convert this DocumentFragment to html @@ -3291,6 +3384,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node def namespace_declarations(ctx); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end # Create a Nokogiri::XML::DocumentFragment from +tags+ @@ -3327,14 +3421,24 @@ class Nokogiri::XML::ElementContent # source://nokogiri//lib/nokogiri/xml/element_content.rb#31 def document; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def occur; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def type; end private + # source://nokogiri//lib/nokogiri/extension.rb#7 def c1; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def c2; end # source://nokogiri//lib/nokogiri/xml/element_content.rb#41 @@ -3371,8 +3475,13 @@ Nokogiri::XML::ElementContent::SEQ = T.let(T.unsafe(nil), Integer) # source://nokogiri//lib/nokogiri/xml/element_decl.rb#5 class Nokogiri::XML::ElementDecl < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def content; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def element_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end private @@ -3383,10 +3492,19 @@ end # source://nokogiri//lib/nokogiri/xml/entity_decl.rb#5 class Nokogiri::XML::EntityDecl < ::Nokogiri::XML::Node + # source://nokogiri//lib/nokogiri/extension.rb#7 def content; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def entity_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def external_id; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def original_content; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def system_id; end private @@ -3416,6 +3534,7 @@ class Nokogiri::XML::EntityReference < ::Nokogiri::XML::Node def inspect_attributes; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end @@ -3467,7 +3586,10 @@ class Nokogiri::XML::Namespace # source://nokogiri//lib/nokogiri/xml/namespace.rb#8 def document; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def href; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end private @@ -3712,7 +3834,10 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#715 def add_class(names); end + # source://nokogiri//lib/nokogiri/xml/node.rb#468 def add_namespace(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_namespace_definition(_arg0, _arg1); end # Insert +node_or_tags+ after this Node (as a sibling). @@ -3835,11 +3960,16 @@ class Nokogiri::XML::Node # doc.at_css("child").attribute_with_ns("size", "http://example.com/widths").value # # => "broad" # - # source://nokogiri//lib/nokogiri/xml/node.rb#512 + # source://nokogiri//lib/nokogiri/xml/node.rb#1007 def attr(name); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_nodes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_with_ns(_arg0, _arg1); end # :call-seq: attributes() → Hash @@ -3911,6 +4041,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#304 def before(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def blank?; end # source://nokogiri//lib/nokogiri/xml/node.rb#1414 @@ -3923,7 +4054,10 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1136 def cdata?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def child; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def children; end # Set the content for this Node +node_or_tags+ @@ -3958,6 +4092,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#669 def classes; end + # source://nokogiri//lib/nokogiri/xml/node.rb#477 def clone(*_arg0); end # Returns true if this is a Comment @@ -3967,6 +4102,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1131 def comment?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def content; end # Set the Node's content to a Text node containing +string+. The string gets XML escaped, not @@ -3975,7 +4111,10 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#411 def content=(string); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def create_external_subset(_arg0, _arg1, _arg2); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def create_internal_subset(_arg0, _arg1, _arg2); end # Get the path to this node as a CSS expression @@ -4051,7 +4190,7 @@ class Nokogiri::XML::Node # Remove the attribute named +name+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#643 + # source://nokogiri//lib/nokogiri/xml/node.rb#1005 def delete(name); end # Fetch the Nokogiri::HTML4::ElementDescription for this node. Returns @@ -4069,6 +4208,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#454 def do_xinclude(options = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def document; end # Returns true if this is a Document @@ -4078,6 +4218,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1151 def document?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def dup(*_arg0); end # Iterate over each attribute name and value pair for this Node. @@ -4089,7 +4230,7 @@ class Nokogiri::XML::Node # # @return [Boolean] # - # source://nokogiri//lib/nokogiri/xml/node.rb#1187 + # source://nokogiri//lib/nokogiri/xml/node.rb#1191 def elem?; end # Returns true if this is an Element node @@ -4099,10 +4240,19 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1187 def element?; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def element_children; end + + # source://nokogiri//lib/nokogiri/xml/node.rb#478 def elements; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def encode_special_chars(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def external_subset; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def first_element_child; end # Create a DocumentFragment containing +tags+ that is relative to _this_ @@ -4148,9 +4298,10 @@ class Nokogiri::XML::Node # doc.at_css("child").attribute_with_ns("size", "http://example.com/widths").value # # => "broad" # - # source://nokogiri//lib/nokogiri/xml/node.rb#512 + # source://nokogiri//lib/nokogiri/xml/node.rb#1006 def get_attribute(name); end + # source://nokogiri//lib/nokogiri/xml/node.rb#1009 def has_attribute?(_arg0); end # Returns true if this is an HTML4::Document or HTML5::Document node @@ -4184,9 +4335,14 @@ class Nokogiri::XML::Node def inner_html=(node_or_tags); end # :section: + # + # source://nokogiri//lib/nokogiri/xml/node.rb#472 def inner_text; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def internal_subset; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def key?(_arg0); end # Get the attribute names for this Node. @@ -4365,10 +4521,19 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#838 def kwattr_values(attribute_name); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def lang; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def lang=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def last_element_child; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def line; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def line=(_arg0); end # Returns true if this Node matches +selector+ @@ -4378,8 +4543,13 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1015 def matches?(selector); end + # source://nokogiri//lib/nokogiri/xml/node.rb#475 def name; end + + # source://nokogiri//lib/nokogiri/xml/node.rb#467 def name=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace; end # Set the default namespace on this node (as would be defined with an @@ -4391,8 +4561,13 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#437 def namespace=(ns); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace_definitions; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace_scopes; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespaced_key?(_arg0, _arg1); end # :call-seq: @@ -4434,7 +4609,10 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1122 def namespaces; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_content=(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node.rb#462 def next; end # Insert +node_or_tags+ after this Node (as a sibling). @@ -4449,14 +4627,25 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/xml/node.rb#288 + # source://nokogiri//lib/nokogiri/xml/node.rb#464 def next=(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def next_element; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def next_sibling; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_name=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def parent; end # Set the parent Node for this Node @@ -4473,7 +4662,10 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1030 def parse(string_or_io, options = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def path; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def pointer_id; end # Add +node_or_tags+ as the first child of this Node. @@ -4489,6 +4681,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#168 def prepend_child(node_or_tags); end + # source://nokogiri//lib/nokogiri/xml/node.rb#463 def previous; end # Insert +node_or_tags+ before this Node (as a sibling). @@ -4503,10 +4696,13 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/xml/node.rb#271 + # source://nokogiri//lib/nokogiri/xml/node.rb#465 def previous=(node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def previous_element; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def previous_sibling; end # Returns true if this is a ProcessingInstruction node @@ -4523,6 +4719,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1181 def read_only?; end + # source://nokogiri//lib/nokogiri/xml/node.rb#466 def remove; end # Remove the attribute named +name+ @@ -4641,7 +4838,7 @@ class Nokogiri::XML::Node # # " \n" + # # "\n" # - # source://nokogiri//lib/nokogiri/xml/node.rb#550 + # source://nokogiri//lib/nokogiri/xml/node.rb#1008 def set_attribute(name, value); end # Swap this Node for +node_or_tags+ @@ -4656,6 +4853,7 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#403 def swap(node_or_tags); end + # source://nokogiri//lib/nokogiri/xml/node.rb#473 def text; end # Returns true if this is a Text node @@ -4678,9 +4876,10 @@ class Nokogiri::XML::Node # Turn this node in to a string. If the document is HTML, this method # returns html. If the document is XML, this method returns XML. # - # source://nokogiri//lib/nokogiri/xml/node.rb#1196 + # source://nokogiri//lib/nokogiri/xml/attr.rb#8 def to_s; end + # source://nokogiri//lib/nokogiri/xml/node.rb#474 def to_str; end # Serialize this Node to XHTML using +options+ @@ -4696,7 +4895,7 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#1323 + # source://nokogiri//lib/nokogiri/xml/document.rb#374 def to_xml(options = T.unsafe(nil)); end # Yields self and all children to +block+ recursively. @@ -4707,7 +4906,10 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1239 def traverse(&block); end + # source://nokogiri//lib/nokogiri/xml/node.rb#476 def type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def unlink; end # Does this Node's attributes include @@ -4835,21 +5037,34 @@ class Nokogiri::XML::Node private + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_child_node(_arg0); end # source://nokogiri//lib/nokogiri/html5/node.rb#83 def add_child_node_and_reparent_attrs(node); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_next_sibling_node(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def add_previous_sibling_node(_arg0); end # source://nokogiri//lib/nokogiri/xml/node.rb#1523 def add_sibling(next_or_previous, node_or_tags); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def compare(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def dump_html; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def get(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def html_standard_serialize(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def in_context(_arg0, _arg1); end # source://nokogiri//lib/nokogiri/xml/node.rb#1562 @@ -4858,11 +5073,22 @@ class Nokogiri::XML::Node # source://nokogiri//lib/nokogiri/xml/node.rb#1511 def keywordify(keywords); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_write_to(_arg0, _arg1, _arg2, _arg3); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prepend_newline?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def process_xincludes(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_node(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def set(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def set_namespace(_arg0); end # source://nokogiri//lib/nokogiri/xml/node.rb#1548 @@ -4872,6 +5098,7 @@ class Nokogiri::XML::Node def write_format_to(save_option, io, options); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end @@ -4987,67 +5214,67 @@ class Nokogiri::XML::Node::SaveOptions # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#47 def initialize(options = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_html; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_html?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xhtml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xhtml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def as_xml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_html; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_html?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xhtml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xhtml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def default_xml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def format; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def format?; end # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#66 def inspect; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_declaration; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_declaration?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_empty_tags; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_empty_tags?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#53 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_xhtml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#58 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 def no_xhtml?; end # Integer representation of the SaveOptions @@ -5057,7 +5284,7 @@ class Nokogiri::XML::Node::SaveOptions # Integer representation of the SaveOptions # - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#44 + # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#64 def to_i; end end @@ -5158,12 +5385,19 @@ class Nokogiri::XML::NodeSet # # node_set.at(3) # same as node_set[3] # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#119 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#126 def %(*args); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def &(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#431 def +(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def -(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#73 def <<(_arg0); end # Equality -- Two NodeSets are equal if the contain the same number @@ -5173,6 +5407,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#393 def ==(other); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def [](*_arg0); end # Add the class attribute +name+ to all Node objects in the @@ -5277,7 +5512,7 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#203 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#219 def attribute(key, value = T.unsafe(nil), &block); end # Insert +datum+ before the first Node in this NodeSet @@ -5291,6 +5526,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#406 def children; end + # source://nokogiri//lib/nokogiri/xml/node_set.rb#17 def clone; end # call-seq: css *rules, [namespace-bindings, custom-pseudo-class] @@ -5312,6 +5548,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#440 def deconstruct; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def delete(_arg0); end # The Document this NodeSet is associated with @@ -5324,6 +5561,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#15 def document=(_arg0); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def dup; end # Iterate over each node, yielding to +block+ @@ -5348,6 +5586,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#29 def first(n = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def include?(_arg0); end # Returns the index of the first node in self that is == to +node+ or meets the given block. Returns nil if no match is found. @@ -5386,6 +5625,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#39 def last; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def length; end # Removes the last element from set and returns it, or +nil+ if @@ -5394,7 +5634,10 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#374 def pop; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def push(_arg0); end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#74 def remove; end # Remove the attributed named +name+ from all Node objects in the NodeSet @@ -5404,7 +5647,7 @@ class Nokogiri::XML::NodeSet # Remove the attributed named +name+ from all Node objects in the NodeSet # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#223 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#227 def remove_attribute(name); end # Remove the class attribute +name+ from all Node objects in the @@ -5453,7 +5696,7 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#203 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#218 def set(key, value = T.unsafe(nil), &block); end # Returns the first element of the NodeSet and removes it. Returns @@ -5462,7 +5705,10 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#383 def shift; end + # source://nokogiri//lib/nokogiri/xml/node_set.rb#368 def size; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def slice(*_arg0); end # Get the inner text of all contained Node objects @@ -5478,10 +5724,13 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#content for more information. # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#253 + # source://nokogiri//lib/nokogiri/xml/node_set.rb#256 def text; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def to_a; end + + # source://nokogiri//lib/nokogiri/xml/node_set.rb#369 def to_ary; end # Convert this NodeSet to HTML @@ -5504,6 +5753,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#364 def to_xml(*args); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def unlink; end # :call-seq: @@ -5583,6 +5833,7 @@ class Nokogiri::XML::NodeSet # source://nokogiri//lib/nokogiri/xml/node_set.rb#99 def xpath(*args); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def |(_arg0); end end @@ -5689,208 +5940,208 @@ class Nokogiri::XML::ParseOptions # source://nokogiri//lib/nokogiri/xml/parse_options.rb#198 def ==(other); end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def big_lines; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def big_lines?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def compact; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def compact?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_html; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_html?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_schema; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_schema?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xml; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xml?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xslt; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def default_xslt?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdattr; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdattr?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdload; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdload?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdvalid; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def dtdvalid?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def huge; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def huge?; end # source://nokogiri//lib/nokogiri/xml/parse_options.rb#204 def inspect; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nobasefix; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nobasefix?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nobig_lines; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noblanks; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noblanks?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nocdata; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nocdata?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nocompact; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_html; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_schema; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_xml; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodefault_xslt; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodict; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodict?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodtdattr; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodtdload; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nodtdvalid; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noent; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noent?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noerror; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noerror?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nohuge; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonet; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonet?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonobasefix; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoblanks; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonocdata; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonodict; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoent; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoerror; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nononet; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonowarning; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonoxincnode; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nonsclean; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noold10; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nopedantic; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def norecover; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nosax1; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nowarning; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nowarning?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#178 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noxinclude; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noxincnode; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def noxincnode?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nsclean; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def nsclean?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def old10; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def old10?; end # Returns the value of attribute options. @@ -5905,22 +6156,22 @@ class Nokogiri::XML::ParseOptions # source://nokogiri//lib/nokogiri/xml/parse_options.rb#163 def options=(_arg0); end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def pedantic; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def pedantic?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def recover; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def recover?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def sax1; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def sax1?; end # source://nokogiri//lib/nokogiri/xml/parse_options.rb#189 @@ -5933,13 +6184,13 @@ class Nokogiri::XML::ParseOptions # Returns the value of attribute options. # - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#163 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#202 def to_i; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#173 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def xinclude; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#183 + # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 def xinclude?; end end @@ -6098,6 +6349,7 @@ class Nokogiri::XML::ProcessingInstruction < ::Nokogiri::XML::Node def initialize(document, name, content); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end @@ -6139,9 +6391,16 @@ class Nokogiri::XML::Reader # source://nokogiri//lib/nokogiri/xml/reader.rb#80 def initialize(source, url = T.unsafe(nil), encoding = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_at(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_count; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def attribute_hash; end # Get the attributes and namespaces of the current node as a Hash. @@ -6154,9 +6413,16 @@ class Nokogiri::XML::Reader # source://nokogiri//lib/nokogiri/xml/reader.rb#93 def attributes; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def attributes?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def base_uri; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def default?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def depth; end # Move the cursor through the document yielding the cursor to the block @@ -6164,7 +6430,10 @@ class Nokogiri::XML::Reader # source://nokogiri//lib/nokogiri/xml/reader.rb#99 def each; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def empty_element?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def encoding; end # A list of errors encountered while parsing @@ -6177,16 +6446,37 @@ class Nokogiri::XML::Reader # source://nokogiri//lib/nokogiri/xml/reader.rb#73 def errors=(_arg0); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def inner_xml; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def lang; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def local_name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def name; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespace_uri; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def namespaces; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def node_type; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def outer_xml; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def prefix; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def read; end + + # source://nokogiri//lib/nokogiri/xml/reader.rb#78 def self_closing?; end # The XML source @@ -6194,13 +6484,23 @@ class Nokogiri::XML::Reader # source://nokogiri//lib/nokogiri/xml/reader.rb#76 def source; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def state; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def value; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def value?; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def xml_version; end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_io(*_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_memory(*_arg0); end end end @@ -6318,10 +6618,14 @@ Nokogiri::XML::Reader::TYPE_XML_DECLARATION = T.let(T.unsafe(nil), Integer) class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema private + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate_document(_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_document(*_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_memory(*_arg0); end end end @@ -6581,17 +6885,35 @@ Nokogiri::XML::SAX::Parser::ENCODINGS = T.let(T.unsafe(nil), Hash) # # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#10 class Nokogiri::XML::SAX::ParserContext + # source://nokogiri//lib/nokogiri/extension.rb#7 def column; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def line; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse_with(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def recovery; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def recovery=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities=(_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def file(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def io(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def memory(_arg0); end # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#11 @@ -6633,7 +6955,7 @@ class Nokogiri::XML::SAX::PushParser # Write a +chunk+ of XML to the PushParser. Any callback methods # that can be called will be called immediately. # - # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#47 + # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#50 def <<(chunk, last_chunk = T.unsafe(nil)); end # The Nokogiri::XML::SAX::Document on which the PushParser will be @@ -6654,9 +6976,16 @@ class Nokogiri::XML::SAX::PushParser # source://nokogiri//lib/nokogiri/xml/sax/push_parser.rb#55 def finish; end + # source://nokogiri//lib/nokogiri/extension.rb#7 def options; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def options=(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities; end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def replace_entities=(_arg0); end # Write a +chunk+ of XML to the PushParser. Any callback methods @@ -6667,7 +6996,10 @@ class Nokogiri::XML::SAX::PushParser private + # source://nokogiri//lib/nokogiri/extension.rb#7 def initialize_native(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def native_write(_arg0, _arg1); end end @@ -6734,10 +7066,14 @@ class Nokogiri::XML::Schema private + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate_document(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def validate_file(_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def from_document(*_arg0); end # Create a new Nokogiri::XML::Schema object using a +string_or_io+ @@ -6746,6 +7082,7 @@ class Nokogiri::XML::Schema # source://nokogiri//lib/nokogiri/xml/schema.rb#46 def new(string_or_io, options = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def read_memory(*_arg0); end end end @@ -6766,7 +7103,7 @@ module Nokogiri::XML::Searchable # # See Searchable#search for more information. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#74 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#78 def %(*args); end # call-seq: @@ -6803,7 +7140,7 @@ module Nokogiri::XML::Searchable # # See Searchable#xpath and Searchable#css for further usage help. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#54 + # source://nokogiri//lib/nokogiri/xml/searchable.rb#64 def /(*args); end # :call-seq: @@ -7103,6 +7440,7 @@ class Nokogiri::XML::Text < ::Nokogiri::XML::CharacterData def content=(string); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(*_arg0); end end end @@ -7153,6 +7491,7 @@ end # source://nokogiri//lib/nokogiri/xml/xpath_context.rb#5 class Nokogiri::XML::XPathContext + # source://nokogiri//lib/nokogiri/extension.rb#7 def evaluate(*_arg0); end # Register namespaces in +namespaces+ @@ -7160,10 +7499,14 @@ class Nokogiri::XML::XPathContext # source://nokogiri//lib/nokogiri/xml/xpath_context.rb#8 def register_namespaces(namespaces); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def register_ns(_arg0, _arg1); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def register_variable(_arg0, _arg1); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def new(_arg0); end end end @@ -7244,6 +7587,7 @@ module Nokogiri::XSLT # source://nokogiri//lib/nokogiri/xslt.rb#100 def quote_params(params); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def register(_arg0, _arg1); end end end @@ -7292,10 +7636,14 @@ class Nokogiri::XSLT::Stylesheet # source://nokogiri//lib/nokogiri/xslt/stylesheet.rb#44 def apply_to(document, params = T.unsafe(nil)); end + # source://nokogiri//lib/nokogiri/extension.rb#7 def serialize(_arg0); end + + # source://nokogiri//lib/nokogiri/extension.rb#7 def transform(*_arg0); end class << self + # source://nokogiri//lib/nokogiri/extension.rb#7 def parse_stylesheet_doc(_arg0); end end end diff --git a/sorbet/rbi/gems/parser@3.3.4.0.rbi b/sorbet/rbi/gems/parser@3.3.4.0.rbi index e5a2bb425..7c2ede34b 100644 --- a/sorbet/rbi/gems/parser@3.3.4.0.rbi +++ b/sorbet/rbi/gems/parser@3.3.4.0.rbi @@ -38,7 +38,7 @@ class Parser::AST::Node < ::AST::Node # @api public # @return [Parser::Source::Map] # - # source://parser//lib/parser/ast/node.rb#18 + # source://parser//lib/parser/ast/node.rb#20 def loc; end # Source map for this Node. @@ -58,33 +58,33 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#179 def on_alias(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#222 def on_and(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#67 def on_and_asgn(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#122 def on_arg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#148 def on_arg_expr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#103 def on_args(node); end # @api public @@ -94,64 +94,64 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#22 def on_array(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#258 def on_array_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#259 def on_array_pattern_with_tail(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#42 def on_back_ref(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#240 def on_begin(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#195 def on_block(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#151 def on_block_pass(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#125 def on_blockarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#150 def on_blockarg_expr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#213 def on_break(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#228 def on_case(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#246 def on_case_match(node); end # @api public @@ -161,7 +161,7 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#157 def on_class(node); end # @api public @@ -171,24 +171,24 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#261 def on_const_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#181 + # source://parser//lib/parser/ast/processor.rb#190 def on_csend(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#41 def on_cvar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#65 def on_cvasgn(node); end # @api public @@ -198,7 +198,7 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#219 def on_defined?(node); end # @api public @@ -208,17 +208,17 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#16 def on_dstr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#17 def on_dsym(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#231 def on_eflipflop(node); end # @api public @@ -228,234 +228,234 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#238 def on_ensure(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#27 def on_erange(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#262 def on_find_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#210 def on_for(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#130 def on_forward_arg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#154 def on_forwarded_kwrestarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#153 def on_forwarded_restarg(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#40 def on_gvar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#64 def on_gvasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#24 def on_hash(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#260 def on_hash_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#225 def on_if(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#251 def on_if_guard(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#230 def on_iflipflop(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#247 def on_in_match(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#250 def on_in_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#192 def on_index(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#193 def on_indexasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#26 def on_irange(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#39 def on_ivar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#63 def on_ivasgn(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#127 def on_kwarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#25 def on_kwargs(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#241 def on_kwbegin(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#128 def on_kwoptarg(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#129 def on_kwrestarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#21 def on_kwsplat(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#196 def on_lambda(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#38 def on_lvar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#58 + # source://parser//lib/parser/ast/processor.rb#62 def on_lvasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#79 def on_masgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#256 def on_match_alt(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#257 def on_match_as(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#233 def on_match_current_line(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#248 def on_match_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#249 def on_match_pattern_p(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#254 def on_match_rest(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#253 def on_match_var(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#234 def on_match_with_lvasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#78 def on_mlhs(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#156 def on_module(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#214 def on_next(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#221 def on_not(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # source://parser//lib/parser/ast/processor.rb#43 def on_nth_ref(node); end # @api public @@ -471,37 +471,37 @@ class Parser::AST::Processor # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#123 def on_optarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#223 def on_or(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#68 def on_or_asgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#23 def on_pair(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#255 def on_pin(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#244 def on_postexe(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#243 def on_preexe(node); end # @api public @@ -511,48 +511,48 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#215 def on_redo(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#18 def on_regexp(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#236 def on_resbody(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#237 def on_rescue(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#124 def on_restarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#149 def on_restarg_expr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#216 def on_retry(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#212 def on_return(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#158 def on_sclass(node); end # @api public @@ -563,37 +563,37 @@ class Parser::AST::Processor # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # source://parser//lib/parser/ast/processor.rb#126 def on_shadowarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#20 def on_splat(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#217 def on_super(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#178 def on_undef(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#252 def on_unless_guard(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#208 def on_until(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#209 def on_until_post(node); end # @api public @@ -608,27 +608,27 @@ class Parser::AST::Processor # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#227 def on_when(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#206 def on_while(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#207 def on_while_post(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#19 def on_xstr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # source://parser//lib/parser/ast/processor.rb#218 def on_yield(node); end # @api public @@ -2630,7 +2630,7 @@ class Parser::Lexer::StackState # source://parser//lib/parser/lexer/stack_state.rb#38 def empty?; end - # source://parser//lib/parser/lexer/stack_state.rb#42 + # source://parser//lib/parser/lexer/stack_state.rb#46 def inspect; end # source://parser//lib/parser/lexer/stack_state.rb#29 @@ -3578,7 +3578,7 @@ class Parser::Source::Comment # @api public # @return [Parser::Source::Range] # - # source://parser//lib/parser/source/comment.rb#20 + # source://parser//lib/parser/source/comment.rb#21 def loc; end # @api public @@ -3802,7 +3802,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser//lib/parser/source/map.rb#99 + # source://parser//lib/parser/source/map.rb#103 def first_line; end # A shortcut for `self.expression.last_column`. @@ -4278,6 +4278,8 @@ class Parser::Source::Range def end_pos; end # @api public + # + # source://parser//lib/parser/source/range.rb#308 def eql?(_arg0); end # Line number of the beginning of this range. By default, the first line @@ -4287,7 +4289,7 @@ class Parser::Source::Range # @return [Integer] line number of the beginning of this range. # @see Buffer # - # source://parser//lib/parser/source/range.rb#83 + # source://parser//lib/parser/source/range.rb#87 def first_line; end # Support for Ranges be used in as Hash indices and in Sets. @@ -4343,7 +4345,7 @@ class Parser::Source::Range # @api public # @return [Integer] amount of characters included in this range. # - # source://parser//lib/parser/source/range.rb#70 + # source://parser//lib/parser/source/range.rb#74 def length; end # Line number of the beginning of this range. By default, the first line @@ -4782,7 +4784,7 @@ class Parser::Source::Rewriter::Action # source://parser//lib/parser/source/rewriter/action.rb#12 def allow_multiple_insertions; end - # source://parser//lib/parser/source/rewriter/action.rb#12 + # source://parser//lib/parser/source/rewriter/action.rb#13 def allow_multiple_insertions?; end # source://parser//lib/parser/source/rewriter/action.rb#12 diff --git a/sorbet/rbi/gems/prism@0.30.0.rbi b/sorbet/rbi/gems/prism@0.30.0.rbi index 9aec9c308..ac0a2df8c 100644 --- a/sorbet/rbi/gems/prism@0.30.0.rbi +++ b/sorbet/rbi/gems/prism@0.30.0.rbi @@ -238,7 +238,7 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#192 + # source://prism//lib/prism/node.rb#212 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -391,7 +391,7 @@ class Prism::AliasMethodNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#309 + # source://prism//lib/prism/node.rb#329 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -535,7 +535,7 @@ class Prism::AlternationPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#417 + # source://prism//lib/prism/node.rb#437 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -679,7 +679,7 @@ class Prism::AndNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#525 + # source://prism//lib/prism/node.rb#545 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -858,7 +858,7 @@ class Prism::ArgumentsNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#647 + # source://prism//lib/prism/node.rb#667 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -1028,7 +1028,7 @@ class Prism::ArrayNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#755 + # source://prism//lib/prism/node.rb#775 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -1225,7 +1225,7 @@ class Prism::ArrayPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#920 + # source://prism//lib/prism/node.rb#945 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -1375,7 +1375,7 @@ class Prism::AssocNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1068 + # source://prism//lib/prism/node.rb#1088 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -1535,7 +1535,7 @@ class Prism::AssocSplatNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1199 + # source://prism//lib/prism/node.rb#1221 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -1669,7 +1669,7 @@ class Prism::BackReferenceReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1309 + # source://prism//lib/prism/node.rb#1329 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -1846,7 +1846,7 @@ class Prism::BeginNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1409 + # source://prism//lib/prism/node.rb#1434 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -2003,7 +2003,7 @@ class Prism::BlockArgumentNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1554 + # source://prism//lib/prism/node.rb#1576 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -2126,7 +2126,7 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1659 + # source://prism//lib/prism/node.rb#1679 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -2290,7 +2290,7 @@ class Prism::BlockNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1762 + # source://prism//lib/prism/node.rb#1785 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -2437,7 +2437,7 @@ class Prism::BlockParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#1893 + # source://prism//lib/prism/node.rb#1913 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -2615,7 +2615,7 @@ class Prism::BlockParametersNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#2026 + # source://prism//lib/prism/node.rb#2049 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -2766,7 +2766,7 @@ class Prism::BreakNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#2162 + # source://prism//lib/prism/node.rb#2184 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -2931,7 +2931,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#2279 + # source://prism//lib/prism/node.rb#2302 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -3202,7 +3202,7 @@ class Prism::CallNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#2482 + # source://prism//lib/prism/node.rb#2506 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -3482,7 +3482,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#2705 + # source://prism//lib/prism/node.rb#2728 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -3712,7 +3712,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#2891 + # source://prism//lib/prism/node.rb#2914 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -3944,7 +3944,7 @@ class Prism::CallTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#3083 + # source://prism//lib/prism/node.rb#3103 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -4120,7 +4120,7 @@ class Prism::CapturePatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#3229 + # source://prism//lib/prism/node.rb#3249 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -4294,7 +4294,7 @@ class Prism::CaseMatchNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#3341 + # source://prism//lib/prism/node.rb#3365 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -4462,7 +4462,7 @@ class Prism::CaseNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#3475 + # source://prism//lib/prism/node.rb#3499 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -4634,7 +4634,7 @@ class Prism::ClassNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#3610 + # source://prism//lib/prism/node.rb#3634 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -4798,7 +4798,7 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#3768 + # source://prism//lib/prism/node.rb#3788 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -4967,7 +4967,7 @@ class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#3886 + # source://prism//lib/prism/node.rb#3906 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -5122,7 +5122,7 @@ class Prism::ClassVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4002 + # source://prism//lib/prism/node.rb#4022 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -5260,7 +5260,7 @@ class Prism::ClassVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4116 + # source://prism//lib/prism/node.rb#4136 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -5375,7 +5375,7 @@ class Prism::ClassVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4209 + # source://prism//lib/prism/node.rb#4229 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -5503,7 +5503,7 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4301 + # source://prism//lib/prism/node.rb#4321 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -5665,13 +5665,13 @@ class Prism::Compiler < ::Prism::Visitor # Visit the child nodes of the given node. # Compile a AliasGlobalVariableNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#44 def visit_alias_global_variable_node(node); end # Visit the child nodes of the given node. # Compile a AliasMethodNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#47 def visit_alias_method_node(node); end # Visit a list of nodes. @@ -5683,139 +5683,139 @@ class Prism::Compiler < ::Prism::Visitor # Visit the child nodes of the given node. # Compile a AlternationPatternNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#50 def visit_alternation_pattern_node(node); end # Visit the child nodes of the given node. # Compile a AndNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#53 def visit_and_node(node); end # Visit the child nodes of the given node. # Compile a ArgumentsNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#56 def visit_arguments_node(node); end # Visit the child nodes of the given node. # Compile a ArrayNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#59 def visit_array_node(node); end # Visit the child nodes of the given node. # Compile a ArrayPatternNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#62 def visit_array_pattern_node(node); end # Visit the child nodes of the given node. # Compile a AssocNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#65 def visit_assoc_node(node); end # Visit the child nodes of the given node. # Compile a AssocSplatNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#68 def visit_assoc_splat_node(node); end # Visit the child nodes of the given node. # Compile a BackReferenceReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#71 def visit_back_reference_read_node(node); end # Visit the child nodes of the given node. # Compile a BeginNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#74 def visit_begin_node(node); end # Visit the child nodes of the given node. # Compile a BlockArgumentNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#77 def visit_block_argument_node(node); end # Visit the child nodes of the given node. # Compile a BlockLocalVariableNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#80 def visit_block_local_variable_node(node); end # Visit the child nodes of the given node. # Compile a BlockNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#83 def visit_block_node(node); end # Visit the child nodes of the given node. # Compile a BlockParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#86 def visit_block_parameter_node(node); end # Visit the child nodes of the given node. # Compile a BlockParametersNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#89 def visit_block_parameters_node(node); end # Visit the child nodes of the given node. # Compile a BreakNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#92 def visit_break_node(node); end # Visit the child nodes of the given node. # Compile a CallAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#95 def visit_call_and_write_node(node); end # Visit the child nodes of the given node. # Compile a CallNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#98 def visit_call_node(node); end # Visit the child nodes of the given node. # Compile a CallOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#101 def visit_call_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a CallOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#104 def visit_call_or_write_node(node); end # Visit the child nodes of the given node. # Compile a CallTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#107 def visit_call_target_node(node); end # Visit the child nodes of the given node. # Compile a CapturePatternNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#110 def visit_capture_pattern_node(node); end # Visit the child nodes of the given node. # Compile a CaseMatchNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#113 def visit_case_match_node(node); end # Visit the child nodes of the given node. # Compile a CaseNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#116 def visit_case_node(node); end # Visit the child nodes of the given node. @@ -5827,757 +5827,757 @@ class Prism::Compiler < ::Prism::Visitor # Visit the child nodes of the given node. # Compile a ClassNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#119 def visit_class_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#122 def visit_class_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#125 def visit_class_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#128 def visit_class_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#131 def visit_class_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#134 def visit_class_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a ClassVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#137 def visit_class_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#140 def visit_constant_and_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#143 def visit_constant_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#146 def visit_constant_or_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#149 def visit_constant_path_and_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#152 def visit_constant_path_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#155 def visit_constant_path_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#158 def visit_constant_path_or_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#161 def visit_constant_path_target_node(node); end # Visit the child nodes of the given node. # Compile a ConstantPathWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#164 def visit_constant_path_write_node(node); end # Visit the child nodes of the given node. # Compile a ConstantReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#167 def visit_constant_read_node(node); end # Visit the child nodes of the given node. # Compile a ConstantTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#170 def visit_constant_target_node(node); end # Visit the child nodes of the given node. # Compile a ConstantWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#173 def visit_constant_write_node(node); end # Visit the child nodes of the given node. # Compile a DefNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#176 def visit_def_node(node); end # Visit the child nodes of the given node. # Compile a DefinedNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#179 def visit_defined_node(node); end # Visit the child nodes of the given node. # Compile a ElseNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#182 def visit_else_node(node); end # Visit the child nodes of the given node. # Compile a EmbeddedStatementsNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#185 def visit_embedded_statements_node(node); end # Visit the child nodes of the given node. # Compile a EmbeddedVariableNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#188 def visit_embedded_variable_node(node); end # Visit the child nodes of the given node. # Compile a EnsureNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#191 def visit_ensure_node(node); end # Visit the child nodes of the given node. # Compile a FalseNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#194 def visit_false_node(node); end # Visit the child nodes of the given node. # Compile a FindPatternNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#197 def visit_find_pattern_node(node); end # Visit the child nodes of the given node. # Compile a FlipFlopNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#200 def visit_flip_flop_node(node); end # Visit the child nodes of the given node. # Compile a FloatNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#203 def visit_float_node(node); end # Visit the child nodes of the given node. # Compile a ForNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#206 def visit_for_node(node); end # Visit the child nodes of the given node. # Compile a ForwardingArgumentsNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#209 def visit_forwarding_arguments_node(node); end # Visit the child nodes of the given node. # Compile a ForwardingParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#212 def visit_forwarding_parameter_node(node); end # Visit the child nodes of the given node. # Compile a ForwardingSuperNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#215 def visit_forwarding_super_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#218 def visit_global_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#221 def visit_global_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#224 def visit_global_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#227 def visit_global_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#230 def visit_global_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a GlobalVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#233 def visit_global_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a HashNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#236 def visit_hash_node(node); end # Visit the child nodes of the given node. # Compile a HashPatternNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#239 def visit_hash_pattern_node(node); end # Visit the child nodes of the given node. # Compile a IfNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#242 def visit_if_node(node); end # Visit the child nodes of the given node. # Compile a ImaginaryNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#245 def visit_imaginary_node(node); end # Visit the child nodes of the given node. # Compile a ImplicitNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#248 def visit_implicit_node(node); end # Visit the child nodes of the given node. # Compile a ImplicitRestNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#251 def visit_implicit_rest_node(node); end # Visit the child nodes of the given node. # Compile a InNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#254 def visit_in_node(node); end # Visit the child nodes of the given node. # Compile a IndexAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#257 def visit_index_and_write_node(node); end # Visit the child nodes of the given node. # Compile a IndexOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#260 def visit_index_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a IndexOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#263 def visit_index_or_write_node(node); end # Visit the child nodes of the given node. # Compile a IndexTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#266 def visit_index_target_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#269 def visit_instance_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#272 def visit_instance_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#275 def visit_instance_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#278 def visit_instance_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#281 def visit_instance_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a InstanceVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#284 def visit_instance_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a IntegerNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#287 def visit_integer_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedMatchLastLineNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#290 def visit_interpolated_match_last_line_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedRegularExpressionNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#293 def visit_interpolated_regular_expression_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedStringNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#296 def visit_interpolated_string_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedSymbolNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#299 def visit_interpolated_symbol_node(node); end # Visit the child nodes of the given node. # Compile a InterpolatedXStringNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#302 def visit_interpolated_x_string_node(node); end # Visit the child nodes of the given node. # Compile a ItLocalVariableReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#305 def visit_it_local_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a ItParametersNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#308 def visit_it_parameters_node(node); end # Visit the child nodes of the given node. # Compile a KeywordHashNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#311 def visit_keyword_hash_node(node); end # Visit the child nodes of the given node. # Compile a KeywordRestParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#314 def visit_keyword_rest_parameter_node(node); end # Visit the child nodes of the given node. # Compile a LambdaNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#317 def visit_lambda_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#320 def visit_local_variable_and_write_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#323 def visit_local_variable_operator_write_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#326 def visit_local_variable_or_write_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#329 def visit_local_variable_read_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#332 def visit_local_variable_target_node(node); end # Visit the child nodes of the given node. # Compile a LocalVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#335 def visit_local_variable_write_node(node); end # Visit the child nodes of the given node. # Compile a MatchLastLineNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#338 def visit_match_last_line_node(node); end # Visit the child nodes of the given node. # Compile a MatchPredicateNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#341 def visit_match_predicate_node(node); end # Visit the child nodes of the given node. # Compile a MatchRequiredNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#344 def visit_match_required_node(node); end # Visit the child nodes of the given node. # Compile a MatchWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#347 def visit_match_write_node(node); end # Visit the child nodes of the given node. # Compile a MissingNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#350 def visit_missing_node(node); end # Visit the child nodes of the given node. # Compile a ModuleNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#353 def visit_module_node(node); end # Visit the child nodes of the given node. # Compile a MultiTargetNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#356 def visit_multi_target_node(node); end # Visit the child nodes of the given node. # Compile a MultiWriteNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#359 def visit_multi_write_node(node); end # Visit the child nodes of the given node. # Compile a NextNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#362 def visit_next_node(node); end # Visit the child nodes of the given node. # Compile a NilNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#365 def visit_nil_node(node); end # Visit the child nodes of the given node. # Compile a NoKeywordsParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#368 def visit_no_keywords_parameter_node(node); end # Visit the child nodes of the given node. # Compile a NumberedParametersNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#371 def visit_numbered_parameters_node(node); end # Visit the child nodes of the given node. # Compile a NumberedReferenceReadNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#374 def visit_numbered_reference_read_node(node); end # Visit the child nodes of the given node. # Compile a OptionalKeywordParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#377 def visit_optional_keyword_parameter_node(node); end # Visit the child nodes of the given node. # Compile a OptionalParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#380 def visit_optional_parameter_node(node); end # Visit the child nodes of the given node. # Compile a OrNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#383 def visit_or_node(node); end # Visit the child nodes of the given node. # Compile a ParametersNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#386 def visit_parameters_node(node); end # Visit the child nodes of the given node. # Compile a ParenthesesNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#389 def visit_parentheses_node(node); end # Visit the child nodes of the given node. # Compile a PinnedExpressionNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#392 def visit_pinned_expression_node(node); end # Visit the child nodes of the given node. # Compile a PinnedVariableNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#395 def visit_pinned_variable_node(node); end # Visit the child nodes of the given node. # Compile a PostExecutionNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#398 def visit_post_execution_node(node); end # Visit the child nodes of the given node. # Compile a PreExecutionNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#401 def visit_pre_execution_node(node); end # Visit the child nodes of the given node. # Compile a ProgramNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#404 def visit_program_node(node); end # Visit the child nodes of the given node. # Compile a RangeNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#407 def visit_range_node(node); end # Visit the child nodes of the given node. # Compile a RationalNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#410 def visit_rational_node(node); end # Visit the child nodes of the given node. # Compile a RedoNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#413 def visit_redo_node(node); end # Visit the child nodes of the given node. # Compile a RegularExpressionNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#416 def visit_regular_expression_node(node); end # Visit the child nodes of the given node. # Compile a RequiredKeywordParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#419 def visit_required_keyword_parameter_node(node); end # Visit the child nodes of the given node. # Compile a RequiredParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#422 def visit_required_parameter_node(node); end # Visit the child nodes of the given node. # Compile a RescueModifierNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#425 def visit_rescue_modifier_node(node); end # Visit the child nodes of the given node. # Compile a RescueNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#428 def visit_rescue_node(node); end # Visit the child nodes of the given node. # Compile a RestParameterNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#431 def visit_rest_parameter_node(node); end # Visit the child nodes of the given node. # Compile a RetryNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#434 def visit_retry_node(node); end # Visit the child nodes of the given node. # Compile a ReturnNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#437 def visit_return_node(node); end # Visit the child nodes of the given node. # Compile a SelfNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#440 def visit_self_node(node); end # Visit the child nodes of the given node. # Compile a ShareableConstantNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#443 def visit_shareable_constant_node(node); end # Visit the child nodes of the given node. # Compile a SingletonClassNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#446 def visit_singleton_class_node(node); end # Visit the child nodes of the given node. # Compile a SourceEncodingNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#449 def visit_source_encoding_node(node); end # Visit the child nodes of the given node. # Compile a SourceFileNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#452 def visit_source_file_node(node); end # Visit the child nodes of the given node. # Compile a SourceLineNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#455 def visit_source_line_node(node); end # Visit the child nodes of the given node. # Compile a SplatNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#458 def visit_splat_node(node); end # Visit the child nodes of the given node. # Compile a StatementsNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#461 def visit_statements_node(node); end # Visit the child nodes of the given node. # Compile a StringNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#464 def visit_string_node(node); end # Visit the child nodes of the given node. # Compile a SuperNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#467 def visit_super_node(node); end # Visit the child nodes of the given node. # Compile a SymbolNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#470 def visit_symbol_node(node); end # Visit the child nodes of the given node. # Compile a TrueNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#473 def visit_true_node(node); end # Visit the child nodes of the given node. # Compile a UndefNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#476 def visit_undef_node(node); end # Visit the child nodes of the given node. # Compile a UnlessNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#479 def visit_unless_node(node); end # Visit the child nodes of the given node. # Compile a UntilNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#482 def visit_until_node(node); end # Visit the child nodes of the given node. # Compile a WhenNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#485 def visit_when_node(node); end # Visit the child nodes of the given node. # Compile a WhileNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#488 def visit_while_node(node); end # Visit the child nodes of the given node. # Compile a XStringNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#491 def visit_x_string_node(node); end # Visit the child nodes of the given node. # Compile a YieldNode node # - # source://prism//lib/prism/compiler.rb#39 + # source://prism//lib/prism/compiler.rb#494 def visit_yield_node(node); end end @@ -6652,7 +6652,7 @@ class Prism::ConstantAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4434 + # source://prism//lib/prism/node.rb#4454 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -6821,7 +6821,7 @@ class Prism::ConstantOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4552 + # source://prism//lib/prism/node.rb#4572 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -6976,7 +6976,7 @@ class Prism::ConstantOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4668 + # source://prism//lib/prism/node.rb#4688 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -7129,7 +7129,7 @@ class Prism::ConstantPathAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4784 + # source://prism//lib/prism/node.rb#4804 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -7282,7 +7282,7 @@ class Prism::ConstantPathNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#4893 + # source://prism//lib/prism/node.rb#4915 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -7497,7 +7497,7 @@ class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5033 + # source://prism//lib/prism/node.rb#5053 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -7641,7 +7641,7 @@ class Prism::ConstantPathOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5140 + # source://prism//lib/prism/node.rb#5160 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -7794,7 +7794,7 @@ class Prism::ConstantPathTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5249 + # source://prism//lib/prism/node.rb#5271 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -7963,7 +7963,7 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5373 + # source://prism//lib/prism/node.rb#5393 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -8104,7 +8104,7 @@ class Prism::ConstantReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5491 + # source://prism//lib/prism/node.rb#5511 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -8232,7 +8232,7 @@ class Prism::ConstantTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5584 + # source://prism//lib/prism/node.rb#5604 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -8373,7 +8373,7 @@ class Prism::ConstantWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5676 + # source://prism//lib/prism/node.rb#5696 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -9375,7 +9375,7 @@ class Prism::DefNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#5818 + # source://prism//lib/prism/node.rb#5842 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -9599,7 +9599,7 @@ class Prism::DefinedNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6047 + # source://prism//lib/prism/node.rb#6067 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -12748,7 +12748,7 @@ class Prism::ElseNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6189 + # source://prism//lib/prism/node.rb#6211 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -12930,7 +12930,7 @@ class Prism::EmbeddedStatementsNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6314 + # source://prism//lib/prism/node.rb#6336 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -13066,7 +13066,7 @@ class Prism::EmbeddedVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6432 + # source://prism//lib/prism/node.rb#6452 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -13223,7 +13223,7 @@ class Prism::EnsureNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6540 + # source://prism//lib/prism/node.rb#6562 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -13358,7 +13358,7 @@ class Prism::FalseNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6656 + # source://prism//lib/prism/node.rb#6676 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -13508,7 +13508,7 @@ class Prism::FindPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6752 + # source://prism//lib/prism/node.rb#6777 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -13660,7 +13660,7 @@ class Prism::FlipFlopNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#6900 + # source://prism//lib/prism/node.rb#6923 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -13805,7 +13805,7 @@ class Prism::FloatNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7019 + # source://prism//lib/prism/node.rb#7039 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -13948,7 +13948,7 @@ class Prism::ForNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7114 + # source://prism//lib/prism/node.rb#7138 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -14135,7 +14135,7 @@ class Prism::ForwardingArgumentsNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7297 + # source://prism//lib/prism/node.rb#7317 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -14241,7 +14241,7 @@ class Prism::ForwardingParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7382 + # source://prism//lib/prism/node.rb#7402 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -14352,7 +14352,7 @@ class Prism::ForwardingSuperNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7467 + # source://prism//lib/prism/node.rb#7489 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -14474,7 +14474,7 @@ class Prism::GlobalVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7561 + # source://prism//lib/prism/node.rb#7581 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -14643,7 +14643,7 @@ class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7679 + # source://prism//lib/prism/node.rb#7699 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -14798,7 +14798,7 @@ class Prism::GlobalVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7795 + # source://prism//lib/prism/node.rb#7815 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -14936,7 +14936,7 @@ class Prism::GlobalVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#7909 + # source://prism//lib/prism/node.rb#7929 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -15051,7 +15051,7 @@ class Prism::GlobalVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8002 + # source://prism//lib/prism/node.rb#8022 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -15179,7 +15179,7 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8094 + # source://prism//lib/prism/node.rb#8114 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -15360,7 +15360,7 @@ class Prism::HashNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8226 + # source://prism//lib/prism/node.rb#8246 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -15532,7 +15532,7 @@ class Prism::HashPatternNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8361 + # source://prism//lib/prism/node.rb#8385 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -15716,7 +15716,7 @@ class Prism::IfNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8512 + # source://prism//lib/prism/node.rb#8536 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -15917,7 +15917,7 @@ class Prism::ImaginaryNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8716 + # source://prism//lib/prism/node.rb#8736 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -16040,7 +16040,7 @@ class Prism::ImplicitNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8811 + # source://prism//lib/prism/node.rb#8831 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -16160,7 +16160,7 @@ class Prism::ImplicitRestNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8908 + # source://prism//lib/prism/node.rb#8928 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -16282,7 +16282,7 @@ class Prism::InNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#8996 + # source://prism//lib/prism/node.rb#9019 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -16494,7 +16494,7 @@ class Prism::IndexAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#9132 + # source://prism//lib/prism/node.rb#9157 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -16752,7 +16752,7 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#9330 + # source://prism//lib/prism/node.rb#9355 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -16996,7 +16996,7 @@ class Prism::IndexOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#9526 + # source://prism//lib/prism/node.rb#9551 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -17230,7 +17230,7 @@ class Prism::IndexTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#9728 + # source://prism//lib/prism/node.rb#9752 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -18245,7 +18245,7 @@ class Prism::InstanceVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#9883 + # source://prism//lib/prism/node.rb#9903 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -18414,7 +18414,7 @@ class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10001 + # source://prism//lib/prism/node.rb#10021 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -18569,7 +18569,7 @@ class Prism::InstanceVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10117 + # source://prism//lib/prism/node.rb#10137 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -18707,7 +18707,7 @@ class Prism::InstanceVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10231 + # source://prism//lib/prism/node.rb#10251 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -18822,7 +18822,7 @@ class Prism::InstanceVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10324 + # source://prism//lib/prism/node.rb#10344 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -18950,7 +18950,7 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10416 + # source://prism//lib/prism/node.rb#10436 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -19142,7 +19142,7 @@ class Prism::IntegerNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10547 + # source://prism//lib/prism/node.rb#10567 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -19316,7 +19316,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10664 + # source://prism//lib/prism/node.rb#10684 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -19572,7 +19572,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#10843 + # source://prism//lib/prism/node.rb#10863 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -19820,7 +19820,7 @@ class Prism::InterpolatedStringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11022 + # source://prism//lib/prism/node.rb#11042 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -20013,7 +20013,7 @@ class Prism::InterpolatedSymbolNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11167 + # source://prism//lib/prism/node.rb#11187 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -20168,7 +20168,7 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11297 + # source://prism//lib/prism/node.rb#11317 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -20297,7 +20297,7 @@ class Prism::ItLocalVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11412 + # source://prism//lib/prism/node.rb#11432 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -20402,7 +20402,7 @@ class Prism::ItParametersNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11496 + # source://prism//lib/prism/node.rb#11516 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -20520,7 +20520,7 @@ class Prism::KeywordHashNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11582 + # source://prism//lib/prism/node.rb#11602 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -20675,7 +20675,7 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11686 + # source://prism//lib/prism/node.rb#11706 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -20859,7 +20859,7 @@ class Prism::LambdaNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11817 + # source://prism//lib/prism/node.rb#11840 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -21325,7 +21325,7 @@ class Prism::LocalVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#11961 + # source://prism//lib/prism/node.rb#11981 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -21502,7 +21502,7 @@ class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12084 + # source://prism//lib/prism/node.rb#12104 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -21665,7 +21665,7 @@ class Prism::LocalVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12205 + # source://prism//lib/prism/node.rb#12225 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -21809,7 +21809,7 @@ class Prism::LocalVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12324 + # source://prism//lib/prism/node.rb#12344 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -21940,7 +21940,7 @@ class Prism::LocalVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12432 + # source://prism//lib/prism/node.rb#12452 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -22076,7 +22076,7 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12529 + # source://prism//lib/prism/node.rb#12549 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -22587,7 +22587,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12677 + # source://prism//lib/prism/node.rb#12697 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -22816,7 +22816,7 @@ class Prism::MatchPredicateNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12867 + # source://prism//lib/prism/node.rb#12887 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -22960,7 +22960,7 @@ class Prism::MatchRequiredNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#12975 + # source://prism//lib/prism/node.rb#12995 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -23108,7 +23108,7 @@ class Prism::MatchWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13082 + # source://prism//lib/prism/node.rb#13102 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -23216,7 +23216,7 @@ class Prism::MissingNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13172 + # source://prism//lib/prism/node.rb#13192 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -23354,7 +23354,7 @@ class Prism::ModuleNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13262 + # source://prism//lib/prism/node.rb#13285 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -23514,7 +23514,7 @@ class Prism::MultiTargetNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13397 + # source://prism//lib/prism/node.rb#13421 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -23688,7 +23688,7 @@ class Prism::MultiWriteNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13544 + # source://prism//lib/prism/node.rb#13569 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -24638,7 +24638,7 @@ class Prism::NextNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13704 + # source://prism//lib/prism/node.rb#13726 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -24755,7 +24755,7 @@ class Prism::NilNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13807 + # source://prism//lib/prism/node.rb#13827 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -24874,7 +24874,7 @@ class Prism::NoKeywordsParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#13894 + # source://prism//lib/prism/node.rb#13914 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -24996,7 +24996,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#137 + # source://prism//lib/prism/node.rb#141 sig { abstract.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -25047,7 +25047,7 @@ class Prism::Node # An alias for source_lines, used to mimic the API from # RubyVM::AbstractSyntaxTree to make it easier to migrate. # - # source://prism//lib/prism/node.rb#40 + # source://prism//lib/prism/node.rb#46 sig { returns(T::Array[String]) } def script_lines; end @@ -25185,7 +25185,7 @@ class Prism::NumberedParametersNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14005 + # source://prism//lib/prism/node.rb#14025 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -25296,7 +25296,7 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14094 + # source://prism//lib/prism/node.rb#14114 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -25431,7 +25431,7 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14193 + # source://prism//lib/prism/node.rb#14213 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -25590,7 +25590,7 @@ class Prism::OptionalParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14309 + # source://prism//lib/prism/node.rb#14329 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -25756,7 +25756,7 @@ class Prism::OrNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14435 + # source://prism//lib/prism/node.rb#14455 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -26182,7 +26182,7 @@ class Prism::ParametersNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14563 + # source://prism//lib/prism/node.rb#14591 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -26366,7 +26366,7 @@ class Prism::ParenthesesNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14690 + # source://prism//lib/prism/node.rb#14712 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -26713,7 +26713,7 @@ class Prism::ParseResult::Newlines < ::Prism::Visitor # Permit block/lambda nodes to mark newlines within themselves. # - # source://prism//lib/prism/parse_result/newlines.rb#33 + # source://prism//lib/prism/parse_result/newlines.rb#44 def visit_lambda_node(node); end # Permit statements lists to mark newlines within themselves. @@ -26723,7 +26723,7 @@ class Prism::ParseResult::Newlines < ::Prism::Visitor # Mark if/unless nodes as newlines. # - # source://prism//lib/prism/parse_result/newlines.rb#47 + # source://prism//lib/prism/parse_result/newlines.rb#52 def visit_unless_node(node); end end @@ -27009,7 +27009,7 @@ class Prism::PinnedExpressionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14810 + # source://prism//lib/prism/node.rb#14830 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -27169,7 +27169,7 @@ class Prism::PinnedVariableNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#14939 + # source://prism//lib/prism/node.rb#14959 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -27321,7 +27321,7 @@ class Prism::PostExecutionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15044 + # source://prism//lib/prism/node.rb#15066 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -27485,7 +27485,7 @@ class Prism::PreExecutionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15177 + # source://prism//lib/prism/node.rb#15199 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -27630,7 +27630,7 @@ class Prism::ProgramNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15305 + # source://prism//lib/prism/node.rb#15325 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -27777,7 +27777,7 @@ class Prism::RangeNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15405 + # source://prism//lib/prism/node.rb#15428 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -27966,7 +27966,7 @@ class Prism::RationalNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15539 + # source://prism//lib/prism/node.rb#15559 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -28123,7 +28123,7 @@ class Prism::RedoNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15660 + # source://prism//lib/prism/node.rb#15680 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -28471,7 +28471,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15749 + # source://prism//lib/prism/node.rb#15769 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -28710,7 +28710,7 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#15940 + # source://prism//lib/prism/node.rb#15960 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -28844,7 +28844,7 @@ class Prism::RequiredParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16049 + # source://prism//lib/prism/node.rb#16069 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -28986,7 +28986,7 @@ class Prism::RescueModifierNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16150 + # source://prism//lib/prism/node.rb#16170 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -29150,7 +29150,7 @@ class Prism::RescueNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16266 + # source://prism//lib/prism/node.rb#16291 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -29315,7 +29315,7 @@ class Prism::RestParameterNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16409 + # source://prism//lib/prism/node.rb#16429 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -29552,7 +29552,7 @@ class Prism::RetryNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16534 + # source://prism//lib/prism/node.rb#16554 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -29678,7 +29678,7 @@ class Prism::ReturnNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16621 + # source://prism//lib/prism/node.rb#16643 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -29821,7 +29821,7 @@ class Prism::SelfNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16734 + # source://prism//lib/prism/node.rb#16754 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -30125,7 +30125,7 @@ class Prism::ShareableConstantNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16821 + # source://prism//lib/prism/node.rb#16841 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -30329,7 +30329,7 @@ class Prism::SingletonClassNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#16935 + # source://prism//lib/prism/node.rb#16958 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -30597,7 +30597,7 @@ class Prism::SourceEncodingNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17074 + # source://prism//lib/prism/node.rb#17094 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -30702,7 +30702,7 @@ class Prism::SourceFileNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17160 + # source://prism//lib/prism/node.rb#17180 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -30853,7 +30853,7 @@ class Prism::SourceLineNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17273 + # source://prism//lib/prism/node.rb#17293 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -30971,7 +30971,7 @@ class Prism::SplatNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17359 + # source://prism//lib/prism/node.rb#17381 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -31100,7 +31100,7 @@ class Prism::StatementsNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17463 + # source://prism//lib/prism/node.rb#17483 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -31277,7 +31277,7 @@ class Prism::StringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17563 + # source://prism//lib/prism/node.rb#17583 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -31484,7 +31484,7 @@ class Prism::SuperNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17735 + # source://prism//lib/prism/node.rb#17758 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -31679,7 +31679,7 @@ class Prism::SymbolNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#17889 + # source://prism//lib/prism/node.rb#17909 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -32379,7 +32379,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if foo .. bar; end # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1475 + # source://prism//lib/prism/translation/parser/compiler.rb#1493 def visit_flip_flop_node(node); end # 1.0 @@ -32569,7 +32569,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if /foo #{bar}/ then end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1064 + # source://prism//lib/prism/translation/parser/compiler.rb#1075 def visit_interpolated_match_last_line_node(node); end # /foo #{bar}/ @@ -32670,7 +32670,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if /foo/ then end # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1509 + # source://prism//lib/prism/translation/parser/compiler.rb#1531 def visit_match_last_line_node(node); end # foo in bar @@ -34318,574 +34318,574 @@ class Prism::Translation::Ripper < ::Prism::Compiler # source://prism//lib/prism/translation/ripper.rb#3432 def dedent_string(string, width); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_BEGIN(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_CHAR(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_END(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on___end__(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_alias(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_alias_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_aref(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_aref_field(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_arg_ambiguous(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_arg_paren(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_args_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_args_add_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_args_add_star(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_args_forward; end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_args_new; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_array(_); end - # source://prism//lib/prism/translation/ripper.rb#3393 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_aryptn(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_assign(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_assign_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_assoc_new(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_assoc_splat(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_assoclist_from_args(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_backref(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_backtick(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_bare_assoc_hash(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_begin(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_binary(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_block_var(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_blockarg(_); end - # source://prism//lib/prism/translation/ripper.rb#3393 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_bodystmt(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_brace_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_break(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_call(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_case(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_class(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_class_name_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_comma(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_command(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3393 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_command_call(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_comment(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_const(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_const_path_field(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_const_path_ref(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_const_ref(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_cvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_def(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_defined(_); end - # source://prism//lib/prism/translation/ripper.rb#3394 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_defs(_, _, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_do_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_dot2(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_dot3(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_dyna_symbol(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_else(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_elsif(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_embdoc(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_embdoc_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_embdoc_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_embexpr_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_embexpr_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_embvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_ensure(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_excessed_comma; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_fcall(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_field(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_float(_); end - # source://prism//lib/prism/translation/ripper.rb#3393 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_fndptn(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_for(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_gvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_hash(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_heredoc_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_heredoc_dedent(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_heredoc_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_hshptn(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_ident(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_if(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_if_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_ifop(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_ignored_nl(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_ignored_sp(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_imaginary(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_in(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_int(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_ivar(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_kw(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_kwrest_param(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_label(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_label_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_lambda(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_lbrace(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_lbracket(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_lparen(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_magic_comment(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_massign(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_method_add_arg(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_method_add_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mlhs_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mlhs_add_post(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mlhs_add_star(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mlhs_new; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mlhs_paren(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_module(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mrhs_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mrhs_add_star(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mrhs_new; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_mrhs_new_from_args(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_next(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_nl(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_nokw_param(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_op(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_opassign(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_operator_ambiguous(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_param_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3395 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_params(_, _, _, _, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_paren(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_parse_error(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_period(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_program(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_qsymbols_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_qsymbols_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_qsymbols_new; end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_qwords_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_qwords_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_qwords_new; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_rational(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_rbrace(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_rbracket(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_redo; end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_regexp_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_regexp_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_regexp_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_regexp_literal(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_regexp_new; end - # source://prism//lib/prism/translation/ripper.rb#3393 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_rescue(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_rescue_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_rest_param(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_retry; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_return(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_return0; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_rparen(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_sclass(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_semicolon(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_sp(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_stmts_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_stmts_new; end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_string_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_string_concat(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_string_content; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_string_dvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_string_embexpr(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_string_literal(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_super(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_symbeg(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_symbol(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_symbol_literal(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_symbols_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_symbols_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_symbols_new; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_tlambda(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_tlambeg(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_top_const_field(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_top_const_ref(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_tstring_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_tstring_content(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_tstring_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_unary(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_undef(_); end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_unless(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_unless_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_until(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_until_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_var_alias(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_var_field(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_var_ref(_); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_vcall(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_void_stmt; end - # source://prism//lib/prism/translation/ripper.rb#3392 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_when(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_while(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_while_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_word_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_word_new; end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_words_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_words_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_words_new; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3425 def on_words_sep(_); end - # source://prism//lib/prism/translation/ripper.rb#3391 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_xstring_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_xstring_literal(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_xstring_new; end - # source://prism//lib/prism/translation/ripper.rb#3390 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_yield(_); end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_yield0; end - # source://prism//lib/prism/translation/ripper.rb#3389 + # source://prism//lib/prism/translation/ripper.rb#3403 def on_zsuper; end # Lazily initialize the parse result. @@ -35156,573 +35156,573 @@ class Prism::Translation::Ripper::SexpBuilder < ::Prism::Translation::Ripper # source://prism//lib/prism/translation/ripper/sexp.rb#13 def error; end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_BEGIN(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_CHAR(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_END(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on___end__(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_alias(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_alias_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_aref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_aref_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_arg_ambiguous(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_arg_paren(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_add_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_add_star(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_forward(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_args_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_array(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_aryptn(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assign(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assign_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assoc_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assoc_splat(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_assoclist_from_args(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_backref(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_backtick(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_bare_assoc_hash(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_begin(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_binary(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_block_var(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_blockarg(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_bodystmt(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_brace_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_break(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_call(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_case(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_class(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_class_name_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_comma(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_command(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_command_call(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_comment(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_const(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_const_path_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_const_path_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_const_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_cvar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_def(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_defined(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_defs(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_do_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_dot2(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_dot3(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_dyna_symbol(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_else(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_elsif(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embdoc(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embdoc_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embdoc_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embexpr_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embexpr_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_embvar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_ensure(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_excessed_comma(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_fcall(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_float(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_fndptn(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_for(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_gvar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_hash(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_heredoc_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_heredoc_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_hshptn(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ident(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_if(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_if_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_ifop(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ignored_nl(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ignored_sp(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_imaginary(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_in(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_int(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_ivar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_kw(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_kwrest_param(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_label(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_label_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_lambda(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_lbrace(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_lbracket(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_lparen(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_magic_comment(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_massign(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_method_add_arg(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_method_add_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_add_post(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_add_star(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mlhs_paren(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_module(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_add_star(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_mrhs_new_from_args(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_next(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_nl(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_nokw_param(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_op(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_opassign(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_operator_ambiguous(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_param_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_params(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_paren(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_period(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_program(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qsymbols_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_qsymbols_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qsymbols_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qwords_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_qwords_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_qwords_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rational(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rbrace(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rbracket(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_redo(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_regexp_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_regexp_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_regexp_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_regexp_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_regexp_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_rescue(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_rescue_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_rest_param(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_retry(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_return(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_return0(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_rparen(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_sclass(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_semicolon(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_sp(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_stmts_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_stmts_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_concat(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_content(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_dvar(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_embexpr(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_string_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_super(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_symbeg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbol(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbol_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbols_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_symbols_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_symbols_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tlambda(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tlambeg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_top_const_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_top_const_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tstring_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tstring_content(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_tstring_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_unary(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_undef(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_unless(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_unless_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_until(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_until_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_var_alias(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_var_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_var_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_vcall(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_void_stmt(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_when(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_while(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_while_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_word_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_word_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_words_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_words_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_words_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # source://prism//lib/prism/translation/ripper/sexp.rb#54 def on_words_sep(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_xstring_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_xstring_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_xstring_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_yield(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_yield0(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # source://prism//lib/prism/translation/ripper/sexp.rb#46 def on_zsuper(*args); end private - # source://prism//lib/prism/translation/ripper/sexp.rb#61 + # source://prism//lib/prism/translation/ripper/sexp.rb#66 def compile_error(mesg); end # source://prism//lib/prism/translation/ripper/sexp.rb#17 @@ -35734,7 +35734,7 @@ class Prism::Translation::Ripper::SexpBuilder < ::Prism::Translation::Ripper # source://prism//lib/prism/translation/ripper/sexp.rb#24 def on_heredoc_dedent(val, width); end - # source://prism//lib/prism/translation/ripper/sexp.rb#61 + # source://prism//lib/prism/translation/ripper/sexp.rb#65 def on_parse_error(mesg); end end @@ -35752,16 +35752,16 @@ class Prism::Translation::Ripper::SexpBuilderPP < ::Prism::Translation::Ripper:: # source://prism//lib/prism/translation/ripper/sexp.rb#96 def _dispatch_event_push(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_args_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_args_new; end # source://prism//lib/prism/translation/ripper/sexp.rb#79 def on_heredoc_dedent(val, width); end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_mlhs_add(list, item); end # source://prism//lib/prism/translation/ripper/sexp.rb#109 @@ -35770,67 +35770,67 @@ class Prism::Translation::Ripper::SexpBuilderPP < ::Prism::Translation::Ripper:: # source://prism//lib/prism/translation/ripper/sexp.rb#105 def on_mlhs_add_star(list, star); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_mlhs_new; end # source://prism//lib/prism/translation/ripper/sexp.rb#101 def on_mlhs_paren(list); end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_mrhs_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_mrhs_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_qsymbols_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_qsymbols_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_qwords_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_qwords_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_regexp_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_regexp_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_stmts_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_stmts_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_string_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_symbols_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_symbols_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_word_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_word_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_words_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_words_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#96 + # source://prism//lib/prism/translation/ripper/sexp.rb#117 def on_xstring_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#92 + # source://prism//lib/prism/translation/ripper/sexp.rb#115 def on_xstring_new; end end @@ -36992,7 +36992,7 @@ class Prism::TrueNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#18054 + # source://prism//lib/prism/node.rb#18074 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -37110,7 +37110,7 @@ class Prism::UndefNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#18140 + # source://prism//lib/prism/node.rb#18160 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -37266,7 +37266,7 @@ class Prism::UnlessNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#18251 + # source://prism//lib/prism/node.rb#18275 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -37486,7 +37486,7 @@ class Prism::UntilNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#18435 + # source://prism//lib/prism/node.rb#18458 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -38582,7 +38582,7 @@ class Prism::WhenNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#18578 + # source://prism//lib/prism/node.rb#18601 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -38759,7 +38759,7 @@ class Prism::WhileNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#18714 + # source://prism//lib/prism/node.rb#18737 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -38944,7 +38944,7 @@ class Prism::XStringNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#18856 + # source://prism//lib/prism/node.rb#18876 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end @@ -39124,7 +39124,7 @@ class Prism::YieldNode < ::Prism::Node # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://prism//lib/prism/node.rb#19002 + # source://prism//lib/prism/node.rb#19024 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end diff --git a/sorbet/rbi/gems/psych@5.1.2.rbi b/sorbet/rbi/gems/psych@5.1.2.rbi index f3d4c029a..4340d67c7 100644 --- a/sorbet/rbi/gems/psych@5.1.2.rbi +++ b/sorbet/rbi/gems/psych@5.1.2.rbi @@ -633,46 +633,46 @@ class Psych::ClassLoader # source://psych//psych/class_loader.rb#21 def initialize; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def big_decimal; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def complex; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def date; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def date_time; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def exception; end # source://psych//psych/class_loader.rb#25 def load(klassname); end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def object; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def psych_omap; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def psych_set; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def range; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def rational; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def regexp; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def struct; end - # source://psych//psych/class_loader.rb#39 + # source://psych//psych/class_loader.rb#38 def symbol; end # source://psych//psych/class_loader.rb#31 @@ -719,7 +719,7 @@ class Psych::Coder # source://psych//psych/coder.rb#78 def []=(k, v); end - # source://psych//psych/coder.rb#78 + # source://psych//psych/coder.rb#82 def add(k, v); end # Returns the value of attribute implicit. @@ -1331,10 +1331,10 @@ class Psych::TreeBuilder < ::Psych::Handler # source://psych//psych/tree_builder.rb#77 def end_document(implicit_end = T.unsafe(nil)); end - # source://psych//psych/tree_builder.rb#52 + # source://psych//psych/tree_builder.rb#44 def end_mapping; end - # source://psych//psych/tree_builder.rb#52 + # source://psych//psych/tree_builder.rb#44 def end_sequence; end # source://psych//psych/tree_builder.rb#90 @@ -1359,10 +1359,10 @@ class Psych::TreeBuilder < ::Psych::Handler # source://psych//psych/tree_builder.rb#65 def start_document(version, tag_directives, implicit); end - # source://psych//psych/tree_builder.rb#45 + # source://psych//psych/tree_builder.rb#44 def start_mapping(anchor, tag, implicit, style); end - # source://psych//psych/tree_builder.rb#45 + # source://psych//psych/tree_builder.rb#44 def start_sequence(anchor, tag, implicit, style); end # source://psych//psych/tree_builder.rb#84 @@ -1405,22 +1405,22 @@ class Psych::Visitors::DepthFirst < ::Psych::Visitors::Visitor # source://psych//psych/visitors/depth_first.rb#20 def terminal(o); end - # source://psych//psych/visitors/depth_first.rb#20 + # source://psych//psych/visitors/depth_first.rb#24 def visit_Psych_Nodes_Alias(o); end - # source://psych//psych/visitors/depth_first.rb#11 + # source://psych//psych/visitors/depth_first.rb#16 def visit_Psych_Nodes_Document(o); end - # source://psych//psych/visitors/depth_first.rb#11 + # source://psych//psych/visitors/depth_first.rb#18 def visit_Psych_Nodes_Mapping(o); end - # source://psych//psych/visitors/depth_first.rb#20 + # source://psych//psych/visitors/depth_first.rb#23 def visit_Psych_Nodes_Scalar(o); end - # source://psych//psych/visitors/depth_first.rb#11 + # source://psych//psych/visitors/depth_first.rb#17 def visit_Psych_Nodes_Sequence(o); end - # source://psych//psych/visitors/depth_first.rb#11 + # source://psych//psych/visitors/depth_first.rb#15 def visit_Psych_Nodes_Stream(o); end end @@ -1541,7 +1541,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//psych/visitors/yaml_tree.rb#55 def initialize(emitter, ss, options); end - # source://psych//psych/visitors/yaml_tree.rb#102 + # source://psych//psych/visitors/yaml_tree.rb#120 def <<(object); end # source://psych//psych/visitors/yaml_tree.rb#122 @@ -1557,7 +1557,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # Returns the value of attribute finished. # - # source://psych//psych/visitors/yaml_tree.rb#44 + # source://psych//psych/visitors/yaml_tree.rb#45 def finished?; end # source://psych//psych/visitors/yaml_tree.rb#102 @@ -1573,7 +1573,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # Returns the value of attribute started. # - # source://psych//psych/visitors/yaml_tree.rb#44 + # source://psych//psych/visitors/yaml_tree.rb#46 def started?; end # source://psych//psych/visitors/yaml_tree.rb#97 @@ -1602,7 +1602,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//psych/visitors/yaml_tree.rb#198 def visit_DateTime(o); end - # source://psych//psych/visitors/yaml_tree.rb#152 + # source://psych//psych/visitors/yaml_tree.rb#166 def visit_Delegator(o); end # source://psych//psych/visitors/yaml_tree.rb#147 @@ -1614,7 +1614,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//psych/visitors/yaml_tree.rb#182 def visit_Exception(o); end - # source://psych//psych/visitors/yaml_tree.rb#233 + # source://psych//psych/visitors/yaml_tree.rb#237 def visit_FalseClass(o); end # source://psych//psych/visitors/yaml_tree.rb#239 @@ -1667,7 +1667,7 @@ class Psych::Visitors::YAMLTree < ::Psych::Visitors::Visitor # source://psych//psych/visitors/yaml_tree.rb#205 def visit_Time(o); end - # source://psych//psych/visitors/yaml_tree.rb#233 + # source://psych//psych/visitors/yaml_tree.rb#236 def visit_TrueClass(o); end private diff --git a/sorbet/rbi/gems/public_suffix@5.0.5.rbi b/sorbet/rbi/gems/public_suffix@5.0.5.rbi index 0c24f9dc8..31778d63b 100644 --- a/sorbet/rbi/gems/public_suffix@5.0.5.rbi +++ b/sorbet/rbi/gems/public_suffix@5.0.5.rbi @@ -401,7 +401,7 @@ class PublicSuffix::List # @param rule [PublicSuffix::Rule::*] the rule to add to the list # @return [self] # - # source://public_suffix//lib/public_suffix/list.rb#141 + # source://public_suffix//lib/public_suffix/list.rb#145 def <<(rule); end # Checks whether two lists are equal. @@ -460,7 +460,7 @@ class PublicSuffix::List # @param other [PublicSuffix::List] the List to compare # @return [Boolean] # - # source://public_suffix//lib/public_suffix/list.rb#120 + # source://public_suffix//lib/public_suffix/list.rb#125 def eql?(other); end # Finds and returns the rule corresponding to the longest public suffix for the hostname. @@ -704,7 +704,7 @@ class PublicSuffix::Rule::Base # @return [Boolean] true if this rule and other are instances of the same class # and has the same value, false otherwise. # - # source://public_suffix//lib/public_suffix/rule.rb#137 + # source://public_suffix//lib/public_suffix/rule.rb#140 def eql?(other); end # @return [String] the length of the rule @@ -769,41 +769,62 @@ class PublicSuffix::Rule::Entry < ::Struct # Returns the value of attribute length # # @return [Object] the current value of length + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def length; end # Sets the attribute length # # @param value [Object] the value to set the attribute length to. # @return [Object] the newly set value + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def length=(_); end # Returns the value of attribute private # # @return [Object] the current value of private + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def private; end # Sets the attribute private # # @param value [Object] the value to set the attribute private to. # @return [Object] the newly set value + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def private=(_); end # Returns the value of attribute type # # @return [Object] the current value of type + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def type; end # Sets the attribute type # # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value + # + # source://public_suffix//lib/public_suffix/rule.rb#25 def type=(_); end class << self + # source://public_suffix//lib/public_suffix/rule.rb#25 def [](*_arg0); end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def inspect; end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def keyword_init?; end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def members; end + + # source://public_suffix//lib/public_suffix/rule.rb#25 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/racc@1.8.1.rbi b/sorbet/rbi/gems/racc@1.8.1.rbi index 5d4f1618e..6909ad270 100644 --- a/sorbet/rbi/gems/racc@1.8.1.rbi +++ b/sorbet/rbi/gems/racc@1.8.1.rbi @@ -33,7 +33,7 @@ class Racc::Parser # source://racc//lib/racc/parser.rb#329 def _racc_yyparse_rb(recv, mid, arg, c_debug); end - # source://racc//lib/racc/parser.rb#262 + # source://racc//lib/racc/parser.rb#261 def do_parse; end # The method to fetch next token. @@ -121,7 +121,7 @@ class Racc::Parser # source://racc//lib/racc/parser.rb#542 def yyerror; end - # source://racc//lib/racc/parser.rb#324 + # source://racc//lib/racc/parser.rb#323 def yyparse(recv, mid); end class << self diff --git a/sorbet/rbi/gems/rack-session@2.0.0.rbi b/sorbet/rbi/gems/rack-session@2.0.0.rbi index 8ad7c4dff..603146594 100644 --- a/sorbet/rbi/gems/rack-session@2.0.0.rbi +++ b/sorbet/rbi/gems/rack-session@2.0.0.rbi @@ -6,12 +6,7 @@ # source://rack-session//lib/rack/session/constants.rb#7 -module Rack - class << self - # source://rack/3.1.4/lib/rack/version.rb#18 - def release; end - end -end +module Rack; end # source://rack-session//lib/rack/session/constants.rb#8 module Rack::Session; end @@ -316,7 +311,7 @@ class Rack::Session::Abstract::SessionHash # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#107 + # source://rack-session//lib/rack/session/abstract/id.rb#112 def include?(key); end # source://rack-session//lib/rack/session/abstract/id.rb#151 @@ -324,7 +319,7 @@ class Rack::Session::Abstract::SessionHash # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#107 + # source://rack-session//lib/rack/session/abstract/id.rb#111 def key?(key); end # source://rack-session//lib/rack/session/abstract/id.rb#174 @@ -335,7 +330,7 @@ class Rack::Session::Abstract::SessionHash # source://rack-session//lib/rack/session/abstract/id.rb#165 def loaded?; end - # source://rack-session//lib/rack/session/abstract/id.rb#135 + # source://rack-session//lib/rack/session/abstract/id.rb#139 def merge!(hash); end # source://rack-session//lib/rack/session/abstract/id.rb#79 @@ -344,7 +339,7 @@ class Rack::Session::Abstract::SessionHash # source://rack-session//lib/rack/session/abstract/id.rb#141 def replace(hash); end - # source://rack-session//lib/rack/session/abstract/id.rb#114 + # source://rack-session//lib/rack/session/abstract/id.rb#118 def store(key, value); end # source://rack-session//lib/rack/session/abstract/id.rb#130 @@ -693,7 +688,7 @@ class Rack::Session::SessionId # Returns the value of attribute public_id. # - # source://rack-session//lib/rack/session/abstract/id.rb#24 + # source://rack-session//lib/rack/session/abstract/id.rb#34 def cookie_value; end # @return [Boolean] @@ -714,7 +709,7 @@ class Rack::Session::SessionId # Returns the value of attribute public_id. # - # source://rack-session//lib/rack/session/abstract/id.rb#24 + # source://rack-session//lib/rack/session/abstract/id.rb#35 def to_s; end private diff --git a/sorbet/rbi/gems/rack-test@2.1.0.rbi b/sorbet/rbi/gems/rack-test@2.1.0.rbi index 9f1082c83..e02964426 100644 --- a/sorbet/rbi/gems/rack-test@2.1.0.rbi +++ b/sorbet/rbi/gems/rack-test@2.1.0.rbi @@ -6,12 +6,7 @@ # source://rack-test//lib/rack/test/cookie_jar.rb#6 -module Rack - class << self - # source://rack/3.1.4/lib/rack/version.rb#18 - def release; end - end -end +module Rack; end # For backwards compatibility with 1.1.0 and below # @@ -124,7 +119,7 @@ class Rack::Test::Cookie # A hash of cookie options, including the cookie value, but excluding the cookie name. # - # source://rack-test//lib/rack/test/cookie_jar.rb#112 + # source://rack-test//lib/rack/test/cookie_jar.rb#119 def to_hash; end # Whether the cookie is valid for the given URI. @@ -275,10 +270,10 @@ module Rack::Test::Methods # source://rack-test//lib/rack/test/methods.rb#90 def _rack_test_current_session=(_arg0); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def authorize(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def basic_authorize(*args, **_arg1, &block); end # Create a new Rack::Test::Session for #app. @@ -286,7 +281,7 @@ module Rack::Test::Methods # source://rack-test//lib/rack/test/methods.rb#40 def build_rack_test_session(_name); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def clear_cookies(*args, **_arg1, &block); end # Return the currently actively session. This is the session to @@ -295,50 +290,50 @@ module Rack::Test::Methods # source://rack-test//lib/rack/test/methods.rb#55 def current_session; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def custom_request(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def delete(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def env(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def follow_redirect!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def get(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def head(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def header(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def last_request(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def last_response(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def options(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def patch(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def post(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def put(*args, **_arg1, &block); end # Return the existing session with the given name, or a new # rack session. Always use a new session if name is nil. # For backwards compatibility with older rack-test versions. # - # source://rack-test//lib/rack/test/methods.rb#29 + # source://rack-test//lib/rack/test/methods.rb#37 def rack_mock_session(name = T.unsafe(nil)); end # Return the existing session with the given name, or a new @@ -347,10 +342,10 @@ module Rack::Test::Methods # source://rack-test//lib/rack/test/methods.rb#29 def rack_test_session(name = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def request(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack-test//lib/rack/test/methods.rb#68 def set_cookie(*args, **_arg1, &block); end # Create a new session (or reuse an existing session with the given name), @@ -429,7 +424,7 @@ class Rack::Test::Session # Example: # basic_authorize "bryan", "secret" # - # source://rack-test//lib/rack/test.rb#198 + # source://rack-test//lib/rack/test.rb#203 def authorize(username, password); end # Set the username and password for HTTP Basic authorization, to be @@ -469,7 +464,7 @@ class Rack::Test::Session # source://rack-test//lib/rack/test.rb#70 def default_host; end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def delete(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end # Set an entry in the rack environment to be included on all subsequent @@ -489,10 +484,10 @@ class Rack::Test::Session # source://rack-test//lib/rack/test.rb#209 def follow_redirect!; end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def get(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def head(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end # Set a header to be included on all subsequent requests through the @@ -522,16 +517,16 @@ class Rack::Test::Session # source://rack-test//lib/rack/test.rb#141 def last_response; end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def options(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def patch(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def post(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end - # source://rack-test//lib/rack/test.rb#111 + # source://rack-test//lib/rack/test.rb#110 def put(uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end # Issue a request to the Rack app for the given URI and optional Rack @@ -639,7 +634,7 @@ class Rack::Test::UploadedFile # The path to the tempfile. Will not work if the receiver's content is from a StringIO. # - # source://rack-test//lib/rack/test/uploaded_file.rb#46 + # source://rack-test//lib/rack/test/uploaded_file.rb#49 def local_path; end # Delegate all methods not handled to the tempfile. diff --git a/sorbet/rbi/gems/rack@3.1.6.rbi b/sorbet/rbi/gems/rack@3.1.6.rbi index bdab1c824..c6040bbf9 100644 --- a/sorbet/rbi/gems/rack@3.1.6.rbi +++ b/sorbet/rbi/gems/rack@3.1.6.rbi @@ -464,7 +464,7 @@ class Rack::Cascade # Append an app to the list of apps to cascade. This app will # be tried last. # - # source://rack//lib/rack/cascade.rb#56 + # source://rack//lib/rack/cascade.rb#65 def <<(app); end # Append an app to the list of apps to cascade. This app will @@ -1246,7 +1246,7 @@ class Rack::Headers < ::Hash # @return [Boolean] # - # source://rack//lib/rack/headers.rb#144 + # source://rack//lib/rack/headers.rb#147 def include?(key); end # source://rack//lib/rack/headers.rb#151 @@ -1254,18 +1254,18 @@ class Rack::Headers < ::Hash # @return [Boolean] # - # source://rack//lib/rack/headers.rb#144 + # source://rack//lib/rack/headers.rb#148 def key?(key); end # @return [Boolean] # - # source://rack//lib/rack/headers.rb#144 + # source://rack//lib/rack/headers.rb#149 def member?(key); end # source://rack//lib/rack/headers.rb#157 def merge(hash, &block); end - # source://rack//lib/rack/headers.rb#186 + # source://rack//lib/rack/headers.rb#196 def merge!(hash, &block); end # source://rack//lib/rack/headers.rb#161 @@ -1282,7 +1282,7 @@ class Rack::Headers < ::Hash # source://rack//lib/rack/headers.rb#205 def slice(*a); end - # source://rack//lib/rack/headers.rb#114 + # source://rack//lib/rack/headers.rb#117 def store(key, value); end # source://rack//lib/rack/headers.rb#178 @@ -1640,28 +1640,28 @@ class Rack::Lint::Wrapper::StreamWrapper # source://rack//lib/rack/lint.rb#972 def initialize(stream); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def <<(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def close(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def close_read(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def close_write(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def closed?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def flush(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def read(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rack//lib/rack/lint.rb#970 def write(*args, **_arg1, &block); end end @@ -1816,7 +1816,7 @@ module Rack::Mime # # @return [Boolean] # - # source://rack//lib/rack/mime.rb#30 + # source://rack//lib/rack/mime.rb#36 def match?(value, matcher); end # Returns String with mime type if found, otherwise use +fallback+. @@ -1832,7 +1832,7 @@ module Rack::Mime # This is a shortcut for: # Rack::Mime::MIME_TYPES.fetch('.foo', 'application/octet-stream') # - # source://rack//lib/rack/mime.rb#18 + # source://rack//lib/rack/mime.rb#21 def mime_type(ext, fallback = T.unsafe(nil)); end end end @@ -2314,30 +2314,47 @@ class Rack::Multipart::Parser::MultipartInfo < ::Struct # Returns the value of attribute params # # @return [Object] the current value of params + # + # source://rack//lib/rack/multipart/parser.rb#77 def params; end # Sets the attribute params # # @param value [Object] the value to set the attribute params to. # @return [Object] the newly set value + # + # source://rack//lib/rack/multipart/parser.rb#77 def params=(_); end # Returns the value of attribute tmp_files # # @return [Object] the current value of tmp_files + # + # source://rack//lib/rack/multipart/parser.rb#77 def tmp_files; end # Sets the attribute tmp_files # # @param value [Object] the value to set the attribute tmp_files to. # @return [Object] the newly set value + # + # source://rack//lib/rack/multipart/parser.rb#77 def tmp_files=(_); end class << self + # source://rack//lib/rack/multipart/parser.rb#77 def [](*_arg0); end + + # source://rack//lib/rack/multipart/parser.rb#77 def inspect; end + + # source://rack//lib/rack/multipart/parser.rb#77 def keyword_init?; end + + # source://rack//lib/rack/multipart/parser.rb#77 def members; end + + # source://rack//lib/rack/multipart/parser.rb#77 def new(*_arg0); end end end @@ -2365,7 +2382,7 @@ class Rack::Multipart::UploadedFile # source://rack//lib/rack/multipart/uploaded_file.rb#14 def content_type=(_arg0); end - # source://rack//lib/rack/multipart/uploaded_file.rb#31 + # source://rack//lib/rack/multipart/uploaded_file.rb#34 def local_path; end # source://rack//lib/rack/multipart/uploaded_file.rb#40 @@ -2807,21 +2824,9 @@ class Rack::Request # source://rack//lib/rack/request.rb#67 def params; end - # source://rack//lib/rack/request.rb#67 - def query; end - # source://rack//lib/rack/request.rb#71 def update_param(k, v); end - # source://yard/0.9.36/lib/yard/server/rack_adapter.rb#94 - def version_supplied; end - - # source://yard/0.9.36/lib/yard/server/rack_adapter.rb#94 - def version_supplied=(_arg0); end - - # source://yard/0.9.36/lib/yard/server/rack_adapter.rb#96 - def xhr?; end - class << self # The priority when checking forwarded headers. The default # is [:forwarded, :x_forwarded], which means, check the @@ -3182,7 +3187,7 @@ module Rack::Request::Helpers # the referer of the client # - # source://rack//lib/rack/request.rb#204 + # source://rack//lib/rack/request.rb#205 def referrer; end # source://rack//lib/rack/request.rb#197 @@ -3424,12 +3429,12 @@ class Rack::Response # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#160 + # source://rack//lib/rack/response.rb#173 def [](key); end # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#164 + # source://rack//lib/rack/response.rb#174 def []=(key, value); end # Returns the value of attribute body. @@ -3532,7 +3537,7 @@ class Rack::Response # # @return [Array] a 3-tuple suitable of `[status, headers, body]` # - # source://rack//lib/rack/response.rb#106 + # source://rack//lib/rack/response.rb#126 def to_a(&block); end # Append to body and update content-length. @@ -4070,96 +4075,137 @@ class Rack::ShowExceptions::Frame < ::Struct # Returns the value of attribute context_line # # @return [Object] the current value of context_line + # + # source://rack//lib/rack/show_exceptions.rb#21 def context_line; end # Sets the attribute context_line # # @param value [Object] the value to set the attribute context_line to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def context_line=(_); end # Returns the value of attribute filename # # @return [Object] the current value of filename + # + # source://rack//lib/rack/show_exceptions.rb#21 def filename; end # Sets the attribute filename # # @param value [Object] the value to set the attribute filename to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def filename=(_); end # Returns the value of attribute function # # @return [Object] the current value of function + # + # source://rack//lib/rack/show_exceptions.rb#21 def function; end # Sets the attribute function # # @param value [Object] the value to set the attribute function to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def function=(_); end # Returns the value of attribute lineno # # @return [Object] the current value of lineno + # + # source://rack//lib/rack/show_exceptions.rb#21 def lineno; end # Sets the attribute lineno # # @param value [Object] the value to set the attribute lineno to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def lineno=(_); end # Returns the value of attribute post_context # # @return [Object] the current value of post_context + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context; end # Sets the attribute post_context # # @param value [Object] the value to set the attribute post_context to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context=(_); end # Returns the value of attribute post_context_lineno # # @return [Object] the current value of post_context_lineno + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context_lineno; end # Sets the attribute post_context_lineno # # @param value [Object] the value to set the attribute post_context_lineno to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def post_context_lineno=(_); end # Returns the value of attribute pre_context # # @return [Object] the current value of pre_context + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context; end # Sets the attribute pre_context # # @param value [Object] the value to set the attribute pre_context to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context=(_); end # Returns the value of attribute pre_context_lineno # # @return [Object] the current value of pre_context_lineno + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context_lineno; end # Sets the attribute pre_context_lineno # # @param value [Object] the value to set the attribute pre_context_lineno to. # @return [Object] the newly set value + # + # source://rack//lib/rack/show_exceptions.rb#21 def pre_context_lineno=(_); end class << self + # source://rack//lib/rack/show_exceptions.rb#21 def [](*_arg0); end + + # source://rack//lib/rack/show_exceptions.rb#21 def inspect; end + + # source://rack//lib/rack/show_exceptions.rb#21 def keyword_init?; end + + # source://rack//lib/rack/show_exceptions.rb#21 def members; end + + # source://rack//lib/rack/show_exceptions.rb#21 def new(*_arg0); end end end @@ -4447,6 +4493,8 @@ module Rack::Utils def escape_cookie_key(key); end # Escape ampersands, brackets and quotes to their HTML/XML entities. + # + # source://rack//lib/rack/utils.rb#182 def escape_html(_arg0); end # Like URI escaping, but with %20 instead of +. Strictly speaking this is @@ -4651,6 +4699,7 @@ module Rack::Utils # source://rack//lib/rack/utils.rb#261 def escape_cookie_key(key); end + # source://rack//lib/rack/utils.rb#182 def escape_html(_arg0); end # Like URI escaping, but with %20 instead of +. Strictly speaking this is @@ -4659,7 +4708,7 @@ module Rack::Utils # source://rack//lib/rack/utils.rb#45 def escape_path(s); end - # source://rack//lib/rack/utils.rb#148 + # source://rack//lib/rack/utils.rb#160 def forwarded_values(forwarded_header); end # source://rack//lib/rack/utils.rb#412 @@ -4681,14 +4730,14 @@ module Rack::Utils # multipart_part_limit is the original name of multipart_file_limit, but # the limit only counts parts with filenames. # - # source://rack//lib/rack/utils.rb#64 + # source://rack//lib/rack/utils.rb#68 def multipart_part_limit; end # Sets the attribute multipart_file_limit # # @param value the value to set the attribute multipart_file_limit to. # - # source://rack//lib/rack/utils.rb#64 + # source://rack//lib/rack/utils.rb#69 def multipart_part_limit=(_arg0); end # Returns the value of attribute multipart_total_part_limit. diff --git a/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi b/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi index bfacc4869..899ca6e00 100644 --- a/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +++ b/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi @@ -6,75 +6,7 @@ # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#3 -module Rails - class << self - # source://railties/7.1.3.4/lib/rails.rb#42 - def app_class; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def app_class=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#43 - def application; end - - # source://railties/7.1.3.4/lib/rails.rb#41 - def application=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#123 - def autoloaders; end - - # source://railties/7.1.3.4/lib/rails.rb#54 - def backtrace_cleaner; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def cache; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def cache=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#50 - def configuration; end - - # source://railties/7.1.3.4/lib/rails/deprecator.rb#4 - def deprecator; end - - # source://railties/7.1.3.4/lib/rails.rb#72 - def env; end - - # source://railties/7.1.3.4/lib/rails.rb#79 - def env=(environment); end - - # source://railties/7.1.3.4/lib/rails.rb#90 - def error; end - - # source://railties/7.1.3.4/lib/rails/gem_version.rb#5 - def gem_version; end - - # source://railties/7.1.3.4/lib/rails.rb#103 - def groups(*groups); end - - # source://railties/7.1.3.4/lib/rails.rb#47 - def initialize!(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.3.4/lib/rails.rb#47 - def initialized?(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def logger; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def logger=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#119 - def public_path; end - - # source://railties/7.1.3.4/lib/rails.rb#63 - def root; end - - # source://railties/7.1.3.4/lib/rails/version.rb#7 - def version; end - end -end +module Rails; end # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#4 module Rails::Dom; end @@ -515,7 +447,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # assert_dom ":match('name', ?)", /.+/ # Not empty # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#163 + # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#180 def assert_select(*args, &block); end # Extracts the body of an email and runs nested assertions on it. @@ -549,7 +481,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # assert_dom "h1", "Email alert" # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#285 + # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#298 def assert_select_email(html_version: T.unsafe(nil), &block); end # Extracts the content of an element, treats it as encoded HTML and runs @@ -602,7 +534,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # end # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#232 + # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#252 def assert_select_encoded(element = T.unsafe(nil), html_version: T.unsafe(nil), &block); end # Select and return all matching elements. diff --git a/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi b/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi index ab7a3fdfd..b645112ed 100644 --- a/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi +++ b/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi @@ -6,21 +6,7 @@ # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#14 -module ActionView - class << self - # source://actionview/7.1.3.4/lib/action_view/deprecator.rb#4 - def deprecator; end - - # source://actionview/7.1.3.4/lib/action_view.rb#93 - def eager_load!; end - - # source://actionview/7.1.3.4/lib/action_view/gem_version.rb#5 - def gem_version; end - - # source://actionview/7.1.3.4/lib/action_view/version.rb#7 - def version; end - end -end +module ActionView; end # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#15 module ActionView::Helpers @@ -35,67 +21,15 @@ module ActionView::Helpers mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - - class << self - # source://actionview/7.1.3.4/lib/action_view/helpers.rb#35 - def eager_load!; end - end end # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#16 module ActionView::Helpers::SanitizeHelper mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#111 - def sanitize(html, options = T.unsafe(nil)); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#116 - def sanitize_css(style); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor=(val); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#150 - def strip_links(html); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#133 - def strip_tags(html); end - - class << self - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#12 - def sanitizer_vendor=(val); end - end end # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#17 module ActionView::Helpers::SanitizeHelper::ClassMethods - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#175 - def full_sanitizer; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#155 - def full_sanitizer=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#185 - def link_sanitizer; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#155 - def link_sanitizer=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#195 - def safe_list_sanitizer; end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#155 - def safe_list_sanitizer=(_arg0); end - - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#165 - def sanitized_allowed_attributes; end - # Replaces the allowed HTML attributes for the +sanitize+ helper. # # class Application < Rails::Application @@ -123,9 +57,6 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_allowed_protocols=(_); end - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#161 - def sanitized_allowed_tags; end - # Replaces the allowed tags for the +sanitize+ helper. # # class Application < Rails::Application @@ -159,9 +90,6 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 def sanitized_uri_attributes=(_); end - # source://actionview/7.1.3.4/lib/action_view/helpers/sanitize_helper.rb#157 - def sanitizer_vendor; end - private # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#52 @@ -169,75 +97,7 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods end # source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#3 -module Rails - class << self - # source://railties/7.1.3.4/lib/rails.rb#42 - def app_class; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def app_class=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#43 - def application; end - - # source://railties/7.1.3.4/lib/rails.rb#41 - def application=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#123 - def autoloaders; end - - # source://railties/7.1.3.4/lib/rails.rb#54 - def backtrace_cleaner; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def cache; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def cache=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#50 - def configuration; end - - # source://railties/7.1.3.4/lib/rails/deprecator.rb#4 - def deprecator; end - - # source://railties/7.1.3.4/lib/rails.rb#72 - def env; end - - # source://railties/7.1.3.4/lib/rails.rb#79 - def env=(environment); end - - # source://railties/7.1.3.4/lib/rails.rb#90 - def error; end - - # source://railties/7.1.3.4/lib/rails/gem_version.rb#5 - def gem_version; end - - # source://railties/7.1.3.4/lib/rails.rb#103 - def groups(*groups); end - - # source://railties/7.1.3.4/lib/rails.rb#47 - def initialize!(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.3.4/lib/rails.rb#47 - def initialized?(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def logger; end - - # source://railties/7.1.3.4/lib/rails.rb#42 - def logger=(_arg0); end - - # source://railties/7.1.3.4/lib/rails.rb#119 - def public_path; end - - # source://railties/7.1.3.4/lib/rails.rb#63 - def root; end - - # source://railties/7.1.3.4/lib/rails/version.rb#7 - def version; end - end -end +module Rails; end # source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#4 module Rails::HTML; end diff --git a/sorbet/rbi/gems/railties@7.1.3.4.rbi b/sorbet/rbi/gems/railties@7.1.3.4.rbi index 5135f8881..71ead4f0c 100644 --- a/sorbet/rbi/gems/railties@7.1.3.4.rbi +++ b/sorbet/rbi/gems/railties@7.1.3.4.rbi @@ -515,7 +515,7 @@ class Rails::Application < ::Rails::Engine # Returns the value of attribute sandbox. # - # source://railties//lib/rails/application.rb#100 + # source://railties//lib/rails/application.rb#101 def sandbox?; end # The secret_key_base is used as the input secret to the application's key generator, which in turn @@ -650,6 +650,7 @@ class Rails::Application < ::Rails::Engine # source://railties//lib/rails/application.rb#80 def instance; end + # source://railties//lib/rails/application.rb#97 def new(*_arg0); end end end @@ -1441,10 +1442,10 @@ class Rails::Application::RoutesReloader # source://railties//lib/rails/application/routes_reloader.rb#15 def initialize; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks?; end # Returns the value of attribute eager_load. @@ -1510,13 +1511,13 @@ class Rails::Application::RoutesReloader def updater; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/application/routes_reloader.rb#8 def __callbacks?; end end end @@ -1525,7 +1526,7 @@ end class Rails::ApplicationController < ::ActionController::Base private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 + # source://railties//lib/rails/welcome_controller.rb#5 def _layout(lookup_context, formats); end # source://railties//lib/rails/application_controller.rb#25 @@ -1540,16 +1541,16 @@ class Rails::ApplicationController < ::ActionController::Base def require_local!; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/welcome_controller.rb#6 def __callbacks; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://railties//lib/rails/welcome_controller.rb#7 def _layout; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://railties//lib/rails/welcome_controller.rb#7 def _layout_conditions; end - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 + # source://railties//lib/rails/welcome_controller.rb#5 def middleware_stack; end end end @@ -1714,7 +1715,7 @@ end class Rails::Command::Base < ::Thor include ::Rails::Command::Actions - # source://thor/1.3.1/lib/thor/base.rb#155 + # source://railties//lib/rails/command/base.rb#173 def current_subcommand; end # source://railties//lib/rails/command/base.rb#172 @@ -1840,7 +1841,7 @@ module Rails::Command::Behavior mixes_in_class_methods ::Rails::Command::Behavior::ClassMethods end -# source://railties//lib/rails/command/behavior.rb#0 +# source://railties//lib/rails/command/behavior.rb#10 module Rails::Command::Behavior::ClassMethods # source://railties//lib/rails/command/behavior.rb#12 def no_color!; end @@ -2051,7 +2052,7 @@ class Rails::Configuration::MiddlewareStackProxy # source://railties//lib/rails/configuration.rb#70 def delete(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#52 + # source://railties//lib/rails/configuration.rb#56 def insert(*_arg0, **_arg1, &_arg2); end # source://railties//lib/rails/configuration.rb#58 @@ -2063,7 +2064,7 @@ class Rails::Configuration::MiddlewareStackProxy # source://railties//lib/rails/configuration.rb#88 def merge_into(other); end - # source://railties//lib/rails/configuration.rb#74 + # source://railties//lib/rails/configuration.rb#78 def move(*_arg0, **_arg1, &_arg2); end # source://railties//lib/rails/configuration.rb#80 @@ -2443,16 +2444,16 @@ class Rails::Engine < ::Rails::Railtie # source://railties//lib/rails/engine.rb#439 def initialize; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#963 + # source://railties//lib/rails/engine.rb#434 def _load_seed_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#951 + # source://railties//lib/rails/engine.rb#434 def _run_load_seed_callbacks(&block); end # Returns the underlying Rack application for this engine. @@ -2600,19 +2601,16 @@ class Rails::Engine < ::Rails::Railtie def load_config_initializer(initializer); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks=(value); end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/engine.rb#433 def __callbacks?; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#955 + # source://railties//lib/rails/engine.rb#434 def _load_seed_callbacks; end - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#959 + # source://railties//lib/rails/engine.rb#434 def _load_seed_callbacks=(value); end # Returns the value of attribute called_from. @@ -2669,7 +2667,7 @@ class Rails::Engine < ::Rails::Railtie # Returns the value of attribute isolated. # - # source://railties//lib/rails/engine.rb#354 + # source://railties//lib/rails/engine.rb#356 def isolated?; end end end @@ -2907,7 +2905,7 @@ module Rails::Generators # source://railties//lib/rails/generators.rb#130 def hidden_namespaces; end - # source://railties//lib/rails/generators.rb#159 + # source://railties//lib/rails/generators.rb#162 def hide_namespace(*namespaces); end # source://railties//lib/rails/generators.rb#159 @@ -3024,7 +3022,7 @@ module Rails::Generators::Actions # %(config.asset_host = "localhost:3000") # end # - # source://railties//lib/rails/generators/actions.rb#206 + # source://railties//lib/rails/generators/actions.rb#221 def application(data = T.unsafe(nil), options = T.unsafe(nil)); end # Adds configuration code to a \Rails runtime environment. @@ -3341,7 +3339,7 @@ module Rails::Generators::Actions # Returns optimized string with indentation # - # source://railties//lib/rails/generators/actions.rb#487 + # source://railties//lib/rails/generators/actions.rb#491 def rebase_indentation(value, amount = T.unsafe(nil)); end # source://railties//lib/rails/generators/actions.rb#517 @@ -3358,7 +3356,7 @@ class Rails::Generators::Actions::CreateMigration < ::Thor::Actions::CreateFile # source://railties//lib/rails/generators/actions/create_migration.rb#41 def existing_migration; end - # source://railties//lib/rails/generators/actions/create_migration.rb#41 + # source://railties//lib/rails/generators/actions/create_migration.rb#45 def exists?; end # @return [Boolean] @@ -3492,25 +3490,25 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base # source://railties//lib/rails/generators/app_base.rb#120 def initialize(positional_argv, option_argv, *_arg2); end - # source://thor/1.3.1/lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#24 def app_path; end - # source://thor/1.3.1/lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#24 def app_path=(_arg0); end # Returns the value of attribute rails_template. # - # source://thor/1.3.1/lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#21 def rails_template; end # Sets the attribute rails_template # # @param value the value to set the attribute rails_template to. # - # source://thor/1.3.1/lib/thor/base.rb#163 + # source://railties//lib/rails/generators/app_base.rb#21 def rails_template=(_arg0); end - # source://railties//lib/rails/generators/base.rb#401 + # source://railties//lib/rails/generators/app_base.rb#22 def shebang; end private @@ -3823,7 +3821,7 @@ module Rails::Generators::AppName # source://railties//lib/rails/generators/app_name.rb#9 def app_name; end - # source://railties//lib/rails/generators/app_name.rb#17 + # source://railties//lib/rails/generators/app_name.rb#20 def camelized; end # source://railties//lib/rails/generators/app_name.rb#13 @@ -4455,16 +4453,16 @@ class Rails::Generators::NamedBase < ::Rails::Generators::Base # Returns the value of attribute file_name. # - # source://thor/1.3.1/lib/thor/base.rb#155 + # source://railties//lib/rails/generators/named_base.rb#35 def file_name; end # source://railties//lib/rails/generators/named_base.rb#29 def js_template(source, destination); end - # source://thor/1.3.1/lib/thor/base.rb#163 + # source://railties//lib/rails/generators/named_base.rb#9 def name; end - # source://thor/1.3.1/lib/thor/base.rb#163 + # source://railties//lib/rails/generators/named_base.rb#9 def name=(_arg0); end # source://railties//lib/rails/generators/named_base.rb#23 @@ -4686,77 +4684,77 @@ class Rails::Generators::TestCase < ::ActiveSupport::TestCase include ::FileUtils extend ::Rails::Generators::Testing::Behavior::ClassMethods - # source://railties//lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path; end - # source://railties//lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path=(_arg0); end - # source://railties//lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path?; end - # source://railties//lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments; end - # source://railties//lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments=(_arg0); end - # source://railties//lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments?; end - # source://railties//lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root; end - # source://railties//lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root=(_arg0); end - # source://railties//lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root?; end - # source://railties//lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class; end - # source://railties//lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class=(_arg0); end - # source://railties//lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class?; end class << self - # source://railties//lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path; end - # source://railties//lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path=(value); end - # source://railties//lib/rails/generators/testing/behavior.rb#21 + # source://railties//lib/rails/generators/test_case.rb#31 def current_path?; end - # source://railties//lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments; end - # source://railties//lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments=(value); end - # source://railties//lib/rails/generators/testing/behavior.rb#22 + # source://railties//lib/rails/generators/test_case.rb#31 def default_arguments?; end - # source://railties//lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root; end - # source://railties//lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root=(value); end - # source://railties//lib/rails/generators/testing/behavior.rb#23 + # source://railties//lib/rails/generators/test_case.rb#31 def destination_root?; end - # source://railties//lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class; end - # source://railties//lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class=(value); end - # source://railties//lib/rails/generators/testing/behavior.rb#24 + # source://railties//lib/rails/generators/test_case.rb#31 def generator_class?; end end end @@ -4800,7 +4798,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties//lib/rails/generators/testing/assertions.rb#25 + # source://railties//lib/rails/generators/testing/assertions.rb#41 def assert_directory(relative, *contents); end # Asserts the given attribute type gets a proper default value: @@ -4861,7 +4859,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties//lib/rails/generators/testing/assertions.rb#100 + # source://railties//lib/rails/generators/testing/assertions.rb#104 def assert_method(method, content); end # Asserts a given migration exists. You need to supply an absolute path or a @@ -4884,7 +4882,7 @@ module Rails::Generators::Testing::Assertions # # assert_no_file "config/random.rb" # - # source://railties//lib/rails/generators/testing/assertions.rb#47 + # source://railties//lib/rails/generators/testing/assertions.rb#51 def assert_no_directory(relative); end # Asserts a given file does not exist. You need to supply an absolute path or a @@ -5068,7 +5066,7 @@ class Rails::HealthController < ::ActionController::Base private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 + # source://railties//lib/rails/health_controller.rb#35 def _layout(lookup_context, formats); end # source://railties//lib/rails/health_controller.rb#51 @@ -5081,10 +5079,10 @@ class Rails::HealthController < ::ActionController::Base def render_up; end class << self - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 + # source://railties//lib/rails/health_controller.rb#35 def middleware_stack; end - # source://activesupport/7.1.3.4/lib/active_support/rescuable.rb#15 + # source://railties//lib/rails/health_controller.rb#36 def rescue_handlers; end end end @@ -5102,7 +5100,7 @@ module Rails::Info def properties=(val); end class << self - # source://railties//lib/rails/info.rb#31 + # source://railties//lib/rails/info.rb#41 def inspect; end # source://railties//lib/rails/info.rb#10 @@ -5135,7 +5133,7 @@ class Rails::InfoController < ::Rails::ApplicationController private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 + # source://railties//lib/rails/info_controller.rb#8 def _layout(lookup_context, formats); end # source://railties//lib/rails/info_controller.rb#8 @@ -5145,16 +5143,16 @@ class Rails::InfoController < ::Rails::ApplicationController def matching_routes(query:, exact_match:); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/info_controller.rb#10 def __callbacks; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://railties//lib/rails/info_controller.rb#8 def _layout; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://railties//lib/rails/info_controller.rb#8 def _layout_conditions; end - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 + # source://railties//lib/rails/info_controller.rb#6 def middleware_stack; end end end @@ -5262,7 +5260,7 @@ class Rails::MailersController < ::Rails::ApplicationController private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 + # source://railties//lib/rails/mailers_controller.rb#5 def _layout(lookup_context, formats); end # source://railties//lib/rails/mailers_controller.rb#90 @@ -5289,18 +5287,18 @@ class Rails::MailersController < ::Rails::ApplicationController def show_previews?; end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/mailers_controller.rb#8 def __callbacks; end - # source://actionpack/7.1.3.4/lib/abstract_controller/helpers.rb#12 + # source://railties//lib/rails/mailers_controller.rb#12 def _helper_methods; end - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 + # source://railties//lib/rails/mailers_controller.rb#5 def middleware_stack; end end end -# source://railties//lib/rails/mailers_controller.rb#0 +# source://railties//lib/rails/mailers_controller.rb#12 module Rails::MailersController::HelperMethods include ::ActionText::ContentHelper include ::ActionText::TagHelper @@ -5331,16 +5329,16 @@ class Rails::Paths::Path # source://railties//lib/rails/paths.rb#132 def absolute_current; end - # source://railties//lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def autoload!; end - # source://railties//lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def autoload?; end - # source://railties//lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def autoload_once!; end - # source://railties//lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def autoload_once?; end # source://railties//lib/rails/paths.rb#136 @@ -5352,10 +5350,10 @@ class Rails::Paths::Path # source://railties//lib/rails/paths.rb#167 def each(&block); end - # source://railties//lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def eager_load!; end - # source://railties//lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def eager_load?; end # Returns all expanded paths but only if they exist in the filesystem. @@ -5392,33 +5390,33 @@ class Rails::Paths::Path # source://railties//lib/rails/paths.rb#147 def last; end - # source://railties//lib/rails/paths.rb#153 + # source://railties//lib/rails/paths.rb#152 def load_path!; end - # source://railties//lib/rails/paths.rb#161 + # source://railties//lib/rails/paths.rb#152 def load_path?; end # source://railties//lib/rails/paths.rb#188 def paths; end - # source://railties//lib/rails/paths.rb#171 + # source://railties//lib/rails/paths.rb#174 def push(path); end - # source://railties//lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_autoload!; end - # source://railties//lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_autoload_once!; end - # source://railties//lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_eager_load!; end - # source://railties//lib/rails/paths.rb#157 + # source://railties//lib/rails/paths.rb#152 def skip_load_path!; end # Expands all paths against the root and return all unique values. # - # source://railties//lib/rails/paths.rb#201 + # source://railties//lib/rails/paths.rb#235 def to_a; end # source://railties//lib/rails/paths.rb#184 @@ -5825,6 +5823,7 @@ class Rails::Railtie # source://railties//lib/rails/railtie.rb#224 def method_missing(name, *args, **_arg2, &block); end + # source://railties//lib/rails/railtie.rb#145 def new(*_arg0); end # receives an instance variable identifier, set the variable value if is @@ -6282,7 +6281,7 @@ class Rails::TestUnit::TestParser < ::Ripper # source://railties//lib/rails/test_unit/test_parser.rb#60 def just_lineno(*_arg0); end - # source://railties//lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#67 def on_arg_paren(arg, *_arg1); end # source://railties//lib/rails/test_unit/test_parser.rb#79 @@ -6294,13 +6293,13 @@ class Rails::TestUnit::TestParser < ::Ripper # source://railties//lib/rails/test_unit/test_parser.rb#75 def on_args_new; end - # source://railties//lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#68 def on_bodystmt(arg, *_arg1); end - # source://railties//lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#73 def on_brace_block(*_arg0); end - # source://railties//lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#65 def on_command(arg, *_arg1); end # source://railties//lib/rails/test_unit/test_parser.rb#52 @@ -6314,13 +6313,13 @@ class Rails::TestUnit::TestParser < ::Ripper # source://railties//lib/rails/test_unit/test_parser.rb#34 def on_def(begin_line, *_arg1); end - # source://railties//lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#71 def on_do_block(*_arg0); end - # source://railties//lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#70 def on_ident(*_arg0); end - # source://railties//lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#64 def on_method_add_arg(arg, *_arg1); end # Everything past this point is to support declarative tests, which @@ -6334,10 +6333,10 @@ class Rails::TestUnit::TestParser < ::Ripper # source://railties//lib/rails/test_unit/test_parser.rb#46 def on_method_add_block(begin_line, end_line); end - # source://railties//lib/rails/test_unit/test_parser.rb#56 + # source://railties//lib/rails/test_unit/test_parser.rb#66 def on_stmts_add(arg, *_arg1); end - # source://railties//lib/rails/test_unit/test_parser.rb#60 + # source://railties//lib/rails/test_unit/test_parser.rb#72 def on_stmts_new(*_arg0); end # source://railties//lib/rails/test_unit/test_parser.rb#25 @@ -6380,20 +6379,20 @@ class Rails::WelcomeController < ::Rails::ApplicationController private - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#330 + # source://railties//lib/rails/welcome_controller.rb#7 def _layout(lookup_context, formats); end class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 + # source://railties//lib/rails/welcome_controller.rb#6 def __callbacks; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#211 + # source://railties//lib/rails/welcome_controller.rb#7 def _layout; end - # source://actionview/7.1.3.4/lib/action_view/layouts.rb#212 + # source://railties//lib/rails/welcome_controller.rb#7 def _layout_conditions; end - # source://actionpack/7.1.3.4/lib/action_controller/metal.rb#262 + # source://railties//lib/rails/welcome_controller.rb#5 def middleware_stack; end end end diff --git a/sorbet/rbi/gems/rainbow@3.1.1.rbi b/sorbet/rbi/gems/rainbow@3.1.1.rbi index d02bc0487..62c9183ee 100644 --- a/sorbet/rbi/gems/rainbow@3.1.1.rbi +++ b/sorbet/rbi/gems/rainbow@3.1.1.rbi @@ -145,7 +145,7 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#9 def background(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#9 + # source://rainbow//lib/rainbow/null_presenter.rb#95 def bg(*_values); end # source://rainbow//lib/rainbow/null_presenter.rb#49 @@ -157,7 +157,7 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#65 def blue; end - # source://rainbow//lib/rainbow/null_presenter.rb#17 + # source://rainbow//lib/rainbow/null_presenter.rb#96 def bold; end # source://rainbow//lib/rainbow/null_presenter.rb#17 @@ -172,16 +172,16 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#73 def cyan; end - # source://rainbow//lib/rainbow/null_presenter.rb#21 + # source://rainbow//lib/rainbow/null_presenter.rb#97 def dark; end # source://rainbow//lib/rainbow/null_presenter.rb#21 def faint; end - # source://rainbow//lib/rainbow/null_presenter.rb#5 + # source://rainbow//lib/rainbow/null_presenter.rb#94 def fg(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#5 + # source://rainbow//lib/rainbow/null_presenter.rb#93 def foreground(*_values); end # source://rainbow//lib/rainbow/null_presenter.rb#57 @@ -208,7 +208,7 @@ class Rainbow::NullPresenter < ::String # source://rainbow//lib/rainbow/null_presenter.rb#13 def reset; end - # source://rainbow//lib/rainbow/null_presenter.rb#45 + # source://rainbow//lib/rainbow/null_presenter.rb#98 def strike; end # source://rainbow//lib/rainbow/null_presenter.rb#29 @@ -237,7 +237,7 @@ class Rainbow::Presenter < ::String # Sets background color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#30 + # source://rainbow//lib/rainbow/presenter.rb#34 def bg(*values); end # source://rainbow//lib/rainbow/presenter.rb#92 @@ -254,7 +254,7 @@ class Rainbow::Presenter < ::String # Turns on bright/bold for this text. # - # source://rainbow//lib/rainbow/presenter.rb#45 + # source://rainbow//lib/rainbow/presenter.rb#49 def bold; end # Turns on bright/bold for this text. @@ -276,7 +276,7 @@ class Rainbow::Presenter < ::String # Turns on faint/dark for this text (not well supported by terminal # emulators). # - # source://rainbow//lib/rainbow/presenter.rb#53 + # source://rainbow//lib/rainbow/presenter.rb#57 def dark; end # Turns on faint/dark for this text (not well supported by terminal @@ -287,12 +287,12 @@ class Rainbow::Presenter < ::String # Sets color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#22 + # source://rainbow//lib/rainbow/presenter.rb#27 def fg(*values); end # Sets color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#22 + # source://rainbow//lib/rainbow/presenter.rb#26 def foreground(*values); end # source://rainbow//lib/rainbow/presenter.rb#100 @@ -334,7 +334,7 @@ class Rainbow::Presenter < ::String # source://rainbow//lib/rainbow/presenter.rb#40 def reset; end - # source://rainbow//lib/rainbow/presenter.rb#86 + # source://rainbow//lib/rainbow/presenter.rb#90 def strike; end # Turns on underline decoration for this text. diff --git a/sorbet/rbi/gems/rake@13.2.1.rbi b/sorbet/rbi/gems/rake@13.2.1.rbi index e3337e33f..442866a05 100644 --- a/sorbet/rbi/gems/rake@13.2.1.rbi +++ b/sorbet/rbi/gems/rake@13.2.1.rbi @@ -559,34 +559,34 @@ module Rake::DSL private - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cd(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chmod(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chmod_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chown(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def chown_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def copy(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cp(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cp_lr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def cp_r(*args, **options, &block); end # Describes the next rake task. Duplicate descriptions are discarded. @@ -650,37 +650,37 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#184 def import(*fns); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def install(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def link(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln_s(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln_sf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def ln_sr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def makedirs(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mkdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mkdir_p(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mkpath(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def move(*args, **options, &block); end # Declare a task that performs its prerequisites in @@ -694,7 +694,7 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#113 def multitask(*args, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def mv(*args, **options, &block); end # Create a new rake namespace and use it for evaluating the given @@ -719,37 +719,37 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#136 def namespace(name = T.unsafe(nil), &block); end - # source://rake//lib/rake/file_utils_ext.rb#77 + # source://rake//lib/rake/dsl_definition.rb#24 def nowrite(value = T.unsafe(nil)); end - # source://rake//lib/rake/file_utils_ext.rb#123 + # source://rake//lib/rake/dsl_definition.rb#24 def rake_check_options(options, *optdecl); end - # source://rake//lib/rake/file_utils_ext.rb#116 + # source://rake//lib/rake/dsl_definition.rb#24 def rake_output_message(message); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def remove(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm_f(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rm_rf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rmdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def rmtree(*args, **options, &block); end - # source://rake//lib/rake/file_utils.rb#98 + # source://rake//lib/rake/dsl_definition.rb#23 def ruby(*args, **options, &block); end # Declare a rule for auto-tasks. @@ -762,19 +762,19 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#152 def rule(*args, &block); end - # source://rake//lib/rake/file_utils.rb#110 + # source://rake//lib/rake/dsl_definition.rb#23 def safe_ln(*args, **options); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def safe_unlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils.rb#43 + # source://rake//lib/rake/dsl_definition.rb#23 def sh(*cmd, &block); end - # source://rake//lib/rake/file_utils.rb#126 + # source://rake//lib/rake/dsl_definition.rb#23 def split_all(path); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def symlink(*args, **options, &block); end # :call-seq: @@ -811,13 +811,13 @@ module Rake::DSL # source://rake//lib/rake/dsl_definition.rb#59 def task(*args, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/dsl_definition.rb#24 def touch(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#53 + # source://rake//lib/rake/dsl_definition.rb#24 def verbose(value = T.unsafe(nil)); end - # source://rake//lib/rake/file_utils_ext.rb#107 + # source://rake//lib/rake/dsl_definition.rb#24 def when_writing(msg = T.unsafe(nil)); end end @@ -856,7 +856,10 @@ class Rake::EarlyTime class << self private + # source://rake//lib/rake/early_time.rb#7 def allocate; end + + # source://rake//lib/rake/early_time.rb#7 def new(*_arg0); end end end @@ -917,7 +920,7 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#99 def initialize(*patterns); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def &(*args, &block); end # Redefine * to return either a string or a new file list. @@ -925,16 +928,16 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#193 def *(other); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def +(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def -(*args, &block); end # source://rake//lib/rake/file_list.rb#203 def <<(obj); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def <=>(*args, &block); end # A FileList is equal through array equality. @@ -942,10 +945,10 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#171 def ==(array); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def [](*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def []=(*args, &block); end # Add file names defined by glob patterns to the file list. If an array @@ -955,40 +958,40 @@ class Rake::FileList # file_list.include("*.java", "*.cfg") # file_list.include %w( math.c lib.h *.o ) # - # source://rake//lib/rake/file_list.rb#116 + # source://rake//lib/rake/file_list.rb#128 def add(*filenames); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def all?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def any?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def append(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def assoc(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def at(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def bsearch(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def bsearch_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def chain(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def chunk(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def chunk_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def clear(*args, &block); end # Clear all the exclude patterns so that we exclude nothing. @@ -996,79 +999,79 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#164 def clear_exclude; end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def collect(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def collect!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def collect_concat(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def combination(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def compact(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def compact!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def concat(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def count(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def cycle(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def deconstruct(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def delete(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def delete_at(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def delete_if(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def detect(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def difference(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def dig(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def drop(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def drop_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_cons(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_entry(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_slice(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_with_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def each_with_object(*args, &block); end # Grep each of the files in the filelist using the given pattern. If a @@ -1080,10 +1083,10 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#293 def egrep(pattern, *options); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def empty?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def entries(*args, &block); end # Register a list of file name patterns that should be excluded from the @@ -1146,49 +1149,49 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#284 def ext(newext = T.unsafe(nil)); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def fetch(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def fill(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def filter(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def filter!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def filter_map(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def find(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def find_all(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def find_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def first(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def flat_map(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def flatten(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def flatten!(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def grep(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def grep_v(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def group_by(*args, &block); end # Return a new FileList with the results of running +gsub+ against each @@ -1219,25 +1222,25 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#116 def include(*filenames); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def include?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def index(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def inject(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def insert(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def inspect(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def intersect?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def intersection(*args, &block); end # Lie about our class. @@ -1247,62 +1250,62 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#187 def is_a?(klass); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def join(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def keep_if(*args, &block); end # Lie about our class. # # @return [Boolean] # - # source://rake//lib/rake/file_list.rb#187 + # source://rake//lib/rake/file_list.rb#190 def kind_of?(klass); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def last(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def lazy(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def length(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def map(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def map!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def max(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def max_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def member?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def min(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def min_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def minmax(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def minmax_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def none?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def one?(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def pack(*args, &block); end # FileList version of partition. Needed because the nested arrays should @@ -1318,43 +1321,43 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#272 def pathmap(spec = T.unsafe(nil), &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def permutation(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def place(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def pop(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def prepend(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def product(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def push(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rassoc(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reduce(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def reject(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reject!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def repeated_combination(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def repeated_permutation(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def replace(*args, &block); end # Resolve all the pending adds now. @@ -1362,73 +1365,73 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#210 def resolve; end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reverse(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reverse!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def reverse_each(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rindex(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rotate(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def rotate!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sample(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def select(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def select!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shelljoin(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shift(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shuffle(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def shuffle!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def size(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice_after(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice_before(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def slice_when(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def sort(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sort!(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def sort_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sort_by!(*args, &block); end # Return a new FileList with the results of running +sub+ against each @@ -1445,16 +1448,16 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#258 def sub!(pat, rep); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def sum(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def take(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def take_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def tally(*args, &block); end # Return the internal array object. @@ -1467,7 +1470,7 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#182 def to_ary; end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def to_h(*args, &block); end # Convert a FileList to a string by joining all elements with a space. @@ -1475,31 +1478,31 @@ class Rake::FileList # source://rake//lib/rake/file_list.rb#344 def to_s; end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def to_set(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def transpose(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def union(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def uniq(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def uniq!(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def unshift(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def values_at(*args, &block); end - # source://rake//lib/rake/file_list.rb#77 + # source://rake//lib/rake/file_list.rb#76 def zip(*args, &block); end - # source://rake//lib/rake/file_list.rb#68 + # source://rake//lib/rake/file_list.rb#67 def |(*args, &block); end private @@ -1617,70 +1620,70 @@ module Rake::FileUtilsExt extend ::FileUtils extend ::Rake::FileUtilsExt - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cd(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chmod(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chmod_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chown(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def chown_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def copy(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cp(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cp_lr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def cp_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def install(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def link(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln_s(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln_sf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def ln_sr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def makedirs(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mkdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mkdir_p(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mkpath(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def move(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def mv(*args, **options, &block); end # Get/set the nowrite flag controlling output from the FileUtils @@ -1712,34 +1715,34 @@ module Rake::FileUtilsExt # source://rake//lib/rake/file_utils_ext.rb#116 def rake_output_message(message); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def remove(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm_f(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rm_rf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rmdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def rmtree(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def safe_unlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def symlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#34 + # source://rake//lib/rake/file_utils_ext.rb#33 def touch(*args, **options, &block); end # Get/set the verbose flag controlling output from the FileUtils @@ -1898,7 +1901,10 @@ class Rake::LateTime class << self private + # source://rake//lib/rake/late_time.rb#6 def allocate; end + + # source://rake//lib/rake/late_time.rb#6 def new(*_arg0); end end end @@ -2393,7 +2399,7 @@ class Rake::Task # List of prerequisites for a task. # - # source://rake//lib/rake/task.rb#17 + # source://rake//lib/rake/task.rb#18 def prereqs; end # List of prerequisite tasks @@ -2600,7 +2606,7 @@ class Rake::TaskArguments # # @return [Boolean] # - # source://rake//lib/rake/task_arguments.rb#88 + # source://rake//lib/rake/task_arguments.rb#91 def key?(key); end # Returns the value of the given argument via method_missing @@ -3037,16 +3043,16 @@ class Rake::ThreadHistoryDisplay private - # source://rake//lib/rake/private_reader.rb#15 + # source://rake//lib/rake/thread_history_display.rb#9 def items; end # source://rake//lib/rake/thread_history_display.rb#35 def rename(hash, key, renames); end - # source://rake//lib/rake/private_reader.rb#15 + # source://rake//lib/rake/thread_history_display.rb#9 def stats; end - # source://rake//lib/rake/private_reader.rb#15 + # source://rake//lib/rake/thread_history_display.rb#9 def threads; end end diff --git a/sorbet/rbi/gems/rbi@0.1.14.rbi b/sorbet/rbi/gems/rbi@0.1.14.rbi index f3f580c93..42bf9dd25 100644 --- a/sorbet/rbi/gems/rbi@0.1.14.rbi +++ b/sorbet/rbi/gems/rbi@0.1.14.rbi @@ -2097,11 +2097,6 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct # source://rbi//lib/rbi/rewriters/merge_trees.rb#95 sig { returns(::String) } def to_s; end - - class << self - # source://sorbet-runtime/0.5.11481/lib/types/struct.rb#13 - def inherited(s); end - end end # Merge adjacent conflict trees @@ -2314,11 +2309,6 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#141 sig { returns(::String) } def to_s; end - - class << self - # source://sorbet-runtime/0.5.11481/lib/types/struct.rb#13 - def inherited(s); end - end end # source://rbi//lib/rbi/rewriters/sort_nodes.rb#6 @@ -2878,67 +2868,6 @@ class RBI::Tree < ::RBI::NodeWithComments sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#38 - sig do - params( - name: ::String, - superclass_name: T.nilable(::String), - block: T.nilable(T.proc.params(scope: ::RBI::Scope).void) - ).returns(::RBI::Scope) - end - def create_class(name, superclass_name: T.unsafe(nil), &block); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#45 - sig { params(name: ::String, value: ::String).void } - def create_constant(name, value:); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#55 - sig { params(name: ::String).void } - def create_extend(name); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#50 - sig { params(name: ::String).void } - def create_include(name); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#90 - sig do - params( - name: ::String, - parameters: T::Array[::RBI::TypedParam], - return_type: T.nilable(::String), - class_method: T::Boolean, - visibility: ::RBI::Visibility, - comments: T::Array[::RBI::Comment], - block: T.nilable(T.proc.params(node: ::RBI::Method).void) - ).void - end - def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil), &block); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#60 - sig { params(name: ::String).void } - def create_mixes_in_class_methods(name); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#25 - sig { params(name: ::String, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } - def create_module(name, &block); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#9 - sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } - def create_path(constant, &block); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#74 - sig do - params( - name: ::String, - type: ::String, - variance: ::Symbol, - fixed: T.nilable(::String), - upper: T.nilable(::String), - lower: T.nilable(::String) - ).void - end - def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/deannotate.rb#41 sig { params(annotation: ::String).void } def deannotate!(annotation); end @@ -2989,16 +2918,6 @@ class RBI::Tree < ::RBI::NodeWithComments # source://rbi//lib/rbi/rewriters/sort_nodes.rb#119 sig { void } def sort_nodes!; end - - private - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#123 - sig { params(node: ::RBI::Node).returns(::RBI::Node) } - def create_node(node); end - - # source://tapioca/0.15.1/lib/tapioca/rbi_ext/model.rb#118 - sig { returns(T::Hash[::String, ::RBI::Node]) } - def nodes_cache; end end # source://rbi//lib/rbi/model.rb#1400 diff --git a/sorbet/rbi/gems/rdoc@6.7.0.rbi b/sorbet/rbi/gems/rdoc@6.7.0.rbi index ad2e9bf7b..630e37596 100644 --- a/sorbet/rbi/gems/rdoc@6.7.0.rbi +++ b/sorbet/rbi/gems/rdoc@6.7.0.rbi @@ -130,7 +130,7 @@ class RDoc::Alias < ::RDoc::CodeObject # Aliased method's name # - # source://rdoc//lib/rdoc/alias.rb#14 + # source://rdoc//lib/rdoc/alias.rb#16 def name; end # '::' for the alias of a singleton method/attribute, '#' for instance-level. @@ -150,7 +150,7 @@ class RDoc::Alias < ::RDoc::CodeObject # New name with prefix '::' or '#'. # - # source://rdoc//lib/rdoc/alias.rb#101 + # source://rdoc//lib/rdoc/alias.rb#105 def pretty_name; end # New name with prefix '::' or '#'. @@ -551,7 +551,7 @@ class RDoc::ClassModule < ::RDoc::Context # # Ancestors of this class or module only # - # source://rdoc//lib/rdoc/class_module.rb#171 + # source://rdoc//lib/rdoc/class_module.rb#190 def direct_ancestors; end # Does this ClassModule or any of its methods have document_self set? @@ -1108,7 +1108,7 @@ class RDoc::Comment # # For duck-typing when merging classes at load time # - # source://rdoc//lib/rdoc/comment.rb#24 + # source://rdoc//lib/rdoc/comment.rb#34 def file; end # The format of this comment. Defaults to RDoc::Markup @@ -1195,7 +1195,7 @@ class RDoc::Comment # # Alias for text # - # source://rdoc//lib/rdoc/comment.rb#39 + # source://rdoc//lib/rdoc/comment.rb#44 def to_s; end # Returns true if this comment is in TomDoc format. @@ -1973,7 +1973,7 @@ class RDoc::Context::Section # Sections are equal when they have the same #title # - # source://rdoc//lib/rdoc/context/section.rb#54 + # source://rdoc//lib/rdoc/context/section.rb#58 def eql?(other); end # Extracts the comment for this section from the original comment block. @@ -4232,7 +4232,7 @@ class RDoc::Markdown # The internal kpeg parse method # - # source://rdoc//lib/rdoc/markdown.rb#414 + # source://rdoc//lib/rdoc/markdown.rb#787 def peg_parse(rule = T.unsafe(nil)); end # Returns the value of attribute pos. @@ -4331,7 +4331,7 @@ class RDoc::Markdown # # @return [Markdown] a new instance of Markdown # - # source://rdoc//lib/rdoc/markdown.rb#188 + # source://rdoc//lib/rdoc/markdown.rb#663 def orig_initialize(str, debug = T.unsafe(nil)); end class << self @@ -4357,63 +4357,92 @@ class RDoc::Markdown::KpegPosInfo < ::Struct # Returns the value of attribute char # # @return [Object] the current value of char + # + # source://rdoc//lib/rdoc/markdown.rb#257 def char; end # Sets the attribute char # # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def char=(_); end # Returns the value of attribute col # # @return [Object] the current value of col + # + # source://rdoc//lib/rdoc/markdown.rb#257 def col; end # Sets the attribute col # # @param value [Object] the value to set the attribute col to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def col=(_); end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rdoc//lib/rdoc/markdown.rb#257 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def line=(_); end # Returns the value of attribute lno # # @return [Object] the current value of lno + # + # source://rdoc//lib/rdoc/markdown.rb#257 def lno; end # Sets the attribute lno # # @param value [Object] the value to set the attribute lno to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def lno=(_); end # Returns the value of attribute pos # # @return [Object] the current value of pos + # + # source://rdoc//lib/rdoc/markdown.rb#257 def pos; end # Sets the attribute pos # # @param value [Object] the value to set the attribute pos to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown.rb#257 def pos=(_); end class << self + # source://rdoc//lib/rdoc/markdown.rb#257 def [](*_arg0); end + + # source://rdoc//lib/rdoc/markdown.rb#257 def inspect; end + + # source://rdoc//lib/rdoc/markdown.rb#257 def keyword_init?; end + + # source://rdoc//lib/rdoc/markdown.rb#257 def members; end + + # source://rdoc//lib/rdoc/markdown.rb#257 def new(*_arg0); end end end @@ -4606,63 +4635,92 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct # Returns the value of attribute char # # @return [Object] the current value of char + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def char; end # Sets the attribute char # # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def char=(_); end # Returns the value of attribute col # # @return [Object] the current value of col + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def col; end # Sets the attribute col # # @param value [Object] the value to set the attribute col to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def col=(_); end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def line=(_); end # Returns the value of attribute lno # # @return [Object] the current value of lno + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def lno; end # Sets the attribute lno # # @param value [Object] the value to set the attribute lno to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def lno=(_); end # Returns the value of attribute pos # # @return [Object] the current value of pos + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def pos; end # Sets the attribute pos # # @param value [Object] the value to set the attribute pos to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def pos=(_); end class << self + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def [](*_arg0); end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def inspect; end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def keyword_init?; end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def members; end + + # source://rdoc//lib/rdoc/markdown/literals.rb#86 def new(*_arg0); end end end @@ -4851,6 +4909,53 @@ class RDoc::Markup::AttrChanger < ::Struct # source://rdoc//lib/rdoc/markup/attr_changer.rb#14 def to_s; end + + # Returns the value of attribute turn_off + # + # @return [Object] the current value of turn_off + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_off; end + + # Sets the attribute turn_off + # + # @param value [Object] the value to set the attribute turn_off to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_off=(_); end + + # Returns the value of attribute turn_on + # + # @return [Object] the current value of turn_on + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_on; end + + # Sets the attribute turn_on + # + # @param value [Object] the value to set the attribute turn_on to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def turn_on=(_); end + + class << self + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def [](*_arg0); end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def inspect; end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def keyword_init?; end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def members; end + + # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + def new(*_arg0); end + end end # An array of attributes which parallels the characters in a string. @@ -5314,6 +5419,74 @@ class RDoc::Markup::Formatter end end +# Tag for inline markup containing a +bit+ for the bitmask and the +on+ and +# +off+ triggers. +# +# source://rdoc//lib/rdoc/markup/formatter.rb#19 +class RDoc::Markup::Formatter::InlineTag < ::Struct + # Returns the value of attribute bit + # + # @return [Object] the current value of bit + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def bit; end + + # Sets the attribute bit + # + # @param value [Object] the value to set the attribute bit to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def bit=(_); end + + # Returns the value of attribute off + # + # @return [Object] the current value of off + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def off; end + + # Sets the attribute off + # + # @param value [Object] the value to set the attribute off to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def off=(_); end + + # Returns the value of attribute on + # + # @return [Object] the current value of on + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def on; end + + # Sets the attribute on + # + # @param value [Object] the value to set the attribute on to. + # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def on=(_); end + + class << self + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def [](*_arg0); end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def inspect; end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def keyword_init?; end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def members; end + + # source://rdoc//lib/rdoc/markup/formatter.rb#19 + def new(*_arg0); end + end +end + # A hard-break in the middle of a paragraph. # # source://rdoc//lib/rdoc/markup/hard_break.rb#5 @@ -5348,13 +5521,40 @@ class RDoc::Markup::Heading < ::Struct # source://rdoc//lib/rdoc/markup/heading.rb#55 def label(context = T.unsafe(nil)); end + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def level; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def level=(_); end + # source://rdoc//lib/rdoc/markup/heading.rb#68 def plain_html; end # source://rdoc//lib/rdoc/markup/heading.rb#72 def pretty_print(q); end + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def text; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def text=(_); end + class << self + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def [](*_arg0); end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def inspect; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def keyword_init?; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def members; end + + # source://rdoc//lib/rdoc/markup/heading.rb#6 + def new(*_arg0); end + # source://rdoc//lib/rdoc/markup/heading.rb#22 def to_html; end @@ -7075,7 +7275,7 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#74 def accept_blank_line(markup_item); end # Adds tts from +block_quote+ to the output @@ -7086,7 +7286,7 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#75 def accept_heading(markup_item); end # Pops the list type for +list+ from #list_type @@ -7097,7 +7297,7 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#76 def accept_list_item_end(markup_item); end # Prepares the visitor for consuming +list_item+ @@ -7118,19 +7318,19 @@ class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#77 def accept_raw(markup_item); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#78 def accept_rule(markup_item); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # source://rdoc//lib/rdoc/markup/to_tt_only.rb#79 def accept_verbatim(markup_item); end # Does nothing to +markup_item+ because it doesn't have any user-built @@ -7498,7 +7698,7 @@ class RDoc::Mixin < ::RDoc::CodeObject # source://rdoc//lib/rdoc/mixin.rb#32 def ==(other); end - # source://rdoc//lib/rdoc/mixin.rb#32 + # source://rdoc//lib/rdoc/mixin.rb#36 def eql?(other); end # Full name based on #module @@ -8836,67 +9036,91 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # Returns the value of attribute author # # @return [Object] the current value of author + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def author; end # Sets the attribute author # # @param value [Object] the value to set the attribute author to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def author=(_); end # Returns the value of attribute base # # @return [Object] the current value of base + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def base; end # Sets the attribute base # # @param value [Object] the value to set the attribute base to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def base=(_); end # Returns the value of attribute commit # # @return [Object] the current value of commit + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def commit; end # Sets the attribute commit # # @param value [Object] the value to set the attribute commit to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def commit=(_); end # Returns the value of attribute contents # # @return [Object] the current value of contents + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def contents; end # Sets the attribute contents # # @param value [Object] the value to set the attribute contents to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def contents=(_); end # Returns the value of attribute date # # @return [Object] the current value of date + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def date; end # Sets the attribute date # # @param value [Object] the value to set the attribute date to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def date=(_); end # Returns the value of attribute email # # @return [Object] the current value of email + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def email; end # Sets the attribute email # # @param value [Object] the value to set the attribute email to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def email=(_); end # source://rdoc//lib/rdoc/parser/changelog.rb#298 @@ -8912,10 +9136,19 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct def text; end class << self + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def [](*_arg0); end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def inspect; end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def keyword_init?; end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def members; end + + # source://rdoc//lib/rdoc/parser/changelog.rb#270 def new(*_arg0); end end end @@ -9081,63 +9314,92 @@ class RDoc::Parser::RipperStateLex::Token < ::Struct # Returns the value of attribute char_no # # @return [Object] the current value of char_no + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def char_no; end # Sets the attribute char_no # # @param value [Object] the value to set the attribute char_no to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def char_no=(_); end # Returns the value of attribute kind # # @return [Object] the current value of kind + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def kind; end # Sets the attribute kind # # @param value [Object] the value to set the attribute kind to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def kind=(_); end # Returns the value of attribute line_no # # @return [Object] the current value of line_no + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def line_no; end # Sets the attribute line_no # # @param value [Object] the value to set the attribute line_no to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def line_no=(_); end # Returns the value of attribute state # # @return [Object] the current value of state + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def state; end # Sets the attribute state # # @param value [Object] the value to set the attribute state to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def state=(_); end # Returns the value of attribute text # # @return [Object] the current value of text + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def text; end # Sets the attribute text # # @param value [Object] the value to set the attribute text to. # @return [Object] the newly set value + # + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def text=(_); end class << self + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def [](*_arg0); end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def inspect; end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def keyword_init?; end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def members; end + + # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 def new(*_arg0); end end end @@ -10185,7 +10447,7 @@ class RDoc::RD::Inline # The markup of this reference in RDoc format # - # source://rdoc//lib/rdoc/rd/inline.rb#15 + # source://rdoc//lib/rdoc/rd/inline.rb#69 def to_s; end class << self @@ -12336,7 +12598,7 @@ module RDoc::TokenStream # Starts collecting tokens # - # source://rdoc//lib/rdoc/token_stream.rb#91 + # source://rdoc//lib/rdoc/token_stream.rb#95 def start_collecting_tokens; end # Current token stream @@ -12581,7 +12843,7 @@ class RDoc::TopLevel < ::RDoc::Context # An RDoc::TopLevel is equal to another with the same relative_name # - # source://rdoc//lib/rdoc/top_level.rb#67 + # source://rdoc//lib/rdoc/top_level.rb#71 def eql?(other); end # This TopLevel's File::Stat struct @@ -12648,7 +12910,7 @@ class RDoc::TopLevel < ::RDoc::Context # Base name of this file # - # source://rdoc//lib/rdoc/top_level.rb#120 + # source://rdoc//lib/rdoc/top_level.rb#124 def name; end # Returns the NormalClass "Object", creating it if not found. diff --git a/sorbet/rbi/gems/redis-client@0.22.2.rbi b/sorbet/rbi/gems/redis-client@0.22.2.rbi index 66680e2e8..f383da717 100644 --- a/sorbet/rbi/gems/redis-client@0.22.2.rbi +++ b/sorbet/rbi/gems/redis-client@0.22.2.rbi @@ -105,7 +105,7 @@ class RedisClient # @yield [_self] # @yieldparam _self [RedisClient] the object that the method was called on # - # source://redis-client//lib/redis_client.rb#240 + # source://redis-client//lib/redis_client.rb#243 def then(_options = T.unsafe(nil)); end # source://redis-client//lib/redis_client.rb#208 @@ -195,7 +195,7 @@ class RedisClient::BasicMiddleware # @yield [command] # - # source://redis-client//lib/redis_client/middlewares.rb#15 + # source://redis-client//lib/redis_client/middlewares.rb#18 def call_pipelined(command, _config); end # Returns the value of attribute client. @@ -471,6 +471,8 @@ module RedisClient::Config::Common def ssl; end # Returns the value of attribute ssl. + # + # source://redis-client//lib/redis_client/config.rb#19 def ssl?; end # source://redis-client//lib/redis_client/config.rb#123 @@ -554,22 +556,22 @@ class RedisClient::Decorator::Client # source://redis-client//lib/redis_client/decorator.rb#40 def initialize(_client); end - # source://redis-client//lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def close(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def config; end - # source://redis-client//lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def connect_timeout; end - # source://redis-client//lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def connect_timeout=(value); end - # source://redis-client//lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def hscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def id; end # source://redis-client//lib/redis_client/decorator.rb#54 @@ -578,37 +580,37 @@ class RedisClient::Decorator::Client # source://redis-client//lib/redis_client/decorator.rb#50 def pipelined(exception: T.unsafe(nil)); end - # source://redis-client//lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def pubsub; end - # source://redis-client//lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def read_timeout; end - # source://redis-client//lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def read_timeout=(value); end - # source://redis-client//lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def scan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def size; end - # source://redis-client//lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def sscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def timeout=(value); end # source://redis-client//lib/redis_client/decorator.rb#45 def with(*args, **_arg1); end - # source://redis-client//lib/redis_client/decorator.rb#69 + # source://redis-client//lib/redis_client/decorator.rb#68 def write_timeout; end - # source://redis-client//lib/redis_client/decorator.rb#77 + # source://redis-client//lib/redis_client/decorator.rb#76 def write_timeout=(value); end - # source://redis-client//lib/redis_client/decorator.rb#60 + # source://redis-client//lib/redis_client/decorator.rb#59 def zscan(*args, **_arg1, &block); end end @@ -617,22 +619,22 @@ module RedisClient::Decorator::CommandsMixin # source://redis-client//lib/redis_client/decorator.rb#19 def initialize(client); end - # source://redis-client//lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def blocking_call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def blocking_call_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call_once(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call_once_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#25 + # source://redis-client//lib/redis_client/decorator.rb#24 def call_v(*args, **_arg1, &block); end end @@ -791,55 +793,55 @@ class RedisClient::Pooled # source://redis-client//lib/redis_client/pooled.rb#11 def initialize(config, id: T.unsafe(nil), connect_timeout: T.unsafe(nil), read_timeout: T.unsafe(nil), write_timeout: T.unsafe(nil), **kwargs); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def blocking_call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def blocking_call_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call_once(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call_once_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def call_v(*args, **_arg1, &block); end # source://redis-client//lib/redis_client/pooled.rb#37 def close; end - # source://redis-client//lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def hscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def multi(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def pipelined(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#56 + # source://redis-client//lib/redis_client/pooled.rb#55 def pubsub(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def scan(*args, **_arg1, &block); end # source://redis-client//lib/redis_client/pooled.rb#48 def size; end - # source://redis-client//lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def sscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#25 + # source://redis-client//lib/redis_client/pooled.rb#35 def then(options = T.unsafe(nil)); end # source://redis-client//lib/redis_client/pooled.rb#25 def with(options = T.unsafe(nil)); end - # source://redis-client//lib/redis_client/pooled.rb#65 + # source://redis-client//lib/redis_client/pooled.rb#64 def zscan(*args, **_arg1, &block); end private diff --git a/sorbet/rbi/gems/redis@5.0.8.rbi b/sorbet/rbi/gems/redis@5.0.8.rbi index 1f9da1689..1f477de7b 100644 --- a/sorbet/rbi/gems/redis@5.0.8.rbi +++ b/sorbet/rbi/gems/redis@5.0.8.rbi @@ -68,7 +68,7 @@ class Redis # Disconnect the client as quickly and silently as possible. # - # source://redis//lib/redis.rb#88 + # source://redis//lib/redis.rb#92 def disconnect!; end # source://redis//lib/redis.rb#118 diff --git a/sorbet/rbi/gems/regexp_parser@2.9.2.rbi b/sorbet/rbi/gems/regexp_parser@2.9.2.rbi index 584c4553e..75b3b2e84 100644 --- a/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +++ b/sorbet/rbi/gems/regexp_parser@2.9.2.rbi @@ -16,7 +16,7 @@ class Regexp::Expression::Alternation < ::Regexp::Expression::SequenceOperation # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#9 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#131 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#130 def match_length; end end @@ -42,7 +42,7 @@ Regexp::Expression::Anchor::BOS = Regexp::Expression::Anchor::BeginningOfString # source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#3 class Regexp::Expression::Anchor::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end end @@ -111,7 +111,7 @@ module Regexp::Expression::Assertion; end # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#65 class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end end @@ -198,7 +198,7 @@ class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backrefere # Returns the value of attribute name. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#36 def reference; end end @@ -238,7 +238,7 @@ class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backrefe # Returns the value of attribute number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#26 def reference; end end @@ -286,7 +286,7 @@ class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression:: # Returns the value of attribute effective_number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45 + # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#46 def reference; end end @@ -300,12 +300,12 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#11 def =~(string, offset = T.unsafe(nil)); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#28 def a?; end # @return [Boolean] @@ -313,7 +313,7 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25 def ascii_classes?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#60 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#74 def attributes; end # @return [Boolean] @@ -321,21 +321,21 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8 def case_insensitive?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def conditional_level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def conditional_level=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def custom_to_s_handling; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def custom_to_s_handling=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#23 def d?; end # @return [Boolean] @@ -345,7 +345,7 @@ class Regexp::Expression::Base # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#18 def extended?; end # @return [Boolean] @@ -360,28 +360,28 @@ class Regexp::Expression::Base # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#11 def i?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#12 def ignore_case?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/base.rb#51 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#54 def lazy?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def level=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#6 def m?; end # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#8 @@ -394,7 +394,7 @@ class Regexp::Expression::Base # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#6 def matches?(string); end # @return [Boolean] @@ -402,19 +402,19 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#3 def multiline?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def nesting_level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def options; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def options=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def parent; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def parent=(_arg0); end # @return [Boolean] @@ -422,13 +422,13 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/base.rb#56 def possessive?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def pre_quantifier_decorations; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def pre_quantifier_decorations=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def quantifier; end # source://regexp_parser//lib/regexp_parser/expression/base.rb#17 @@ -447,10 +447,10 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/base.rb#31 def repetitions; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def set_level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def set_level=(_arg0); end # %l Level (depth) of the expression. Returns 'root' for the root @@ -486,7 +486,7 @@ class Regexp::Expression::Base # %m Most info, same as '%b %q' # %a All info, same as '%m %t' # - # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#37 + # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#98 def strfre(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end # %l Level (depth) of the expression. Returns 'root' for the root @@ -525,16 +525,16 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#37 def strfregexp(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def te; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def te=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def text; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def text=(_arg0); end # source://regexp_parser//lib/regexp_parser/expression/base.rb#60 @@ -543,27 +543,27 @@ class Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/base.rb#9 def to_re(format = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def token; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def token=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def ts; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def ts=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def type; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/base.rb#3 def type=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#33 def u?; end # @return [Boolean] @@ -576,7 +576,7 @@ class Regexp::Expression::Base # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#17 def x?; end end @@ -604,10 +604,10 @@ class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression # Returns the value of attribute closed. # - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3 + # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#4 def closed?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#12 @@ -637,7 +637,7 @@ class Regexp::Expression::CharacterSet::IntersectedSequence < ::Regexp::Expressi # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#29 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end end @@ -646,7 +646,7 @@ class Regexp::Expression::CharacterSet::Intersection < ::Regexp::Expression::Seq # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#30 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end end @@ -666,7 +666,7 @@ class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpress # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#31 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#16 @@ -687,7 +687,7 @@ end # source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#3 class Regexp::Expression::CharacterType::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#17 @@ -749,7 +749,7 @@ class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#35 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end # Name or number of the referenced capturing group that determines state. @@ -793,7 +793,7 @@ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexp # @raise [TooManyBranches] # - # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34 + # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#39 def branch(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#50 @@ -808,7 +808,7 @@ class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexp # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#131 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#130 def match_length; end # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17 @@ -884,7 +884,7 @@ class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#4 def codepoint; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end end @@ -966,7 +966,7 @@ class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::Es # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#2 class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end # @raise [Regexp::Parser::Error] @@ -1008,7 +1008,7 @@ class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base # Returns the value of attribute number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#42 def identifier; end # Returns the value of attribute number. @@ -1067,7 +1067,7 @@ class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture # Returns the value of attribute name. # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46 + # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#47 def identifier; end # Returns the value of attribute name. @@ -1141,7 +1141,7 @@ class Regexp::Expression::Keep::Mark < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#39 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#147 def match_length; end end @@ -1165,7 +1165,7 @@ Regexp::Expression::Nonproperty = Regexp::Expression::UnicodeProperty # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#2 class Regexp::Expression::PosixClass < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#3 @@ -1200,28 +1200,28 @@ class Regexp::Expression::Quantifier # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11 def initialize(*args); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def conditional_level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def conditional_level=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def custom_to_s_handling; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def custom_to_s_handling=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#30 def greedy?; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#36 def lazy?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def level=(_arg0); end # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#42 @@ -1233,73 +1233,73 @@ class Regexp::Expression::Quantifier # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#46 def mode; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def nesting_level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def options; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def options=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def parent; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def parent=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#30 def possessive?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def pre_quantifier_decorations; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def pre_quantifier_decorations=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#14 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def quantifier; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#30 def reluctant?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def set_level; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def set_level=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def te; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def te=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def text; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def text=(_arg0); end # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#19 def to_h; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def token; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def token=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def ts; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def ts=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def type; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#9 + # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#7 def type=(_arg0); end private @@ -1394,7 +1394,7 @@ module Regexp::Expression::Shared # When changing the conditions, please make sure to update # #pretty_print_instance_variables so that it includes all relevant values. # - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#108 def ===(other); end # source://regexp_parser//lib/regexp_parser/expression/shared.rb#51 @@ -1420,7 +1420,7 @@ module Regexp::Expression::Shared # When changing the conditions, please make sure to update # #pretty_print_instance_variables so that it includes all relevant values. # - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101 + # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#109 def eql?(other); end # source://regexp_parser//lib/regexp_parser/expression/shared.rb#55 @@ -1586,7 +1586,7 @@ module Regexp::Expression::Shared # lit.to_s(:base) # => 'a' # without quantifier # lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations # - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#72 + # source://regexp_parser//lib/regexp_parser/expression/shared.rb#82 def to_str(format = T.unsafe(nil)); end # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#37 @@ -1670,16 +1670,16 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#20 def <<(exp); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def [](*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def at(*args, &block); end # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#33 def dig(*indices); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def each(*args, &block); end # Traverses the expression, passing each recursive child to the @@ -1690,7 +1690,7 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#8 def each_expression(include_self = T.unsafe(nil), &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def empty?(*args, &block); end # Returns the value of attribute expressions. @@ -1708,7 +1708,7 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#50 def extract_quantifier_target(quantifier_description); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def fetch(*args, &block); end # Returns a new array with the results of calling the given block once @@ -1718,19 +1718,19 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#56 def flat_map(include_self = T.unsafe(nil), &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def index(*args, &block); end # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#118 def inner_match_length; end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def join(*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def last(*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def length(*args, &block); end # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#111 @@ -1739,7 +1739,7 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#21 def parts; end - # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102 + # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#112 def strfre_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102 @@ -1767,7 +1767,7 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32 def traverse(include_self = T.unsafe(nil), &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27 + # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#26 def values_at(*args, &block); end # Traverses the subexpression (depth-first, pre-order) and calls the given @@ -1783,7 +1783,7 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # # Returns self. # - # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32 + # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#51 def walk(include_self = T.unsafe(nil), &block); end protected @@ -1830,7 +1830,7 @@ class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::Unic # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#3 class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98 + # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#97 def match_length; end # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#4 @@ -2214,7 +2214,7 @@ class Regexp::Lexer # source://regexp_parser//lib/regexp_parser/lexer.rb#16 def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end - # source://regexp_parser//lib/regexp_parser/lexer.rb#16 + # source://regexp_parser//lib/regexp_parser/lexer.rb#82 def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end end end @@ -3011,12 +3011,12 @@ class Regexp::Syntax::Base # @raise [NotImplementedError] # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#40 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#44 def check!(type, token); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#31 + # source://regexp_parser//lib/regexp_parser/syntax/base.rb#34 def check?(type, token); end # source://regexp_parser//lib/regexp_parser/syntax/base.rb#26 @@ -3713,13 +3713,19 @@ Regexp::TOKEN_KEYS = T.let(T.unsafe(nil), Array) # source://regexp_parser//lib/regexp_parser/token.rb#13 class Regexp::Token < ::Struct + # source://regexp_parser//lib/regexp_parser/token.rb#13 def conditional_level; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def conditional_level=(_); end # source://regexp_parser//lib/regexp_parser/token.rb#20 def length; end + # source://regexp_parser//lib/regexp_parser/token.rb#13 def level; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def level=(_); end # Returns the value of attribute next. @@ -3749,24 +3755,56 @@ class Regexp::Token < ::Struct # source://regexp_parser//lib/regexp_parser/token.rb#14 def previous=(_arg0); end + # source://regexp_parser//lib/regexp_parser/token.rb#13 def set_level; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def set_level=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def te; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def te=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def text; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def text=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def token; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def token=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def ts; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def ts=(_); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def type; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def type=(_); end class << self + # source://regexp_parser//lib/regexp_parser/token.rb#13 def [](*_arg0); end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def inspect; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def keyword_init?; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def members; end + + # source://regexp_parser//lib/regexp_parser/token.rb#13 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/reline@0.5.9.rbi b/sorbet/rbi/gems/reline@0.5.9.rbi index 6c8a636e2..67138a3c4 100644 --- a/sorbet/rbi/gems/reline@0.5.9.rbi +++ b/sorbet/rbi/gems/reline@0.5.9.rbi @@ -10,21 +10,185 @@ module Reline extend ::Forwardable extend ::SingleForwardable + # source://reline//lib/reline.rb#454 + def eof?(*args, **_arg1, &block); end + + private + + # source://reline//lib/reline.rb#443 + def readline(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#476 + def readmultiline(*args, **_arg1, &block); end + class << self + # source://reline//lib/reline.rb#471 + def add_dialog_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#468 + def ambiguous_width(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def auto_indent_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def auto_indent_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#473 + def autocompletion(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#473 + def autocompletion=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def basic_quote_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def basic_quote_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def basic_word_break_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def basic_word_break_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completer_quote_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completer_quote_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completer_word_break_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completer_word_break_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completion_append_character(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completion_append_character=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#441 + def completion_case_fold(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#441 + def completion_case_fold=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completion_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def completion_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#442 + def completion_quote_character(*args, **_arg1, &block); end + # source://reline//lib/reline.rb#483 def core; end + # source://reline//lib/reline.rb#455 + def delete_text(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#472 + def dialog_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def dig_perfect_match_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def dig_perfect_match_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#439 + def emacs_editing_mode(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#467 + def emacs_editing_mode?(*args, **_arg1, &block); end + # source://reline//lib/reline.rb#479 def encoding_system_needs; end + # source://reline//lib/reline.rb#453 + def eof?(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def filename_quote_characters(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def filename_quote_characters=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#452 + def get_screen_size(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#438 + def input=(*args, **_arg1, &block); end + # source://reline//lib/reline.rb#460 def insert_text(*args, &block); end + # source://reline//lib/reline.rb#469 + def last_incremental_search(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#470 + def last_incremental_search=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#456 + def line_buffer(*args, **_arg1, &block); end + # source://reline//lib/reline.rb#503 def line_editor; end + # source://reline//lib/reline.rb#438 + def output=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def output_modifier_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def output_modifier_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#457 + def point(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#458 + def point=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def pre_input_hook(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def pre_input_hook=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def prompt_proc(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def prompt_proc=(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#440 + def readline(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#475 + def readmultiline(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#466 + def redisplay(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def special_prefixes(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#436 + def special_prefixes=(*args, **_arg1, &block); end + # source://reline//lib/reline.rb#499 def ungetc(c); end + + # source://reline//lib/reline.rb#439 + def vi_editing_mode(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#467 + def vi_editing_mode?(*args, **_arg1, &block); end end end @@ -386,6 +550,12 @@ class Reline::Core # source://reline//lib/reline.rb#146 def auto_indent_proc=(p); end + # source://reline//lib/reline.rb#63 + def autocompletion(*args, **_arg1, &block); end + + # source://reline//lib/reline.rb#63 + def autocompletion=(*args, **_arg1, &block); end + # source://reline//lib/reline.rb#54 def basic_quote_characters; end @@ -594,12 +764,237 @@ end # source://reline//lib/reline.rb#40 Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array) +# source://reline//lib/reline.rb#160 +class Reline::Core::DialogProc < ::Struct + # Returns the value of attribute context + # + # @return [Object] the current value of context + # + # source://reline//lib/reline.rb#160 + def context; end + + # Sets the attribute context + # + # @param value [Object] the value to set the attribute context to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#160 + def context=(_); end + + # Returns the value of attribute dialog_proc + # + # @return [Object] the current value of dialog_proc + # + # source://reline//lib/reline.rb#160 + def dialog_proc; end + + # Sets the attribute dialog_proc + # + # @param value [Object] the value to set the attribute dialog_proc to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#160 + def dialog_proc=(_); end + + class << self + # source://reline//lib/reline.rb#160 + def [](*_arg0); end + + # source://reline//lib/reline.rb#160 + def inspect; end + + # source://reline//lib/reline.rb#160 + def keyword_init?; end + + # source://reline//lib/reline.rb#160 + def members; end + + # source://reline//lib/reline.rb#160 + def new(*_arg0); end + end +end + +# source://reline//lib/reline.rb#27 +class Reline::CursorPos < ::Struct + # Returns the value of attribute x + # + # @return [Object] the current value of x + # + # source://reline//lib/reline.rb#27 + def x; end + + # Sets the attribute x + # + # @param value [Object] the value to set the attribute x to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#27 + def x=(_); end + + # Returns the value of attribute y + # + # @return [Object] the current value of y + # + # source://reline//lib/reline.rb#27 + def y; end + + # Sets the attribute y + # + # @param value [Object] the value to set the attribute y to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#27 + def y=(_); end + + class << self + # source://reline//lib/reline.rb#27 + def [](*_arg0); end + + # source://reline//lib/reline.rb#27 + def inspect; end + + # source://reline//lib/reline.rb#27 + def keyword_init?; end + + # source://reline//lib/reline.rb#27 + def members; end + + # source://reline//lib/reline.rb#27 + def new(*_arg0); end + end +end + # source://reline//lib/reline.rb#249 Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array) # source://reline//lib/reline.rb#212 Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc) +# source://reline//lib/reline.rb#28 +class Reline::DialogRenderInfo < ::Struct + # Returns the value of attribute bg_color + # + # @return [Object] the current value of bg_color + # + # source://reline//lib/reline.rb#28 + def bg_color; end + + # Sets the attribute bg_color + # + # @param value [Object] the value to set the attribute bg_color to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def bg_color=(_); end + + # Returns the value of attribute contents + # + # @return [Object] the current value of contents + # + # source://reline//lib/reline.rb#28 + def contents; end + + # Sets the attribute contents + # + # @param value [Object] the value to set the attribute contents to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def contents=(_); end + + # Returns the value of attribute face + # + # @return [Object] the current value of face + # + # source://reline//lib/reline.rb#28 + def face; end + + # Sets the attribute face + # + # @param value [Object] the value to set the attribute face to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def face=(_); end + + # Returns the value of attribute height + # + # @return [Object] the current value of height + # + # source://reline//lib/reline.rb#28 + def height; end + + # Sets the attribute height + # + # @param value [Object] the value to set the attribute height to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def height=(_); end + + # Returns the value of attribute pos + # + # @return [Object] the current value of pos + # + # source://reline//lib/reline.rb#28 + def pos; end + + # Sets the attribute pos + # + # @param value [Object] the value to set the attribute pos to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def pos=(_); end + + # Returns the value of attribute scrollbar + # + # @return [Object] the current value of scrollbar + # + # source://reline//lib/reline.rb#28 + def scrollbar; end + + # Sets the attribute scrollbar + # + # @param value [Object] the value to set the attribute scrollbar to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def scrollbar=(_); end + + # Returns the value of attribute width + # + # @return [Object] the current value of width + # + # source://reline//lib/reline.rb#28 + def width; end + + # Sets the attribute width + # + # @param value [Object] the value to set the attribute width to. + # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#28 + def width=(_); end + + class << self + # source://reline//lib/reline.rb#28 + def [](*_arg0); end + + # source://reline//lib/reline.rb#28 + def inspect; end + + # source://reline//lib/reline.rb#28 + def keyword_init?; end + + # source://reline//lib/reline.rb#28 + def members; end + + # source://reline//lib/reline.rb#28 + def new(*_arg0); end + end +end + # source://reline//lib/reline/io/dumb.rb#3 class Reline::Dumb < ::Reline::IO # @return [Dumb] a new instance of Dumb @@ -837,23 +1232,31 @@ class Reline::Key < ::Struct # Returns the value of attribute char # # @return [Object] the current value of char + # + # source://reline//lib/reline.rb#21 def char; end # Sets the attribute char # # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#21 def char=(_); end # Returns the value of attribute combined_char # # @return [Object] the current value of combined_char + # + # source://reline//lib/reline.rb#21 def combined_char; end # Sets the attribute combined_char # # @param value [Object] the value to set the attribute combined_char to. # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#21 def combined_char=(_); end # For dialog_proc `key.match?(dialog.name)` @@ -866,19 +1269,32 @@ class Reline::Key < ::Struct # Returns the value of attribute with_meta # # @return [Object] the current value of with_meta + # + # source://reline//lib/reline.rb#21 def with_meta; end # Sets the attribute with_meta # # @param value [Object] the value to set the attribute with_meta to. # @return [Object] the newly set value + # + # source://reline//lib/reline.rb#21 def with_meta=(_); end class << self + # source://reline//lib/reline.rb#21 def [](*_arg0); end + + # source://reline//lib/reline.rb#21 def inspect; end + + # source://reline//lib/reline.rb#21 def keyword_init?; end + + # source://reline//lib/reline.rb#21 def members; end + + # source://reline//lib/reline.rb#21 def new(*_arg0); end end end @@ -1046,6 +1462,68 @@ class Reline::KillRing::RingPoint < ::Struct # source://reline//lib/reline/kill_ring.rb#16 def ==(other); end + + # Returns the value of attribute backward + # + # @return [Object] the current value of backward + # + # source://reline//lib/reline/kill_ring.rb#11 + def backward; end + + # Sets the attribute backward + # + # @param value [Object] the value to set the attribute backward to. + # @return [Object] the newly set value + # + # source://reline//lib/reline/kill_ring.rb#11 + def backward=(_); end + + # Returns the value of attribute forward + # + # @return [Object] the current value of forward + # + # source://reline//lib/reline/kill_ring.rb#11 + def forward; end + + # Sets the attribute forward + # + # @param value [Object] the value to set the attribute forward to. + # @return [Object] the newly set value + # + # source://reline//lib/reline/kill_ring.rb#11 + def forward=(_); end + + # Returns the value of attribute str + # + # @return [Object] the current value of str + # + # source://reline//lib/reline/kill_ring.rb#11 + def str; end + + # Sets the attribute str + # + # @param value [Object] the value to set the attribute str to. + # @return [Object] the newly set value + # + # source://reline//lib/reline/kill_ring.rb#11 + def str=(_); end + + class << self + # source://reline//lib/reline/kill_ring.rb#11 + def [](*_arg0); end + + # source://reline//lib/reline/kill_ring.rb#11 + def inspect; end + + # source://reline//lib/reline/kill_ring.rb#11 + def keyword_init?; end + + # source://reline//lib/reline/kill_ring.rb#11 + def members; end + + # source://reline//lib/reline/kill_ring.rb#11 + def new(*_arg0); end + end end # source://reline//lib/reline/kill_ring.rb#6 @@ -1350,19 +1828,19 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#968 def argumentable?(method_obj); end - # source://reline//lib/reline/line_editor.rb#1571 + # source://reline//lib/reline/line_editor.rb#1582 def backward_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1874 + # source://reline//lib/reline/line_editor.rb#1888 def backward_delete_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2017 + # source://reline//lib/reline/line_editor.rb#2025 def backward_kill_word(key); end - # source://reline//lib/reline/line_editor.rb#1999 + # source://reline//lib/reline/line_editor.rb#2005 def backward_word(key); end - # source://reline//lib/reline/line_editor.rb#1588 + # source://reline//lib/reline/line_editor.rb#1591 def beginning_of_line(key); end # @return [Boolean] @@ -1382,7 +1860,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1434 def calculate_width(str, allow_escape_code = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2057 + # source://reline//lib/reline/line_editor.rb#2065 def capitalize_word(key); end # source://reline//lib/reline/line_editor.rb#93 @@ -1394,7 +1872,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#998 def cleanup_waiting; end - # source://reline//lib/reline/line_editor.rb#1982 + # source://reline//lib/reline/line_editor.rb#1989 def clear_screen(key); end # source://reline//lib/reline/line_editor.rb#1454 @@ -1412,16 +1890,16 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2103 def copy_for_vi(text); end - # source://reline//lib/reline/line_editor.rb#1939 + # source://reline//lib/reline/line_editor.rb#1952 def delete_char(key); end - # source://reline//lib/reline/line_editor.rb#1954 + # source://reline//lib/reline/line_editor.rb#1964 def delete_char_or_list(key); end # source://reline//lib/reline/line_editor.rb#708 def dialog_range(dialog, dialog_y); end - # source://reline//lib/reline/line_editor.rb#2067 + # source://reline//lib/reline/line_editor.rb#2078 def downcase_word(key); end # source://reline//lib/reline/line_editor.rb#2352 @@ -1453,7 +1931,7 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline//lib/reline/line_editor.rb#1514 + # source://reline//lib/reline/line_editor.rb#1539 def ed_digit(key); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -1576,19 +2054,19 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2522 def emacs_editing_mode(key); end - # source://reline//lib/reline/line_editor.rb#1594 + # source://reline//lib/reline/line_editor.rb#1597 def end_of_line(key); end - # source://reline//lib/reline/line_editor.rb#2514 + # source://reline//lib/reline/line_editor.rb#2520 def exchange_point_and_mark(key); end - # source://reline//lib/reline/line_editor.rb#1558 + # source://reline//lib/reline/line_editor.rb#1569 def forward_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1744 + # source://reline//lib/reline/line_editor.rb#1747 def forward_search_history(key); end - # source://reline//lib/reline/line_editor.rb#1991 + # source://reline//lib/reline/line_editor.rb#1997 def forward_word(key); end # source://reline//lib/reline/line_editor.rb#1599 @@ -1600,10 +2078,10 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#171 def handle_resized; end - # source://reline//lib/reline/line_editor.rb#1759 + # source://reline//lib/reline/line_editor.rb#1772 def history_search_backward(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1774 + # source://reline//lib/reline/line_editor.rb#1787 def history_search_forward(key, arg: T.unsafe(nil)); end # @return [Boolean] @@ -1629,7 +2107,7 @@ class Reline::LineEditor # the line. With a negative numeric argument, kill backward # from the cursor to the beginning of the current line. # - # source://reline//lib/reline/line_editor.rb#1895 + # source://reline//lib/reline/line_editor.rb#1904 def kill_line(key); end # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the @@ -1637,10 +2115,10 @@ class Reline::LineEditor # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the # current line, no matter where point is. # - # source://reline//lib/reline/line_editor.rb#1931 + # source://reline//lib/reline/line_editor.rb#1937 def kill_whole_line(key); end - # source://reline//lib/reline/line_editor.rb#2007 + # source://reline//lib/reline/line_editor.rb#2015 def kill_word(key); end # source://reline//lib/reline/line_editor.rb#810 @@ -1661,7 +2139,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1789 def move_history(history_pointer, line:, cursor:, save_buffer: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1828 + # source://reline//lib/reline/line_editor.rb#1843 def next_history(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#1070 @@ -1673,7 +2151,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2550 def prev_action_state_value(type); end - # source://reline//lib/reline/line_editor.rb#1811 + # source://reline//lib/reline/line_editor.rb#1826 def previous_history(key, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#1211 @@ -1685,7 +2163,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#1006 def process_key(key, method_symbol); end - # source://reline//lib/reline/line_editor.rb#1542 + # source://reline//lib/reline/line_editor.rb#1556 def quoted_insert(str, arg: T.unsafe(nil)); end # source://reline//lib/reline/line_editor.rb#2540 @@ -1694,7 +2172,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#929 def retrieve_completion_journey_state; end - # source://reline//lib/reline/line_editor.rb#1739 + # source://reline//lib/reline/line_editor.rb#1742 def reverse_search_history(key); end # source://reline//lib/reline/line_editor.rb#944 @@ -1723,10 +2201,10 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline//lib/reline/line_editor.rb#1514 + # source://reline//lib/reline/line_editor.rb#1540 def self_insert(key); end - # source://reline//lib/reline/line_editor.rb#2509 + # source://reline//lib/reline/line_editor.rb#2512 def set_mark(key); end # source://reline//lib/reline/line_editor.rb#2554 @@ -1735,10 +2213,10 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#301 def split_by_width(str, max_width, offset: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2027 + # source://reline//lib/reline/line_editor.rb#2042 def transpose_chars(key); end - # source://reline//lib/reline/line_editor.rb#2044 + # source://reline//lib/reline/line_editor.rb#2055 def transpose_words(key); end # source://reline//lib/reline/line_editor.rb#2530 @@ -1750,13 +2228,13 @@ class Reline::LineEditor # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor # to the beginning of the current line. # - # source://reline//lib/reline/line_editor.rb#1918 + # source://reline//lib/reline/line_editor.rb#1925 def unix_line_discard(key); end - # source://reline//lib/reline/line_editor.rb#2093 + # source://reline//lib/reline/line_editor.rb#2101 def unix_word_rubout(key); end - # source://reline//lib/reline/line_editor.rb#2080 + # source://reline//lib/reline/line_editor.rb#2091 def upcase_word(key); end # source://reline//lib/reline/line_editor.rb#714 @@ -1797,13 +2275,13 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2175 def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2287 + # source://reline//lib/reline/line_editor.rb#2295 def vi_end_of_transmission(key); end # source://reline//lib/reline/line_editor.rb#2142 def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2287 + # source://reline//lib/reline/line_editor.rb#2296 def vi_eof_maybe(key); end # source://reline//lib/reline/line_editor.rb#1584 @@ -1833,7 +2311,7 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2287 def vi_list_or_eof(key); end - # source://reline//lib/reline/line_editor.rb#2118 + # source://reline//lib/reline/line_editor.rb#2122 def vi_movement_mode(key); end # source://reline//lib/reline/line_editor.rb#2157 @@ -1887,13 +2365,13 @@ class Reline::LineEditor # source://reline//lib/reline/line_editor.rb#2278 def vi_yank_confirm(byte_pointer_diff); end - # source://reline//lib/reline/line_editor.rb#1588 + # source://reline//lib/reline/line_editor.rb#1592 def vi_zero(key); end - # source://reline//lib/reline/line_editor.rb#1966 + # source://reline//lib/reline/line_editor.rb#1970 def yank(key); end - # source://reline//lib/reline/line_editor.rb#1972 + # source://reline//lib/reline/line_editor.rb#1980 def yank_pop(key); end end @@ -1902,74 +2380,107 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct # Returns the value of attribute line_index # # @return [Object] the current value of line_index + # + # source://reline//lib/reline/line_editor.rb#47 def line_index; end # Sets the attribute line_index # # @param value [Object] the value to set the attribute line_index to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#47 def line_index=(_); end # Returns the value of attribute list # # @return [Object] the current value of list + # + # source://reline//lib/reline/line_editor.rb#47 def list; end # Sets the attribute list # # @param value [Object] the value to set the attribute list to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#47 def list=(_); end # Returns the value of attribute pointer # # @return [Object] the current value of pointer + # + # source://reline//lib/reline/line_editor.rb#47 def pointer; end # Sets the attribute pointer # # @param value [Object] the value to set the attribute pointer to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#47 def pointer=(_); end # Returns the value of attribute post # # @return [Object] the current value of post + # + # source://reline//lib/reline/line_editor.rb#47 def post; end # Sets the attribute post # # @param value [Object] the value to set the attribute post to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#47 def post=(_); end # Returns the value of attribute pre # # @return [Object] the current value of pre + # + # source://reline//lib/reline/line_editor.rb#47 def pre; end # Sets the attribute pre # # @param value [Object] the value to set the attribute pre to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#47 def pre=(_); end # Returns the value of attribute target # # @return [Object] the current value of target + # + # source://reline//lib/reline/line_editor.rb#47 def target; end # Sets the attribute target # # @param value [Object] the value to set the attribute target to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#47 def target=(_); end class << self + # source://reline//lib/reline/line_editor.rb#47 def [](*_arg0); end + + # source://reline//lib/reline/line_editor.rb#47 def inspect; end + + # source://reline//lib/reline/line_editor.rb#47 def keyword_init?; end + + # source://reline//lib/reline/line_editor.rb#47 def members; end + + # source://reline//lib/reline/line_editor.rb#47 def new(*_arg0); end end end @@ -2148,52 +2659,77 @@ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct # Returns the value of attribute list # # @return [Object] the current value of list + # + # source://reline//lib/reline/line_editor.rb#575 def list; end # Sets the attribute list # # @param value [Object] the value to set the attribute list to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#575 def list=(_); end # Returns the value of attribute pointer # # @return [Object] the current value of pointer + # + # source://reline//lib/reline/line_editor.rb#575 def pointer; end # Sets the attribute pointer # # @param value [Object] the value to set the attribute pointer to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#575 def pointer=(_); end # Returns the value of attribute postposing # # @return [Object] the current value of postposing + # + # source://reline//lib/reline/line_editor.rb#575 def postposing; end # Sets the attribute postposing # # @param value [Object] the value to set the attribute postposing to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#575 def postposing=(_); end # Returns the value of attribute preposing # # @return [Object] the current value of preposing + # + # source://reline//lib/reline/line_editor.rb#575 def preposing; end # Sets the attribute preposing # # @param value [Object] the value to set the attribute preposing to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#575 def preposing=(_); end class << self + # source://reline//lib/reline/line_editor.rb#575 def [](*_arg0); end + + # source://reline//lib/reline/line_editor.rb#575 def inspect; end + + # source://reline//lib/reline/line_editor.rb#575 def keyword_init?; end + + # source://reline//lib/reline/line_editor.rb#575 def members; end + + # source://reline//lib/reline/line_editor.rb#575 def new(*_arg0); end end end @@ -2228,41 +2764,62 @@ class Reline::LineEditor::RenderedScreen < ::Struct # Returns the value of attribute base_y # # @return [Object] the current value of base_y + # + # source://reline//lib/reline/line_editor.rb#45 def base_y; end # Sets the attribute base_y # # @param value [Object] the value to set the attribute base_y to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def base_y=(_); end # Returns the value of attribute cursor_y # # @return [Object] the current value of cursor_y + # + # source://reline//lib/reline/line_editor.rb#45 def cursor_y; end # Sets the attribute cursor_y # # @param value [Object] the value to set the attribute cursor_y to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def cursor_y=(_); end # Returns the value of attribute lines # # @return [Object] the current value of lines + # + # source://reline//lib/reline/line_editor.rb#45 def lines; end # Sets the attribute lines # # @param value [Object] the value to set the attribute lines to. # @return [Object] the newly set value + # + # source://reline//lib/reline/line_editor.rb#45 def lines=(_); end class << self + # source://reline//lib/reline/line_editor.rb#45 def [](*_arg0); end + + # source://reline//lib/reline/line_editor.rb#45 def inspect; end + + # source://reline//lib/reline/line_editor.rb#45 def keyword_init?; end + + # source://reline//lib/reline/line_editor.rb#45 def members; end + + # source://reline//lib/reline/line_editor.rb#45 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/rexml@3.3.4.rbi b/sorbet/rbi/gems/rexml@3.3.4.rbi index 99c4052b0..a8dbdbffa 100644 --- a/sorbet/rbi/gems/rexml@3.3.4.rbi +++ b/sorbet/rbi/gems/rexml@3.3.4.rbi @@ -271,7 +271,7 @@ class REXML::Attributes < ::Hash # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3' # attrs.include?('baz') # => true # - # source://rexml//lib/rexml/element.rb#2524 + # source://rexml//lib/rexml/element.rb#2528 def <<(attribute); end # :call-seq: @@ -546,7 +546,7 @@ class REXML::Attributes < ::Hash # ele = d.root.elements['//ele'] # => # ele.attributes.length # => 3 # - # source://rexml//lib/rexml/element.rb#2212 + # source://rexml//lib/rexml/element.rb#2217 def size; end # :call-seq: @@ -657,7 +657,7 @@ class REXML::Child # source://rexml//lib/rexml/child.rb#85 def document; end - # source://rexml//lib/rexml/node.rb#11 + # source://rexml//lib/rexml/child.rb#58 def next_sibling; end # Sets the next sibling of this child. This can be used to insert a child @@ -688,7 +688,7 @@ class REXML::Child # source://rexml//lib/rexml/child.rb#52 def parent=(other); end - # source://rexml//lib/rexml/node.rb#17 + # source://rexml//lib/rexml/child.rb#59 def previous_sibling; end # Sets the previous sibling of this child. This can be used to insert a @@ -767,7 +767,7 @@ class REXML::Comment < ::REXML::Child # The content text # - # source://rexml//lib/rexml/comment.rb#14 + # source://rexml//lib/rexml/comment.rb#58 def to_s; end # == DEPRECATED @@ -1038,7 +1038,7 @@ class REXML::Document < ::REXML::Element # d.add(REXML::Element.new('foo')) # d.to_s # => "" # - # source://rexml//lib/rexml/document.rb#170 + # source://rexml//lib/rexml/document.rb#201 def <<(child); end # :call-seq: @@ -1146,7 +1146,7 @@ class REXML::Document < ::REXML::Element # d = doc_type # d ? d.name : "UNDEFINED" # - # source://rexml//lib/rexml/document.rb#129 + # source://rexml//lib/rexml/document.rb#134 def name; end # :call-seq: @@ -2746,7 +2746,7 @@ class REXML::Elements # element.parent # => ... # element.context # => {:raw=>:all} # - # source://rexml//lib/rexml/element.rb#1912 + # source://rexml//lib/rexml/element.rb#1924 def <<(element = T.unsafe(nil)); end # :call-seq: @@ -3690,6 +3690,11 @@ module REXML::Namespace # source://rexml//lib/rexml/namespace.rb#43 def has_name?(other, ns = T.unsafe(nil)); end + # The name of the object, valid if set + # + # source://rexml//lib/rexml/namespace.rb#53 + def local_name; end + # The name of the object, valid if set # # source://rexml//lib/rexml/namespace.rb#9 @@ -3796,7 +3801,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#13 def initialize(parent = T.unsafe(nil)); end - # source://rexml//lib/rexml/parent.rb#18 + # source://rexml//lib/rexml/parent.rb#25 def <<(object); end # Fetches a child at a given index @@ -3819,7 +3824,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#18 def add(object); end - # source://rexml//lib/rexml/parent.rb#115 + # source://rexml//lib/rexml/parent.rb#160 def children; end # Deeply clones this object. This creates a complete duplicate of this @@ -3840,7 +3845,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#39 def each(&block); end - # source://rexml//lib/rexml/parent.rb#39 + # source://rexml//lib/rexml/parent.rb#61 def each_child(&block); end # source://rexml//lib/rexml/parent.rb#51 @@ -3881,7 +3886,7 @@ class REXML::Parent < ::REXML::Child # @return the number of children of this parent # - # source://rexml//lib/rexml/parent.rb#130 + # source://rexml//lib/rexml/parent.rb#134 def length; end # @return [Boolean] @@ -3889,7 +3894,7 @@ class REXML::Parent < ::REXML::Child # source://rexml//lib/rexml/parent.rb#162 def parent?; end - # source://rexml//lib/rexml/parent.rb#18 + # source://rexml//lib/rexml/parent.rb#24 def push(object); end # Replaces one child with another, making sure the nodelist is correct @@ -4191,7 +4196,7 @@ class REXML::Parsers::XPathParser # For backward compatibility # - # source://rexml//lib/rexml/parsers/xpathparser.rb#174 + # source://rexml//lib/rexml/parsers/xpathparser.rb#221 def preciate_to_string(parsed, &block); end # source://rexml//lib/rexml/parsers/xpathparser.rb#36 @@ -4672,12 +4677,12 @@ class REXML::XMLDecl < ::REXML::Child # source://rexml//lib/rexml/xmldecl.rb#98 def nowrite; end - # source://rexml//lib/rexml/encoding.rb#7 + # source://rexml//lib/rexml/xmldecl.rb#74 def old_enc=(encoding); end # Returns the value of attribute standalone. # - # source://rexml//lib/rexml/xmldecl.rb#17 + # source://rexml//lib/rexml/xmldecl.rb#73 def stand_alone?; end # Returns the value of attribute standalone. diff --git a/sorbet/rbi/gems/rubocop-ast@1.32.0.rbi b/sorbet/rbi/gems/rubocop-ast@1.32.0.rbi index fa95c2dc5..1a47f92af 100644 --- a/sorbet/rbi/gems/rubocop-ast@1.32.0.rbi +++ b/sorbet/rbi/gems/rubocop-ast@1.32.0.rbi @@ -187,13 +187,6 @@ class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node # # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#36 def square_brackets?; end - - # Returns an array of all value nodes in the `array` literal. - # - # @return [Array] an array of value nodes - # - # source://ast/2.4.2/lib/ast/node.rb#56 - def values; end end # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#9 @@ -630,409 +623,409 @@ end module RuboCop::AST::CollectionNode extend ::Forwardable - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def &(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def *(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def +(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def -(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def <<(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def []=(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def all?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def any?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def append(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def assoc(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def at(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def bsearch(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def bsearch_index(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def chain(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def chunk(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def chunk_while(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def clear(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def collect(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def collect!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def collect_concat(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def combination(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def compact(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def compact!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def concat(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def count(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def cycle(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def deconstruct(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def delete(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def delete_at(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def delete_if(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def detect(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def difference(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def dig(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def drop(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def drop_while(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_cons(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_entry(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_index(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_slice(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_with_index(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def each_with_object(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def empty?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def entries(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def fetch(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def fill(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def filter(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def filter!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def filter_map(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def find(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def find_all(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def find_index(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def first(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def flat_map(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def flatten(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def flatten!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def grep(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def grep_v(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def group_by(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def include?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def index(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def inject(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def insert(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def intersect?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def intersection(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def join(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def keep_if(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def last(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def lazy(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def length(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def map(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def map!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def max(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def max_by(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def member?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def min(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def min_by(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def minmax(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def minmax_by(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def none?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def one?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def pack(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def partition(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def permutation(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def place(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def pop(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def prepend(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def product(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def push(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rassoc(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reduce(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reject(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reject!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def repeated_combination(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def repeated_permutation(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def replace(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reverse(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reverse!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def reverse_each(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rindex(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rotate(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def rotate!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sample(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def select(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def select!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shelljoin(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shift(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shuffle(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def shuffle!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def size(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice_after(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice_before(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def slice_when(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort_by(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sort_by!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def sum(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def take(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def take_while(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def tally(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def to_ary(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def to_h(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def to_set(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def transpose(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def union(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def uniq(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def uniq!(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def unshift(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def values_at(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def zip(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 def |(*args, **_arg1, &block); end end @@ -1093,7 +1086,7 @@ class RuboCop::AST::ConstNode < ::RuboCop::AST::Node # Note: some classes might have uppercase in which case this method # returns false # - # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#23 def class_name?; end # Yield nodes for the namespace @@ -1214,9 +1207,6 @@ class RuboCop::AST::DefinedNode < ::RuboCop::AST::Node include ::RuboCop::AST::MethodIdentifierPredicates include ::RuboCop::AST::MethodDispatchNode - # source://ast/2.4.2/lib/ast/node.rb#56 - def arguments; end - # source://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#12 def node_parts; end end @@ -2069,7 +2059,7 @@ module RuboCop::AST::MethodDispatchNode # # @return [Boolean] whether the dispatched method is a setter # - # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#107 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#110 def assignment?; end # Checks whether the dispatched method is a bare access modifier that @@ -2543,16 +2533,16 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#113 def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def __ENCODING___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def __FILE___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def __LINE___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def alias_type?; end # Returns an array of ancestor nodes. @@ -2563,19 +2553,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#268 def ancestors; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def and_asgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def and_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def arg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def arg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def args_type?; end # @return [Boolean] @@ -2588,13 +2578,13 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#478 def argument_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def array_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def array_pattern_with_tail_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def array_type?; end # @return [Boolean] @@ -2607,7 +2597,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#376 def assignment_or_similar?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def back_ref_type?; end # @return [Boolean] @@ -2620,19 +2610,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#384 def basic_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def begin_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def block_pass_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def block_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def blockarg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def blockarg_type?; end # @return [Boolean] @@ -2640,7 +2630,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#482 def boolean_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def break_type?; end # @return [Boolean] @@ -2648,16 +2638,16 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#466 def call_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def case_match_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def case_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def casgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def cbase_type?; end # @return [Boolean] @@ -2671,7 +2661,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#540 def class_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def class_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#165 @@ -2682,7 +2672,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#170 def complete?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def complex_type?; end # @return [Boolean] @@ -2693,22 +2683,22 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#314 def const_name; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def const_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def const_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def csend_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def cvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def cvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def def_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#335 @@ -2717,16 +2707,16 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#340 def defined_module_name; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def defined_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def defs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def dstr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def dsym_type?; end # Calls the given block for each ancestor node from parent to root. @@ -2742,10 +2732,10 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#256 def each_ancestor(*types, &block); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def eflipflop_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def empty_else_type?; end # @return [Boolean] @@ -2753,7 +2743,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#370 def empty_source?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def ensure_type?; end # @return [Boolean] @@ -2761,10 +2751,10 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#418 def equals_asgn?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def erange_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def false_type?; end # @return [Boolean] @@ -2772,31 +2762,31 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#392 def falsey_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def find_pattern_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#282 def first_line; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def float_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def for_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def forward_arg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def forward_args_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def forwarded_args_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def forwarded_kwrestarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def forwarded_restarg_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#519 @@ -2807,28 +2797,28 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#494 def guard_clause?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def gvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def gvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def hash_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def hash_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def ident_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def if_guard_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def if_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def iflipflop_type?; end # @return [Boolean] @@ -2836,28 +2826,28 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#400 def immutable_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def in_match_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def in_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def index_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def indexasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def int_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def irange_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def ivar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def ivasgn_type?; end # @return [Boolean] @@ -2865,25 +2855,25 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#447 def keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def kwarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def kwargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def kwbegin_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def kwnilarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def kwoptarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def kwrestarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def kwsplat_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#513 @@ -2892,7 +2882,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#516 def lambda_or_proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def lambda_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#286 @@ -2929,55 +2919,55 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#443 def loop_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def lvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def lvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def masgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_alt_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_as_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_current_line_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#501 def match_guard_clause?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_nil_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_pattern_p_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_rest_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_var_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_with_lvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def match_with_trailing_comma_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def mlhs_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#547 def module_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def module_type?; end # Predicates @@ -2995,35 +2985,25 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#679 def new_class_or_module_block?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def next_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def nil_type?; end - # Common destructuring method. This can be used to normalize - # destructuring for different variations of the node. - # Some node types override this with their own custom - # destructuring method. - # - # @return [Array] the different parts of the ndde - # - # source://ast/2.4.2/lib/ast/node.rb#56 - def node_parts; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#296 def nonempty_line_count; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def not_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def nth_ref_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def numargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def numblock_type?; end # @return [Boolean] @@ -3031,16 +3011,16 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#486 def numeric_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def objc_kwarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def objc_restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def objc_varargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def op_asgn_type?; end # @return [Boolean] @@ -3048,16 +3028,16 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#458 def operator_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def optarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def or_asgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def or_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def pair_type?; end # Returns the parent node, or `nil` if the receiver is a root node. @@ -3082,7 +3062,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#462 def parenthesized_call?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def pin_type?; end # @return [Boolean] @@ -3090,16 +3070,16 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#438 def post_condition_loop?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def postexe_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def preexe_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#506 def proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def procarg0_type?; end # Some expressions are evaluated for their value, some for their side @@ -3120,7 +3100,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#490 def range_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def rational_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#307 @@ -3128,15 +3108,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#97 + # source://rubocop-ast//lib/rubocop/ast/node.rb#96 def recursive_basic_literal?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#97 + # source://rubocop-ast//lib/rubocop/ast/node.rb#96 def recursive_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def redo_type?; end # @return [Boolean] @@ -3144,28 +3124,28 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#414 def reference?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def regexp_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def regopt_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def resbody_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def rescue_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def restarg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def retry_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def return_type?; end # Use is discouraged, this is a potentially slow method and can lead @@ -3189,10 +3169,10 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#161 def root?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def sclass_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def self_type?; end # Most nodes are of 'send' type, so this method is defined @@ -3203,7 +3183,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#140 def send_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def shadowarg_type?; end # @return [Boolean] @@ -3243,13 +3223,13 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#454 def special_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def splat_type?; end # source://rubocop-ast//lib/rubocop/ast/node.rb#312 def str_content(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def str_type?; end # @deprecated Use `:class_constructor?` @@ -3257,13 +3237,13 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#535 def struct_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def super_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def sym_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def true_type?; end # @return [Boolean] @@ -3271,16 +3251,16 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#388 def truthy_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def undef_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def unless_guard_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def until_post_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def until_type?; end # Override `AST::Node#updated` so that `AST::Processor` does not try to @@ -3310,22 +3290,22 @@ class RuboCop::AST::Node < ::Parser::AST::Node # source://rubocop-ast//lib/rubocop/ast/node.rb#410 def variable?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def when_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def while_post_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def while_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def xstr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def yield_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#132 + # source://rubocop-ast//lib/rubocop/ast/node.rb#131 def zsuper_type?; end protected @@ -3537,13 +3517,13 @@ class RuboCop::AST::NodePattern # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def ast; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75 def captures(*args, **_arg1, &block); end # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#111 def encode_with(coder); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#90 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#93 def eql?(other); end # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#119 @@ -3566,7 +3546,7 @@ class RuboCop::AST::NodePattern # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def match_code; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75 def named_parameters(*args, **_arg1, &block); end # Returns the value of attribute pattern. @@ -3574,7 +3554,7 @@ class RuboCop::AST::NodePattern # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def pattern; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75 def positional_parameters(*args, **_arg1, &block); end # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#95 @@ -3658,7 +3638,7 @@ class RuboCop::AST::NodePattern::Comment # Returns the value of attribute location. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#8 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#9 def loc; end # Returns the value of attribute location. @@ -3687,7 +3667,7 @@ class RuboCop::AST::NodePattern::Compiler # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#15 def initialize; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#24 def bind(*args, **_arg1, &block); end # Returns the value of attribute binding. @@ -3770,7 +3750,7 @@ class RuboCop::AST::NodePattern::Compiler::AtomSubcompiler < ::RuboCop::AST::Nod # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#32 def visit_named_parameter; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#24 def visit_number; end # Assumes other types are node patterns. @@ -3781,13 +3761,13 @@ class RuboCop::AST::NodePattern::Compiler::AtomSubcompiler < ::RuboCop::AST::Nod # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#36 def visit_positional_parameter; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#26 def visit_regexp; end # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#40 def visit_set; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#25 def visit_string; end # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21 @@ -3834,7 +3814,7 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern:: # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123 def initialize; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#136 def comments(*args, **_arg1, &block); end # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#128 @@ -3848,7 +3828,7 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern:: # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#132 def parser; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#136 def tokens(*args, **_arg1, &block); end end @@ -3928,12 +3908,16 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct # Returns the value of attribute colorizer # # @return [Object] the current value of colorizer + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def colorizer; end # Sets the attribute colorizer # # @param value [Object] the value to set the attribute colorizer to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def colorizer=(_); end # @api private @@ -3951,34 +3935,46 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct # Returns the value of attribute returned # # @return [Object] the current value of returned + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def returned; end # Sets the attribute returned # # @param value [Object] the value to set the attribute returned to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def returned=(_); end # Returns the value of attribute ruby_ast # # @return [Object] the current value of ruby_ast + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def ruby_ast; end # Sets the attribute ruby_ast # # @param value [Object] the value to set the attribute ruby_ast to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def ruby_ast=(_); end # Returns the value of attribute trace # # @return [Object] the current value of trace + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def trace; end # Sets the attribute trace # # @param value [Object] the value to set the attribute trace to. # @return [Object] the newly set value + # + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def trace=(_); end private @@ -3994,10 +3990,19 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct def color_map_for(node, color); end class << self + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def [](*_arg0); end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def inspect; end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def keyword_init?; end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def members; end + + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46 def new(*_arg0); end end end @@ -4202,7 +4207,7 @@ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST: private - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#20 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#59 def compile(node); end # Compilation helpers @@ -4456,7 +4461,7 @@ class RuboCop::AST::NodePattern::LexerRex # The StringScanner for this lexer. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#55 def match; end # The match groups for the current scan. @@ -4718,7 +4723,7 @@ RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash) # # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#96 class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#98 def arity(*args, **_arg1, &block); end # @return [Boolean] @@ -4732,7 +4737,7 @@ class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::No # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#104 def nb_captures; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#98 def rest?(*args, **_arg1, &block); end end @@ -4967,28 +4972,28 @@ class RuboCop::AST::NodePattern::Parser < ::Racc::Parser # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465 def _reduce_none(val, _values); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_atom(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_call(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_capture(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_list(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_unary_op(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 def emit_union(*args, **_arg1, &block); end # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#40 def inspect; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#48 def next_token(*args, **_arg1, &block); end # (Similar API to `parser` gem) @@ -5719,7 +5724,7 @@ module RuboCop::AST::ParameterizedNode # # @return [Boolean] whether the node is a splat argument # - # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#48 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#52 def rest_argument?; end # Checks whether any argument of the node is a splat @@ -5888,7 +5893,7 @@ class RuboCop::AST::ProcessedSource # @deprecated use contains_comment? # @return [Boolean] if any of the lines in the given `source_range` has a comment. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#138 + # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#142 def commented?(source_range); end # Returns the value of attribute comments. @@ -6377,9 +6382,6 @@ class RuboCop::AST::SuperNode < ::RuboCop::AST::Node include ::RuboCop::AST::MethodIdentifierPredicates include ::RuboCop::AST::MethodDispatchNode - # source://ast/2.4.2/lib/ast/node.rb#56 - def arguments; end - # Custom destructuring method. This can be used to normalize # destructuring for different variations of the node. # @@ -6561,394 +6563,394 @@ RuboCop::AST::Token::LEFT_PAREN_TYPES = T.let(T.unsafe(nil), Array) module RuboCop::AST::Traversal extend ::RuboCop::AST::Traversal::CallbackCompiler - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#173 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on___ENCODING__(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on___FILE__(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on___LINE__(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_alias(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_and(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_and_asgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_arg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_arg_expr(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_args(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_array(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_array_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_array_pattern_with_tail(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_back_ref(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_begin(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#151 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_block(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#129 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_block_pass(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_blockarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_break(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_case(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_case_match(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#146 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_casgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_cbase(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#147 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_class(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_complex(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#145 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_const(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_const_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#155 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_csend(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_cvar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_cvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#148 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_def(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_defined?(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#153 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_defs(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_dstr(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_dsym(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_eflipflop(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_empty_else(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_ensure(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_erange(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_false(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_find_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_float(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_for(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forward_arg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forward_args(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forwarded_args(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forwarded_kwrestarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_forwarded_restarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_gvar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_gvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_hash(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_hash_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#150 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_if(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_if_guard(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_iflipflop(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_in_match(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_in_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_index(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_indexasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_int(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_irange(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_ivar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_ivasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwargs(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwbegin(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwnilarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#132 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwoptarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#124 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwrestarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#125 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_kwsplat(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_lambda(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_lvar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_lvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_masgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_alt(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_as(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_current_line(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_nil_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_pattern_p(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#125 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_rest(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_var(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_with_lvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_match_with_trailing_comma(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_mlhs(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_module(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_mrasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_next(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_nil(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_not(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_nth_ref(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#152 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_numblock(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#149 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_op_asgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#132 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_optarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_or(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_or_asgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_pair(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_pin(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#129 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_postexe(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#129 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_preexe(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_procarg0(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_rasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_rational(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_redo(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_regexp(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#135 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_regopt(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_resbody(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_rescue(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#124 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_restarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_retry(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_return(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_sclass(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_self(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#155 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_send(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_shadowarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#125 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_splat(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_str(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_super(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_sym(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_true(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_undef(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_unless_guard(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_until(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_until_post(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_when(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#41 def on_while(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_while_post(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_xstr(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_yield(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123 + # source://rubocop-ast//lib/rubocop/ast/traversal.rb#48 def on_zsuper(node); end # source://rubocop-ast//lib/rubocop/ast/traversal.rb#17 @@ -7118,9 +7120,6 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node include ::RuboCop::AST::MethodIdentifierPredicates include ::RuboCop::AST::MethodDispatchNode - # source://ast/2.4.2/lib/ast/node.rb#56 - def arguments; end - # Custom destructuring method. This can be used to normalize # destructuring for different variations of the node. # diff --git a/sorbet/rbi/gems/rubocop-rspec@3.0.4.rbi b/sorbet/rbi/gems/rubocop-rspec@3.0.4.rbi index 6fd61b734..5eee8d317 100644 --- a/sorbet/rbi/gems/rubocop-rspec@3.0.4.rbi +++ b/sorbet/rbi/gems/rubocop-rspec@3.0.4.rbi @@ -1573,7 +1573,7 @@ class RuboCop::Cop::RSpec::EmptyLineAfterHook < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#60 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/empty_line_after_hook.rb#70 def on_numblock(node); end private @@ -2184,7 +2184,7 @@ class RuboCop::Cop::RSpec::ExpectInHook < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#30 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_in_hook.rb#40 def on_numblock(node); end private @@ -2482,7 +2482,7 @@ class RuboCop::Cop::RSpec::HookArgument < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#78 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#78 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#91 def on_numblock(node); end # source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#69 @@ -2546,7 +2546,7 @@ class RuboCop::Cop::RSpec::HooksBeforeExamples < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#41 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#41 + # source://rubocop-rspec//lib/rubocop/cop/rspec/hooks_before_examples.rb#47 def on_numblock(node); end private @@ -3736,7 +3736,7 @@ module RuboCop::Cop::RSpec::Metadata # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#43 def on_metadata(_symbols, _hash); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#30 + # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#41 def on_numblock(node); end # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/metadata.rb#21 @@ -4010,7 +4010,7 @@ class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#86 def expect?(param0 = T.unsafe(nil)); end - # source://rubocop/1.65.1/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#75 def max=(value); end # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#93 @@ -4125,7 +4125,7 @@ RuboCop::Cop::RSpec::MultipleExpectations::TRUE_NODE = T.let(T.unsafe(nil), Proc class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::Variable - # source://rubocop/1.65.1/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#89 def max=(value); end # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91 @@ -4467,7 +4467,7 @@ end class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop/1.65.1/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#105 def max=(value); end # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#107 @@ -4581,7 +4581,7 @@ class RuboCop::Cop::RSpec::NoExpectationExample < ::RuboCop::Cop::RSpec::Base # @param node [RuboCop::AST::BlockNode] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#98 def on_numblock(node); end # @param node [RuboCop::AST::Node] @@ -5107,7 +5107,7 @@ class RuboCop::Cop::RSpec::RedundantAround < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#23 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#23 + # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#30 def on_numblock(node); end # source://rubocop-rspec//lib/rubocop/cop/rspec/redundant_around.rb#32 @@ -6085,7 +6085,7 @@ class RuboCop::Cop::RSpec::SkipBlockInsideExample < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#29 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/skip_block_inside_example.rb#36 def on_numblock(node); end private @@ -7070,7 +7070,7 @@ class RuboCop::RSpec::Concept # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#14 + # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#18 def ==(other); end # @return [Boolean] diff --git a/sorbet/rbi/gems/rubocop-sorbet@0.8.5.rbi b/sorbet/rbi/gems/rubocop-sorbet@0.8.5.rbi index 4efc8f3af..5906ee934 100644 --- a/sorbet/rbi/gems/rubocop-sorbet@0.8.5.rbi +++ b/sorbet/rbi/gems/rubocop-sorbet@0.8.5.rbi @@ -33,7 +33,7 @@ class RuboCop::Cop::Sorbet::AllowIncompatibleOverride < ::RuboCop::Cop::Base # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#55 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#55 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#72 def on_numblock(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#49 @@ -946,7 +946,7 @@ class RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes < ::RuboCop::Cop::Base # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#36 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#36 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#40 def on_numblock(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#28 @@ -1074,7 +1074,7 @@ class RuboCop::Cop::Sorbet::ImplicitConversionMethod < ::RuboCop::Cop::Base # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#42 def on_def(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#42 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#48 def on_defs(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#50 @@ -1307,7 +1307,7 @@ module RuboCop::Cop::Sorbet::SignatureHelp # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#29 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#29 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#33 def on_numblock(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#35 @@ -1339,7 +1339,7 @@ end class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#22 + # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#30 def on_class(node); end # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#22 diff --git a/sorbet/rbi/gems/rubocop@1.65.1.rbi b/sorbet/rbi/gems/rubocop@1.65.1.rbi index 7574aa2c1..66fe09e7e 100644 --- a/sorbet/rbi/gems/rubocop@1.65.1.rbi +++ b/sorbet/rbi/gems/rubocop@1.65.1.rbi @@ -777,7 +777,7 @@ class RuboCop::CommentConfig # source://rubocop//lib/rubocop/comment_config.rb#63 def comment_only_line?(line_number); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/comment_config.rb#32 def config(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/comment_config.rb#51 @@ -801,7 +801,7 @@ class RuboCop::CommentConfig # source://rubocop//lib/rubocop/comment_config.rb#30 def processed_source; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/comment_config.rb#32 def registry(*args, **_arg1, &block); end private @@ -888,19 +888,32 @@ class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Expression < :: # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/comment_config.rb#19 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#19 def line=(_); end class << self + # source://rubocop//lib/rubocop/comment_config.rb#19 def [](*_arg0); end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def inspect; end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def keyword_init?; end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def members; end + + # source://rubocop//lib/rubocop/comment_config.rb#19 def new(*_arg0); end end end @@ -910,19 +923,32 @@ class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Loc < ::Struct # Returns the value of attribute expression # # @return [Object] the current value of expression + # + # source://rubocop//lib/rubocop/comment_config.rb#18 def expression; end # Sets the attribute expression # # @param value [Object] the value to set the attribute expression to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#18 def expression=(_); end class << self + # source://rubocop//lib/rubocop/comment_config.rb#18 def [](*_arg0); end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def inspect; end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def keyword_init?; end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def members; end + + # source://rubocop//lib/rubocop/comment_config.rb#18 def new(*_arg0); end end end @@ -932,30 +958,47 @@ class RuboCop::CommentConfig::CopAnalysis < ::Struct # Returns the value of attribute line_ranges # # @return [Object] the current value of line_ranges + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def line_ranges; end # Sets the attribute line_ranges # # @param value [Object] the value to set the attribute line_ranges to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def line_ranges=(_); end # Returns the value of attribute start_line_number # # @return [Object] the current value of start_line_number + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def start_line_number; end # Sets the attribute start_line_number # # @param value [Object] the value to set the attribute start_line_number to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/comment_config.rb#28 def start_line_number=(_); end class << self + # source://rubocop//lib/rubocop/comment_config.rb#28 def [](*_arg0); end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def inspect; end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def keyword_init?; end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def members; end + + # source://rubocop//lib/rubocop/comment_config.rb#28 def new(*_arg0); end end end @@ -977,10 +1020,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#30 def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def []=(*args, **_arg1, &block); end # @return [Boolean] @@ -1019,13 +1062,13 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#142 def clusivity_config_for_badge?(badge); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def delete(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/config.rb#108 def deprecation_check; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def dig(*args, **_arg1, &block); end # @return [Boolean] @@ -1033,10 +1076,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#162 def disabled_new_cops?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def each(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def each_key(*args, **_arg1, &block); end # @return [Boolean] @@ -1044,7 +1087,7 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#166 def enabled_new_cops?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def fetch(*args, **_arg1, &block); end # @return [Boolean] @@ -1098,10 +1141,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#76 def internal?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def key?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def keys(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/config.rb#47 @@ -1115,10 +1158,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#81 def make_excludes_absolute; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def map(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def merge(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/config.rb#247 @@ -1144,7 +1187,7 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#207 def possibly_include_hidden?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def replace(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/config.rb#71 @@ -1156,22 +1199,22 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#251 def target_rails_version; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#65 def target_ruby_version(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def to_h(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def to_hash(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/config.rb#67 def to_s; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#63 def transform_values(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config.rb#65 def validate(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/config.rb#58 @@ -1217,30 +1260,47 @@ class RuboCop::Config::CopConfig < ::Struct # Returns the value of attribute metadata # # @return [Object] the current value of metadata + # + # source://rubocop//lib/rubocop/config.rb#17 def metadata; end # Sets the attribute metadata # # @param value [Object] the value to set the attribute metadata to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/config.rb#17 def metadata=(_); end # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://rubocop//lib/rubocop/config.rb#17 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/config.rb#17 def name=(_); end class << self + # source://rubocop//lib/rubocop/config.rb#17 def [](*_arg0); end + + # source://rubocop//lib/rubocop/config.rb#17 def inspect; end + + # source://rubocop//lib/rubocop/config.rb#17 def keyword_init?; end + + # source://rubocop//lib/rubocop/config.rb#17 def members; end + + # source://rubocop//lib/rubocop/config.rb#17 def new(*_arg0); end end end @@ -1383,7 +1443,7 @@ class RuboCop::ConfigLoader # Returns the value of attribute debug. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#38 def debug?; end # source://rubocop//lib/rubocop/config_loader.rb#147 @@ -1434,7 +1494,7 @@ class RuboCop::ConfigLoader # Returns the value of attribute ignore_parent_exclusion. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#39 def ignore_parent_exclusion?; end # Returns the value of attribute ignore_unrecognized_cops. @@ -2248,7 +2308,7 @@ class RuboCop::ConfigStore # Returns the value of attribute validated. # - # source://rubocop//lib/rubocop/config_store.rb#7 + # source://rubocop//lib/rubocop/config_store.rb#8 def validated?; end end @@ -2264,10 +2324,10 @@ class RuboCop::ConfigValidator # source://rubocop//lib/rubocop/config_validator.rb#26 def initialize(config); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config_validator.rb#24 def for_all_cops(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/config_validator.rb#24 def smart_loaded_path(*args, **_arg1, &block); end # source://rubocop//lib/rubocop/config_validator.rb#62 @@ -2862,7 +2922,7 @@ class RuboCop::Cop::Badge # source://rubocop//lib/rubocop/cop/badge.rb#13 def department_name; end - # source://rubocop//lib/rubocop/cop/badge.rb#41 + # source://rubocop//lib/rubocop/cop/badge.rb#44 def eql?(other); end # source://rubocop//lib/rubocop/cop/badge.rb#46 @@ -3037,7 +3097,7 @@ class RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/base.rb#183 def message(_range = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/base.rb#238 + # source://rubocop//lib/rubocop/cop/base.rb#242 def name; end # @deprecated Make potential errors with previous API more obvious @@ -3307,52 +3367,77 @@ class RuboCop::Cop::Base::InvestigationReport < ::Struct # Returns the value of attribute cop # # @return [Object] the current value of cop + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def cop; end # Sets the attribute cop # # @param value [Object] the value to set the attribute cop to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def cop=(_); end # Returns the value of attribute corrector # # @return [Object] the current value of corrector + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def corrector; end # Sets the attribute corrector # # @param value [Object] the value to set the attribute corrector to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def corrector=(_); end # Returns the value of attribute offenses # # @return [Object] the current value of offenses + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def offenses; end # Sets the attribute offenses # # @param value [Object] the value to set the attribute offenses to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def offenses=(_); end # Returns the value of attribute processed_source # # @return [Object] the current value of processed_source + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def processed_source; end # Sets the attribute processed_source # # @param value [Object] the value to set the attribute processed_source to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/base.rb#48 def processed_source=(_); end class << self + # source://rubocop//lib/rubocop/cop/base.rb#48 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def inspect; end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def members; end + + # source://rubocop//lib/rubocop/cop/base.rb#48 def new(*_arg0); end end end @@ -3988,31 +4073,31 @@ RuboCop::Cop::Bundler::OrderedGems::MSG = T.let(T.unsafe(nil), String) # # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#6 module RuboCop::Cop::CheckAssignment - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#17 def on_and_asgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#13 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#11 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#12 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#10 def on_ivasgn(node); end # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#14 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#15 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#16 def on_or_asgn(node); end # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#19 @@ -4160,7 +4245,7 @@ end module RuboCop::Cop::CodeLength extend ::RuboCop::ExcludeLimit - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#11 def max=(value); end private @@ -4261,385 +4346,385 @@ class RuboCop::Cop::Commissioner # source://rubocop//lib/rubocop/cop/commissioner.rb#79 def investigate(processed_source, offset: T.unsafe(nil), original: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on___ENCODING__(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on___FILE__(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on___LINE__(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_alias(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_and(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_and_asgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_arg_expr(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_args(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_array(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_array_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_array_pattern_with_tail(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_back_ref(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_block(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_block_pass(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_blockarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_break(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_case(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_case_match(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_cbase(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_class(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_complex(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_const(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_const_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_cvar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_def(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_defined?(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_dstr(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_dsym(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_eflipflop(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_empty_else(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_ensure(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_erange(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_false(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_find_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_float(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_for(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forward_arg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forward_args(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forwarded_args(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forwarded_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_forwarded_restarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_gvar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_hash_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_if(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_if_guard(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_iflipflop(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_in_match(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_in_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_index(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_indexasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_int(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_irange(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_ivar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwargs(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwnilarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwoptarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_kwsplat(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_lambda(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_lvar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_alt(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_as(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_current_line(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_nil_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_pattern_p(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_rest(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_var(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_with_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_match_with_trailing_comma(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_mlhs(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_module(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_next(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_nil(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_not(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_nth_ref(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_optarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_or(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_or_asgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_pair(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_pin(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_postexe(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_preexe(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_procarg0(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_rational(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_redo(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_regexp(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_regopt(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_resbody(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_rescue(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_restarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_retry(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_return(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_sclass(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_self(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_send(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_shadowarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_splat(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_str(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_super(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_sym(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_true(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_undef(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_unless_guard(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_until(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_until_post(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_when(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_while(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_while_post(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_xstr(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_yield(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#68 + # source://rubocop//lib/rubocop/cop/commissioner.rb#67 def on_zsuper(node); end private @@ -4695,12 +4780,16 @@ class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct # Returns the value of attribute cop_reports # # @return [Object] the current value of cop_reports + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def cop_reports; end # Sets the attribute cop_reports # # @param value [Object] the value to set the attribute cop_reports to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def cop_reports=(_); end # source://rubocop//lib/rubocop/cop/commissioner.rb#19 @@ -4712,12 +4801,16 @@ class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct # Returns the value of attribute errors # # @return [Object] the current value of errors + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def errors; end # Sets the attribute errors # # @param value [Object] the value to set the attribute errors to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def errors=(_); end # source://rubocop//lib/rubocop/cop/commissioner.rb#35 @@ -4732,19 +4825,32 @@ class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct # Returns the value of attribute processed_source # # @return [Object] the current value of processed_source + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def processed_source; end # Sets the attribute processed_source # # @param value [Object] the value to set the attribute processed_source to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def processed_source=(_); end class << self + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def inspect; end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def members; end + + # source://rubocop//lib/rubocop/cop/commissioner.rb#18 def new(*_arg0); end end end @@ -4780,7 +4886,7 @@ module RuboCop::Cop::ConfigurableEnforcedStyle # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#19 def ambiguous_style_detected(*possibilities); end - # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#72 def conflicting_styles_detected; end # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#11 @@ -4823,7 +4929,7 @@ module RuboCop::Cop::ConfigurableEnforcedStyle # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#15 def unexpected_style_detected(unexpected); end - # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/configurable_enforced_style.rb#73 def unrecognized_style_detected; end end @@ -5005,41 +5111,62 @@ class RuboCop::Cop::Cop::Correction < ::Struct # Returns the value of attribute cop # # @return [Object] the current value of cop + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def cop; end # Sets the attribute cop # # @param value [Object] the value to set the attribute cop to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def cop=(_); end # Returns the value of attribute lambda # # @return [Object] the current value of lambda + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def lambda; end # Sets the attribute lambda # # @param value [Object] the value to set the attribute lambda to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def lambda=(_); end # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/cop.rb#17 def node=(_); end class << self + # source://rubocop//lib/rubocop/cop/cop.rb#17 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def inspect; end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def members; end + + # source://rubocop//lib/rubocop/cop/cop.rb#17 def new(*_arg0); end end end @@ -5090,11 +5217,6 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # source://rubocop//lib/rubocop/cop/corrector.rb#75 def remove_trailing(node_or_range, size); end - # Legacy - # - # source://parser/3.3.4.0/lib/parser/source/tree_rewriter.rb#252 - def rewrite; end - # Swaps sources at the given ranges. # # @param node_or_range1 [Parser::Source::Range, RuboCop::AST::Node] @@ -6779,22 +6901,35 @@ class RuboCop::Cop::HashShorthandSyntax::DefNode < ::Struct # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def node=(_); end # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#217 def selector; end class << self + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def inspect; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def members; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 def new(*_arg0); end end end @@ -6881,34 +7016,46 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # Returns the value of attribute block_node # # @return [Object] the current value of block_node + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def block_node; end # Sets the attribute block_node # # @param value [Object] the value to set the attribute block_node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def block_node=(_); end # Returns the value of attribute leading # # @return [Object] the current value of leading + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def leading; end # Sets the attribute leading # # @param value [Object] the value to set the attribute leading to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def leading=(_); end # Returns the value of attribute match # # @return [Object] the current value of match + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def match; end # Sets the attribute match # # @param value [Object] the value to set the attribute match to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def match=(_); end # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#177 @@ -6926,15 +7073,20 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # Returns the value of attribute trailing # # @return [Object] the current value of trailing + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def trailing; end # Sets the attribute trailing # # @param value [Object] the value to set the attribute trailing to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def trailing=(_); end class << self + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def [](*_arg0); end # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#137 @@ -6949,9 +7101,16 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#157 def from_to_h(node, match); end + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def inspect; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def members; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 def new(*_arg0); end end end @@ -6973,34 +7132,46 @@ class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # Returns the value of attribute transformed_argname # # @return [Object] the current value of transformed_argname + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transformed_argname; end # Sets the attribute transformed_argname # # @param value [Object] the value to set the attribute transformed_argname to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transformed_argname=(_); end # Returns the value of attribute transforming_body_expr # # @return [Object] the current value of transforming_body_expr + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transforming_body_expr; end # Sets the attribute transforming_body_expr # # @param value [Object] the value to set the attribute transforming_body_expr to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def transforming_body_expr=(_); end # Returns the value of attribute unchanged_body_expr # # @return [Object] the current value of unchanged_body_expr + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def unchanged_body_expr; end # Sets the attribute unchanged_body_expr # # @param value [Object] the value to set the attribute unchanged_body_expr to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def unchanged_body_expr=(_); end # @return [Boolean] @@ -7009,10 +7180,19 @@ class RuboCop::Cop::HashTransformMethod::Captures < ::Struct def use_transformed_argname?; end class << self + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def inspect; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def members; end + + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 def new(*_arg0); end end end @@ -7024,7 +7204,7 @@ RuboCop::Cop::HashTransformMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#6 module RuboCop::Cop::Heredoc - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#14 def on_dstr(node); end # @raise [NotImplementedError] @@ -7035,7 +7215,7 @@ module RuboCop::Cop::Heredoc # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#9 def on_str(node); end - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#15 def on_xstr(node); end private @@ -7142,16 +7322,16 @@ module RuboCop::Cop::Interpolation # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#9 def on_dstr(node); end - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#14 def on_dsym(node); end # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#17 def on_node_with_interpolations(node); end - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#15 def on_regexp(node); end - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#9 + # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#13 def on_xstr(node); end end @@ -7281,16 +7461,16 @@ class RuboCop::Cop::Layout::AccessModifierIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#50 def on_block(node); end # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#43 def on_class(node); end - # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#49 def on_module(node); end - # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#43 + # source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#48 def on_sclass(node); end private @@ -7365,7 +7545,7 @@ class RuboCop::Cop::Layout::ArgumentAlignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#55 + # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#64 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#55 @@ -7662,7 +7842,7 @@ class RuboCop::Cop::Layout::BlockAlignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#83 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#83 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#87 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#89 @@ -7753,7 +7933,7 @@ class RuboCop::Cop::Layout::BlockEndNewline < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#33 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#33 + # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#45 def on_numblock(node); end private @@ -8078,7 +8258,7 @@ class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base # Validates code style on class declaration. # Add offense when find a node out of expected order. # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#158 + # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#169 def on_sclass(class_node); end private @@ -8346,13 +8526,13 @@ class RuboCop::Cop::Layout::ClosingParenthesisIndentation < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#84 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#79 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#82 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#88 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#88 + # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#91 def on_defs(node); end # source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#79 @@ -8536,7 +8716,7 @@ class RuboCop::Cop::Layout::ConditionPosition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#27 def on_if(node); end - # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#33 + # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#36 def on_until(node); end # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#33 @@ -8594,7 +8774,7 @@ class RuboCop::Cop::Layout::DefEndAlignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#43 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#43 + # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#46 def on_defs(node); end # source://rubocop//lib/rubocop/cop/layout/def_end_alignment.rb#48 @@ -8634,7 +8814,7 @@ class RuboCop::Cop::Layout::DotPosition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#34 + # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#45 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#34 @@ -9125,10 +9305,10 @@ class RuboCop::Cop::Layout::EmptyLineAfterMultilineCondition < ::RuboCop::Cop::B # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#93 def on_rescue(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#70 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#73 def on_until(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#75 + # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#80 def on_until_post(node); end # source://rubocop//lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb#70 @@ -9473,7 +9653,7 @@ class RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier < ::RuboCop::Cop::Bas # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#71 def on_module(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#81 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#85 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#76 @@ -9598,7 +9778,7 @@ class RuboCop::Cop::Layout::EmptyLinesAroundArguments < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#47 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#57 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#47 @@ -9809,7 +9989,7 @@ class RuboCop::Cop::Layout::EmptyLinesAroundBlockBody < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#30 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#30 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#36 def on_numblock(node); end end @@ -10034,19 +10214,19 @@ class RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords < ::RuboCo include ::RuboCop::Cop::Layout::EmptyLinesAroundBody extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#71 def on_block(node); end # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#70 def on_defs(node); end # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#74 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#67 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb#72 def on_numblock(node); end private @@ -10104,7 +10284,7 @@ class RuboCop::Cop::Layout::EmptyLinesAroundMethodBody < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#29 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#29 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#32 def on_defs(node); end private @@ -10250,7 +10430,7 @@ class RuboCop::Cop::Layout::EndAlignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#111 def on_case(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#111 + # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#118 def on_case_match(node); end # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#83 @@ -10607,13 +10787,13 @@ class RuboCop::Cop::Layout::FirstArgumentIndentation < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#222 def eligible_method_call?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#155 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#165 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#155 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#155 + # source://rubocop//lib/rubocop/cop/layout/first_argument_indentation.rb#166 def on_super(node); end private @@ -10769,7 +10949,7 @@ class RuboCop::Cop::Layout::FirstArrayElementIndentation < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#94 def on_array(node); end - # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#100 + # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#107 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#100 @@ -10983,7 +11163,7 @@ class RuboCop::Cop::Layout::FirstHashElementIndentation < ::RuboCop::Cop::Base include ::RuboCop::Cop::MultilineElementIndentation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#126 + # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#133 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/first_hash_element_indentation.rb#122 @@ -11157,13 +11337,13 @@ class RuboCop::Cop::Layout::FirstMethodArgumentLineBreak < ::RuboCop::Cop::Base include ::RuboCop::Cop::FirstElementLineBreak extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#72 + # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#86 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#72 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#72 + # source://rubocop//lib/rubocop/cop/layout/first_method_argument_line_break.rb#87 def on_super(node); end private @@ -11233,7 +11413,7 @@ class RuboCop::Cop::Layout::FirstMethodParameterLineBreak < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#62 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#62 + # source://rubocop//lib/rubocop/cop/layout/first_method_parameter_line_break.rb#65 def on_defs(node); end private @@ -11294,7 +11474,7 @@ class RuboCop::Cop::Layout::FirstParameterIndentation < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#53 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#53 + # source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#59 def on_defs(node); end private @@ -11519,10 +11699,10 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#195 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#205 def on_super(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#206 def on_yield(node); end private @@ -12188,19 +12368,19 @@ class RuboCop::Cop::Layout::IndentationWidth < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#95 def on_class(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#104 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#119 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#121 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#121 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#126 def on_defs(node); end # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#66 def on_ensure(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#66 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#71 def on_for(node); end # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#156 @@ -12209,25 +12389,25 @@ class RuboCop::Cop::Layout::IndentationWidth < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#73 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#95 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#102 def on_module(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#81 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#93 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#66 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#70 def on_resbody(node); end # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#61 def on_rescue(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#95 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#101 def on_sclass(node); end # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#104 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#128 + # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#136 def on_until(node, base = T.unsafe(nil)); end # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#128 @@ -12851,19 +13031,19 @@ class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::LineLengthHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#70 def max=(value); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#80 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#83 def on_array(node); end # source://rubocop//lib/rubocop/cop/layout/line_length.rb#74 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#80 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#86 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#80 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#84 def on_hash(node); end # source://rubocop//lib/rubocop/cop/layout/line_length.rb#94 @@ -12872,13 +13052,13 @@ class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/line_length.rb#88 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#74 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#78 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/layout/line_length.rb#80 def on_potential_breakable_node(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#80 + # source://rubocop//lib/rubocop/cop/layout/line_length.rb#85 def on_send(node); end private @@ -13272,7 +13452,7 @@ class RuboCop::Cop::Layout::MultilineBlockLayout < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#59 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#59 + # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#71 def on_numblock(node); end private @@ -13924,7 +14104,7 @@ class RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout < ::RuboCop::Co # source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#121 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#121 + # source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#124 def on_defs(node); end end @@ -14163,7 +14343,7 @@ class RuboCop::Cop::Layout::ParameterAlignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#81 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#81 + # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#86 def on_defs(node); end private @@ -14234,7 +14414,7 @@ class RuboCop::Cop::Layout::RedundantLineBreak < ::RuboCop::Cop::Base include ::RuboCop::Cop::CheckAssignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#55 + # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#65 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#51 @@ -14444,7 +14624,7 @@ class RuboCop::Cop::Layout::SingleLineBlockChain < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#32 + # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#36 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/single_line_block_chain.rb#32 @@ -14558,7 +14738,7 @@ class RuboCop::Cop::Layout::SpaceAfterMethodName < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#23 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#23 + # source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#35 def on_defs(node); end end @@ -15003,7 +15183,7 @@ class RuboCop::Cop::Layout::SpaceAroundMethodCallOperator < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#53 def on_const(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#45 + # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#51 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/space_around_method_call_operator.rb#45 @@ -15093,10 +15273,10 @@ class RuboCop::Cop::Layout::SpaceAroundOperators < ::RuboCop::Cop::Base include ::RuboCop::Cop::RationalLiteral extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#133 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#156 def on_and(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#164 def on_and_asgn(node); end # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 @@ -15108,37 +15288,37 @@ class RuboCop::Cop::Layout::SpaceAroundOperators < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#125 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#133 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#162 def on_class(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#160 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#161 def on_gvasgn(node); end # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#92 def on_if(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#159 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#157 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#158 def on_masgn(node); end # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#149 def on_match_pattern(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#141 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#165 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#133 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#155 def on_or(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#117 + # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#163 def on_or_asgn(node); end # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#84 @@ -15280,7 +15460,7 @@ class RuboCop::Cop::Layout::SpaceBeforeBlockBraces < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#56 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#56 + # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#79 def on_numblock(node); end private @@ -15446,7 +15626,7 @@ class RuboCop::Cop::Layout::SpaceBeforeFirstArg < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#35 + # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#47 def on_csend(node); end # source://rubocop//lib/rubocop/cop/layout/space_before_first_arg.rb#35 @@ -15803,7 +15983,7 @@ class RuboCop::Cop::Layout::SpaceInsideBlockBraces < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#85 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#85 + # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#101 def on_numblock(node); end private @@ -16634,19 +16814,19 @@ class RuboCop::Cop::Lint::AmbiguousAssignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#30 def on_asgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#30 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 def on_lvasgn(node); end private @@ -16712,7 +16892,7 @@ class RuboCop::Cop::Lint::AmbiguousBlockAssociation < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#62 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#75 def on_csend(node); end # source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#62 @@ -16916,7 +17096,7 @@ RuboCop::Cop::Lint::AmbiguousOperatorPrecedence::RESTRICT_ON_SEND = T.let(T.unsa class RuboCop::Cop::Lint::AmbiguousRange < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#64 + # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#73 def on_erange(node); end # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#64 @@ -17031,10 +17211,10 @@ class RuboCop::Cop::Lint::AssignmentInCondition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#55 def on_if(node); end - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#55 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#70 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#55 + # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#69 def on_while(node); end private @@ -17134,7 +17314,7 @@ class RuboCop::Cop::Lint::BinaryOperatorWithIdenticalOperands < ::RuboCop::Cop:: # source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#61 def on_and(node); end - # source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#61 + # source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#64 def on_or(node); end # source://rubocop//lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb#52 @@ -17305,7 +17485,7 @@ class RuboCop::Cop::Lint::ConstantDefinitionInBlock < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#85 def on_class(node); end - # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#85 + # source://rubocop//lib/rubocop/cop/lint/constant_definition_in_block.rb#90 def on_module(node); end private @@ -17887,16 +18067,16 @@ class RuboCop::Cop::Lint::DuplicateBranch < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#89 def on_branching_statement(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#89 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#97 def on_case(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#89 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#98 def on_case_match(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#89 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#96 def on_if(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#89 + # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#99 def on_rescue(node); end private @@ -18445,7 +18625,7 @@ class RuboCop::Cop::Lint::EachWithObjectArgument < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#25 def each_with_object?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#29 + # source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#36 def on_csend(node); end # source://rubocop//lib/rubocop/cop/lint/each_with_object_argument.rb#29 @@ -19461,7 +19641,7 @@ class RuboCop::Cop::Lint::HashCompareByIdentity < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#37 def id_as_hash_key?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#41 + # source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#44 def on_csend(node); end # source://rubocop//lib/rubocop/cop/lint/hash_compare_by_identity.rb#41 @@ -19504,7 +19684,7 @@ class RuboCop::Cop::Lint::HeredocMethodCallPosition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#37 + # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#46 def on_csend(node); end # source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#37 @@ -19759,7 +19939,7 @@ class RuboCop::Cop::Lint::IneffectiveAccessModifier < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#52 def on_class(node); end - # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#52 + # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#55 def on_module(node); end # source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#48 @@ -20029,13 +20209,13 @@ class RuboCop::Cop::Lint::LiteralAsCondition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#51 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#51 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#56 def on_until_post(node); end # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#44 def on_while(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#44 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#49 def on_while_post(node); end private @@ -20106,10 +20286,10 @@ class RuboCop::Cop::Lint::LiteralAssignmentInCondition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#39 def on_if(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#39 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#52 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#39 + # source://rubocop//lib/rubocop/cop/lint/literal_assignment_in_condition.rb#51 def on_while(node); end private @@ -20508,7 +20688,7 @@ class RuboCop::Cop::Lint::MixedCaseRange < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#58 def each_unsafe_regexp_range(node); end - # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#37 + # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#46 def on_erange(node); end # source://rubocop//lib/rubocop/cop/lint/mixed_case_range.rb#37 @@ -20713,7 +20893,7 @@ class RuboCop::Cop::Lint::NestedMethodDefinition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#97 def on_def(node); end - # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#97 + # source://rubocop//lib/rubocop/cop/lint/nested_method_definition.rb#111 def on_defs(node); end private @@ -20814,7 +20994,7 @@ class RuboCop::Cop::Lint::NextWithoutAccumulator < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#38 def on_block_body_of_reduce(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#24 + # source://rubocop//lib/rubocop/cop/lint/next_without_accumulator.rb#33 def on_numblock(node); end private @@ -20863,10 +21043,10 @@ class RuboCop::Cop::Lint::NoReturnInBeginEndBlocks < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#41 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#41 + # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#49 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#41 + # source://rubocop//lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb#48 def on_or_asgn(node); end end @@ -21234,7 +21414,7 @@ class RuboCop::Cop::Lint::NumberConversion < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#107 + # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#111 def on_csend(node); end # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#107 @@ -21501,7 +21681,7 @@ class RuboCop::Cop::Lint::ParenthesesAsGroupedExpression < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#24 + # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#35 def on_csend(node); end # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#24 @@ -22502,7 +22682,7 @@ class RuboCop::Cop::Lint::RedundantWithIndex < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#37 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#37 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#55 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#60 @@ -22554,7 +22734,7 @@ class RuboCop::Cop::Lint::RedundantWithObject < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#36 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#36 + # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#51 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#56 @@ -22661,7 +22841,7 @@ RuboCop::Cop::Lint::RegexpAsCondition::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Lint::RequireParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#31 + # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#40 def on_csend(node); end # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#31 @@ -22715,7 +22895,7 @@ RuboCop::Cop::Lint::RequireParentheses::MSG = T.let(T.unsafe(nil), String) # # source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#40 class RuboCop::Cop::Lint::RequireRangeParentheses < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#43 + # source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#53 def on_erange(node); end # source://rubocop//lib/rubocop/cop/lint/require_range_parentheses.rb#43 @@ -23120,22 +23300,22 @@ RuboCop::Cop::Lint::ScriptPermission::SHEBANG = T.let(T.unsafe(nil), String) # # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#26 class RuboCop::Cop::Lint::SelfAssignment < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#69 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#73 def on_and_asgn(node); end # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#57 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#36 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#43 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#54 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#55 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#45 + # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#53 def on_ivasgn(node); end # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#45 @@ -24136,7 +24316,7 @@ class RuboCop::Cop::Lint::UnexpectedBlockArity < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#44 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#44 + # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#55 def on_numblock(node); end private @@ -24266,7 +24446,7 @@ class RuboCop::Cop::Lint::UnmodifiedReduceAccumulator < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#115 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#115 + # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#122 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#70 @@ -24366,7 +24546,7 @@ class RuboCop::Cop::Lint::UnreachableCode < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#35 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#35 + # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#45 def on_kwbegin(node); end private @@ -24476,22 +24656,22 @@ class RuboCop::Cop::Lint::UnreachableLoop < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#100 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#98 def on_for(node); end # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#104 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#95 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#97 def on_until_post(node); end # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#92 def on_while(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#92 + # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#96 def on_while_post(node); end private @@ -24964,13 +25144,13 @@ class RuboCop::Cop::Lint::UselessAccessModifier < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#133 def on_class(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#133 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#136 def on_module(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#139 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#145 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#133 + # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#137 def on_sclass(node); end # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#156 @@ -25210,7 +25390,7 @@ class RuboCop::Cop::Lint::UselessMethodDefinition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#43 def on_def(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#43 + # source://rubocop//lib/rubocop/cop/lint/useless_method_definition.rb#53 def on_defs(node); end private @@ -25419,7 +25599,7 @@ class RuboCop::Cop::Lint::UselessSetterCall < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#37 def on_def(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#37 + # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#54 def on_defs(node); end # source://rubocop//lib/rubocop/cop/lint/useless_setter_call.rb#59 @@ -25601,10 +25781,10 @@ class RuboCop::Cop::Lint::Void < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/void.rb#82 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#92 + # source://rubocop//lib/rubocop/cop/lint/void.rb#95 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#82 + # source://rubocop//lib/rubocop/cop/lint/void.rb#90 def on_numblock(node); end private @@ -25842,7 +26022,7 @@ module RuboCop::Cop::MethodComplexity # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#37 def define_method?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#15 def max=(value); end # @api private @@ -25857,12 +26037,12 @@ module RuboCop::Cop::MethodComplexity # @api private # - # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#22 def on_defs(node); end # @api private # - # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#24 + # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#32 def on_numblock(node); end private @@ -25998,7 +26178,7 @@ class RuboCop::Cop::Metrics::BlockLength < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#51 def on_block(node); end - # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#51 + # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#58 def on_numblock(node); end private @@ -26026,7 +26206,7 @@ RuboCop::Cop::Metrics::BlockLength::LABEL = T.let(T.unsafe(nil), String) # # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#14 class RuboCop::Cop::Metrics::BlockNesting < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#17 def max=(value); end # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#19 @@ -26165,7 +26345,7 @@ class RuboCop::Cop::Metrics::CollectionLiteralLength < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#55 def on_array(node); end - # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#55 + # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#58 def on_hash(node); end # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#60 @@ -26286,10 +26466,10 @@ class RuboCop::Cop::Metrics::MethodLength < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#49 def on_def(node); end - # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#49 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#54 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#56 + # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#61 def on_numblock(node); end private @@ -26415,10 +26595,10 @@ class RuboCop::Cop::Metrics::ParameterLists < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#121 def argument_to_lambda_or_proc?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#71 def max=(value); end - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#72 def max_optional_parameters=(value); end # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#104 @@ -26427,7 +26607,7 @@ class RuboCop::Cop::Metrics::ParameterLists < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#90 def on_def(node); end - # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#90 + # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#102 def on_defs(node); end # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#81 @@ -26516,13 +26696,13 @@ class RuboCop::Cop::Metrics::Utils::AbcSizeCalculator # @return [AbcSizeCalculator] a new instance of AbcSizeCalculator # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#30 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#34 def initialize(node, discount_repeated_attributes: T.unsafe(nil)); end # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#42 def calculate; end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#76 def calculate_node(node); end # @return [Boolean] @@ -26530,7 +26710,7 @@ class RuboCop::Cop::Metrics::Utils::AbcSizeCalculator # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#65 def else_branch?(node); end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#51 def evaluate_branch_nodes(node); end # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#60 @@ -26754,7 +26934,7 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#30 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#34 def initialize(node, discount_repeated_attributes: T.unsafe(nil)); end # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#61 @@ -26762,7 +26942,7 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#76 def calculate_node(node); end # @api private @@ -26773,7 +26953,7 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#51 def evaluate_branch_nodes(node); end # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#92 @@ -26987,7 +27167,7 @@ end # # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#7 module RuboCop::Cop::MultilineExpressionIndentation - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#23 def on_csend(node); end # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#14 @@ -27334,7 +27514,7 @@ class RuboCop::Cop::Naming::AccessorMethodName < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#42 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#49 def on_defs(node); end private @@ -27512,7 +27692,7 @@ class RuboCop::Cop::Naming::BlockForwarding < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#54 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#54 + # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#73 def on_defs(node); end private @@ -27650,7 +27830,7 @@ class RuboCop::Cop::Naming::ClassAndModuleCamelCase < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#32 def on_class(node); end - # source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#32 + # source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#41 def on_module(node); end end @@ -28111,30 +28291,47 @@ class RuboCop::Cop::Naming::InclusiveLanguage::WordLocation < ::Struct # Returns the value of attribute position # # @return [Object] the current value of position + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def position; end # Sets the attribute position # # @param value [Object] the value to set the attribute position to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def position=(_); end # Returns the value of attribute word # # @return [Object] the current value of word + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def word; end # Sets the attribute word # # @param value [Object] the value to set the attribute word to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def word=(_); end class << self + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def inspect; end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def members; end + + # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 def new(*_arg0); end end end @@ -28361,7 +28558,7 @@ class RuboCop::Cop::Naming::MethodName < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/naming/method_name.rb#55 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#55 + # source://rubocop//lib/rubocop/cop/naming/method_name.rb#60 def on_defs(node); end # source://rubocop//lib/rubocop/cop/naming/method_name.rb#44 @@ -28436,7 +28633,7 @@ class RuboCop::Cop::Naming::MethodParameterName < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/naming/method_parameter_name.rb#49 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/method_parameter_name.rb#49 + # source://rubocop//lib/rubocop/cop/naming/method_parameter_name.rb#54 def on_defs(node); end end @@ -28514,7 +28711,7 @@ class RuboCop::Cop::Naming::PredicateName < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#98 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#98 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#110 def on_defs(node); end # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#85 @@ -28678,37 +28875,37 @@ class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableNaming include ::RuboCop::Cop::AllowedPattern - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#51 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#57 def on_blockarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#50 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#49 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#55 def on_kwarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#54 def on_kwoptarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#56 def on_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#58 def on_lvar(node); end # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#52 def on_optarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#53 def on_restarg(node); end # @return [Boolean] @@ -28825,22 +29022,22 @@ class RuboCop::Cop::Naming::VariableNumber < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#114 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#123 def on_cvasgn(node); end # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#126 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#126 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#132 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#124 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#122 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#114 + # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#121 def on_lvasgn(node); end # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#134 @@ -28987,7 +29184,7 @@ class RuboCop::Cop::Offense # @api public # @return [Boolean] returns `true` if two offenses contain same attributes # - # source://rubocop//lib/rubocop/cop/offense.rb#211 + # source://rubocop//lib/rubocop/cop/offense.rb#217 def eql?(other); end # @api private @@ -29080,23 +29277,31 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # Returns the value of attribute begin_pos # # @return [Object] the current value of begin_pos + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def begin_pos; end # Sets the attribute begin_pos # # @param value [Object] the value to set the attribute begin_pos to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def begin_pos=(_); end # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def column; end # Sets the attribute column # # @param value [Object] the value to set the attribute column to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def column=(_); end # source://rubocop//lib/rubocop/cop/offense.rb#70 @@ -29105,41 +29310,55 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # Returns the value of attribute end_pos # # @return [Object] the current value of end_pos + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def end_pos; end # Sets the attribute end_pos # # @param value [Object] the value to set the attribute end_pos to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def end_pos=(_); end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/cop/offense.rb#66 def first_line; end # Returns the value of attribute column # # @return [Object] the current value of column + # + # source://rubocop//lib/rubocop/cop/offense.rb#68 def last_column; end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/cop/offense.rb#67 def last_line; end - # source://rubocop//lib/rubocop/cop/offense.rb#74 + # source://rubocop//lib/rubocop/cop/offense.rb#77 def length; end # Returns the value of attribute line # # @return [Object] the current value of line + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def line; end # Sets the attribute line # # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def line=(_); end # source://rubocop//lib/rubocop/cop/offense.rb#74 @@ -29148,19 +29367,32 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # Returns the value of attribute source_line # # @return [Object] the current value of source_line + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def source_line; end # Sets the attribute source_line # # @param value [Object] the value to set the attribute source_line to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/offense.rb#64 def source_line=(_); end class << self + # source://rubocop//lib/rubocop/cop/offense.rb#64 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/offense.rb#64 def inspect; end + + # source://rubocop//lib/rubocop/cop/offense.rb#64 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/offense.rb#64 def members; end + + # source://rubocop//lib/rubocop/cop/offense.rb#64 def new(*_arg0); end end end @@ -29633,99 +29865,9 @@ class RuboCop::Cop::PunctuationCorrector end module RuboCop::Cop::RSpec; end - -class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#78 - def aggregate_failures?(param0 = T.unsafe(nil), param1); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#89 - def aggregate_failures_block?(param0 = T.unsafe(nil)); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#86 - def expect?(param0 = T.unsafe(nil)); end - - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 - def max=(value); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#93 - def on_block(node); end - - private - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#109 - def example_with_aggregate_failures?(example_node); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#116 - def find_aggregate_failures(example_node); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#121 - def find_expectation(node, &block); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#132 - def flag_example(node, expectation_count:); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_expectations.rb#143 - def max_expectations; end -end - -class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 - def max=(value); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91 - def on_block(node); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#102 - def on_new_investigation; end - - private - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#111 - def all_helpers(node); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#141 - def allow_subject?; end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#109 - def example_group_memoized_helpers; end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#116 - def helpers(node); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#137 - def max; end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#127 - def variable_nodes(node); end -end - -class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 - def max=(value); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/nested_groups.rb#107 - def on_top_level_group(node); end - - private - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/nested_groups.rb#157 - def allowed_groups; end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/nested_groups.rb#134 - def count_up_nesting?(node, example_group); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/nested_groups.rb#119 - def find_nested_example_groups(node, nesting: T.unsafe(nil), &block); end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/nested_groups.rb#144 - def max_nesting; end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/nested_groups.rb#148 - def max_nesting_config; end - - # source://rubocop-rspec/3.0.4/lib/rubocop/cop/rspec/nested_groups.rb#140 - def message(nesting); end -end +class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base; end +class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base; end +class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base; end # Methods that calculate and return Parser::Source::Ranges # @@ -30140,7 +30282,7 @@ class RuboCop::Cop::Security::CompoundHash < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#63 def monuple_hash?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#87 + # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#102 def on_op_asgn(node); end # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#87 @@ -30904,10 +31046,10 @@ class RuboCop::Cop::Style::AccessorGrouping < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#59 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#59 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#67 def on_module(node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#59 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#66 def on_sclass(node); end private @@ -31101,19 +31243,19 @@ class RuboCop::Cop::Style::AndOr < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/and_or.rb#56 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#51 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#54 def on_or(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#61 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#62 def on_until_post(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#59 def on_while(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#56 + # source://rubocop//lib/rubocop/cop/style/and_or.rb#60 def on_while_post(node); end private @@ -31283,7 +31425,7 @@ class RuboCop::Cop::Style::ArgumentsForwarding < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#146 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#146 + # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#166 def on_defs(node); end private @@ -31901,26 +32043,26 @@ class RuboCop::Cop::Style::BisectedAttrAccessor < ::RuboCop::Cop::Base # happens in `after_class` because a macro might have multiple attributes # rewritten from it # - # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#55 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#70 def after_module(class_node); end # Each offending macro is captured and registered in `on_class` but correction # happens in `after_class` because a macro might have multiple attributes # rewritten from it # - # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#55 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#69 def after_sclass(class_node); end # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#33 def on_class(class_node); end - # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#33 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#50 def on_module(class_node); end # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#29 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#33 + # source://rubocop//lib/rubocop/cop/style/bisected_attr_accessor.rb#49 def on_sclass(class_node); end private @@ -32230,7 +32372,7 @@ class RuboCop::Cop::Style::BlockDelimiters < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#194 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#194 + # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#204 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#179 @@ -32783,7 +32925,7 @@ class RuboCop::Cop::Style::ClassCheck < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/class_check.rb#45 def message(node); end - # source://rubocop//lib/rubocop/cop/style/class_check.rb#33 + # source://rubocop//lib/rubocop/cop/style/class_check.rb#43 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/class_check.rb#33 @@ -32908,7 +33050,7 @@ class RuboCop::Cop::Style::ClassMethods < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/class_methods.rb#28 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/class_methods.rb#28 + # source://rubocop//lib/rubocop/cop/style/class_methods.rb#37 def on_module(node); end private @@ -33118,7 +33260,7 @@ class RuboCop::Cop::Style::CollectionCompact < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#85 def grep_v_with_nil?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#89 + # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#101 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#89 @@ -33199,7 +33341,7 @@ class RuboCop::Cop::Style::CollectionMethods < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#49 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#49 + # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#53 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#55 @@ -33347,7 +33489,7 @@ class RuboCop::Cop::Style::CombinableLoops < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#77 def on_for(node); end - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#64 + # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#75 def on_numblock(node); end private @@ -33778,7 +33920,7 @@ RuboCop::Cop::Style::ComparableClamp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar class RuboCop::Cop::Style::ConcatArrayLiterals < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#34 + # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#66 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/concat_array_literals.rb#34 @@ -34384,7 +34526,7 @@ class RuboCop::Cop::Style::DateTime < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/date_time.rb#61 def historic_date?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/date_time.rb#70 + # source://rubocop//lib/rubocop/cop/style/date_time.rb#78 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/date_time.rb#70 @@ -34452,7 +34594,7 @@ class RuboCop::Cop::Style::DefWithParentheses < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#45 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#45 + # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#53 def on_defs(node); end end @@ -34971,7 +35113,7 @@ class RuboCop::Cop::Style::DocumentationMethod < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#120 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#120 + # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#126 def on_defs(node); end private @@ -35748,7 +35890,7 @@ class RuboCop::Cop::Style::EmptyMethod < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/empty_method.rb#54 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/empty_method.rb#54 + # source://rubocop//lib/rubocop/cop/style/empty_method.rb#65 def on_defs(node); end private @@ -36162,7 +36304,7 @@ class RuboCop::Cop::Style::ExactRegexpMatch < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#32 def exact_regexp_match(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#40 + # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#53 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/exact_regexp_match.rb#40 @@ -36891,7 +37033,7 @@ class RuboCop::Cop::Style::For < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/for.rb#54 def on_for(node); end - # source://rubocop//lib/rubocop/cop/style/for.rb#65 + # source://rubocop//lib/rubocop/cop/style/for.rb#80 def on_numblock(node); end private @@ -37509,13 +37651,13 @@ class RuboCop::Cop::Style::GuardClause < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#123 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#123 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#130 def on_defs(node); end # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#139 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#132 + # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#137 def on_numblock(node); end private @@ -37785,7 +37927,7 @@ class RuboCop::Cop::Style::HashEachMethods < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#95 def on_block_pass(node); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#60 + # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#71 def on_numblock(node); end private @@ -37888,7 +38030,7 @@ class RuboCop::Cop::Style::HashExcept < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/hash_except.rb#44 def bad_method_with_poro?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/hash_except.rb#75 + # source://rubocop//lib/rubocop/cop/style/hash_except.rb#90 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/hash_except.rb#75 @@ -38994,13 +39136,13 @@ class RuboCop::Cop::Style::InfiniteLoop < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#44 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#44 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#49 def on_until_post(node); end # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#40 def on_while(node); end - # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#40 + # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#48 def on_while_post(node); end private @@ -39121,10 +39263,10 @@ class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#92 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#78 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#90 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#92 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#108 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#78 @@ -39454,7 +39596,7 @@ class RuboCop::Cop::Style::Lambda < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/lambda.rb#64 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/lambda.rb#64 + # source://rubocop//lib/rubocop/cop/style/lambda.rb#79 def on_numblock(node); end private @@ -39813,10 +39955,10 @@ class RuboCop::Cop::Style::MagicCommentFormat::CommentRange # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#125 def directives; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#116 def loc(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#116 def text(*args, **_arg1, &block); end # A magic comment can contain one value (normal style) or @@ -39889,7 +40031,7 @@ class RuboCop::Cop::Style::MapCompactWithConditionalBlock < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#51 def conditional_block(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#76 + # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#92 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/map_compact_with_conditional_block.rb#76 @@ -39994,7 +40136,7 @@ class RuboCop::Cop::Style::MapIntoArray < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#79 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#79 + # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#90 def on_numblock(node); end private @@ -40068,7 +40210,7 @@ class RuboCop::Cop::Style::MapToHash < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#41 def map_to_h(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#52 + # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#63 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#52 @@ -40325,13 +40467,13 @@ class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#217 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#220 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#217 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#217 + # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#221 def on_yield(node); end private @@ -40683,10 +40825,10 @@ class RuboCop::Cop::Style::MethodCalledOnDoEndBlock < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#29 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#40 + # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#52 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#29 + # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#38 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#40 @@ -40795,7 +40937,7 @@ class RuboCop::Cop::Style::MethodDefParentheses < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#105 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#105 + # source://rubocop//lib/rubocop/cop/style/method_def_parentheses.rb#122 def on_defs(node); end private @@ -40858,7 +41000,7 @@ class RuboCop::Cop::Style::MinMax < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/min_max.rb#22 def on_array(node); end - # source://rubocop//lib/rubocop/cop/style/min_max.rb#22 + # source://rubocop//lib/rubocop/cop/style/min_max.rb#33 def on_return(node); end private @@ -41107,7 +41249,7 @@ class RuboCop::Cop::Style::MissingRespondToMissing < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#27 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#27 + # source://rubocop//lib/rubocop/cop/style/missing_respond_to_missing.rb#33 def on_defs(node); end private @@ -41156,7 +41298,7 @@ class RuboCop::Cop::Style::MixinGrouping < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#40 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#40 + # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#49 def on_module(node); end private @@ -41410,7 +41552,7 @@ class RuboCop::Cop::Style::MultilineBlockChain < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#30 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#30 + # source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#46 def on_numblock(node); end end @@ -41620,7 +41762,7 @@ class RuboCop::Cop::Style::MultilineMethodSignature < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#27 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#27 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#37 def on_defs(node); end private @@ -41964,9 +42106,6 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet/0.8.5/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18 - def on_assignment(value); end - # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127 def on_casgn(node); end @@ -41982,9 +42121,6 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#217 def splat_value(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet/0.8.5/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12 - def t_let(param0 = T.unsafe(nil)); end - private # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#169 @@ -42338,7 +42474,7 @@ class RuboCop::Cop::Style::NegatedWhile < ::RuboCop::Cop::Base include ::RuboCop::Cop::NegativeConditional extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/negated_while.rb#29 + # source://rubocop//lib/rubocop/cop/style/negated_while.rb#36 def on_until(node); end # source://rubocop//lib/rubocop/cop/style/negated_while.rb#29 @@ -42399,10 +42535,10 @@ class RuboCop::Cop::Style::NestedModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#22 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#26 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#22 + # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#25 def on_until(node); end # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#22 @@ -42468,7 +42604,7 @@ class RuboCop::Cop::Style::NestedParenthesizedCalls < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#35 + # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#47 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/nested_parenthesized_calls.rb#35 @@ -42587,16 +42723,16 @@ class RuboCop::Cop::Style::Next < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/next.rb#68 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#76 + # source://rubocop//lib/rubocop/cop/style/next.rb#80 def on_for(node); end # source://rubocop//lib/rubocop/cop/style/next.rb#62 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/style/next.rb#68 + # source://rubocop//lib/rubocop/cop/style/next.rb#74 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#76 + # source://rubocop//lib/rubocop/cop/style/next.rb#79 def on_until(node); end # source://rubocop//lib/rubocop/cop/style/next.rb#76 @@ -42853,7 +42989,7 @@ class RuboCop::Cop::Style::NonNilCheck < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#73 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#73 + # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#84 def on_defs(node); end # source://rubocop//lib/rubocop/cop/style/non_nil_check.rb#64 @@ -43010,7 +43146,7 @@ RuboCop::Cop::Style::NumberedParameters::MSG_MULTI_LINE = T.let(T.unsafe(nil), S class RuboCop::Cop::Style::NumberedParametersLimit < ::RuboCop::Cop::Base extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#27 def max=(value); end # source://rubocop//lib/rubocop/cop/style/numbered_parameters_limit.rb#32 @@ -43177,7 +43313,7 @@ class RuboCop::Cop::Style::NumericLiterals < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedPattern extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#54 def min_digits=(value); end # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#60 @@ -43373,7 +43509,7 @@ class RuboCop::Cop::Style::ObjectThen < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/object_then.rb#34 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/object_then.rb#34 + # source://rubocop//lib/rubocop/cop/style/object_then.rb#38 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/object_then.rb#40 @@ -43674,7 +43810,7 @@ class RuboCop::Cop::Style::OptionalBooleanParameter < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#43 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#43 + # source://rubocop//lib/rubocop/cop/style/optional_boolean_parameter.rb#52 def on_defs(node); end private @@ -43714,16 +43850,16 @@ RuboCop::Cop::Style::OptionalBooleanParameter::MSG = T.let(T.unsafe(nil), String class RuboCop::Cop::Style::OrAssignment < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#57 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#65 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#57 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#66 def on_gvasgn(node); end # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#51 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#57 + # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#64 def on_ivasgn(node); end # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#57 @@ -44018,7 +44154,7 @@ class RuboCop::Cop::Style::ParenthesesAroundCondition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#62 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#68 + # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#71 def on_until(node); end # source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#68 @@ -44088,7 +44224,7 @@ class RuboCop::Cop::Style::PercentLiteralDelimiters < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#30 def on_array(node); end - # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#38 + # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#41 def on_dstr(node); end # source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#34 @@ -44303,7 +44439,7 @@ class RuboCop::Cop::Style::PreferredHashMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#43 + # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#52 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/preferred_hash_methods.rb#43 @@ -44349,7 +44485,7 @@ class RuboCop::Cop::Style::Proc < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/proc.rb#25 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/proc.rb#25 + # source://rubocop//lib/rubocop/cop/style/proc.rb#33 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/proc.rb#22 @@ -44644,7 +44780,7 @@ class RuboCop::Cop::Style::RedundantArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#64 + # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#76 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#64 @@ -44762,7 +44898,7 @@ class RuboCop::Cop::Style::RedundantAssignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#50 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#50 + # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#53 def on_defs(node); end # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#46 @@ -44869,13 +45005,13 @@ class RuboCop::Cop::Style::RedundantBegin < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#76 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#76 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#82 def on_defs(node); end # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#95 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#84 + # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#93 def on_numblock(node); end private @@ -45384,7 +45520,7 @@ RuboCop::Cop::Style::RedundantDoubleSplatHashBraces::MSG = T.let(T.unsafe(nil), class RuboCop::Cop::Style::RedundantEach < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#43 + # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#59 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#43 @@ -45649,7 +45785,7 @@ RuboCop::Cop::Style::RedundantFileExtensionInRequire::RESTRICT_ON_SEND = T.let(T class RuboCop::Cop::Style::RedundantFilterChain < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#81 + # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#90 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#81 @@ -46436,7 +46572,7 @@ RuboCop::Cop::Style::RedundantPercentQ::STRING_INTERPOLATION_REGEXP = T.let(T.un class RuboCop::Cop::Style::RedundantRegexpArgument < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#47 + # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#60 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#47 @@ -46708,7 +46844,7 @@ class RuboCop::Cop::Style::RedundantReturn < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#69 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#69 + # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#72 def on_defs(node); end # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#63 @@ -46829,7 +46965,7 @@ class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base # Assignment of self.x # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#68 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#72 def on_and_asgn(node); end # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#86 @@ -46848,7 +46984,7 @@ class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base # Using self.x to distinguish from local variable x # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#81 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#84 def on_defs(node); end # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#126 @@ -46863,7 +46999,7 @@ class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#94 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#120 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#124 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#74 @@ -46877,10 +47013,10 @@ class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#108 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#126 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#140 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#126 + # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#139 def on_while(node); end private @@ -46964,13 +47100,13 @@ class RuboCop::Cop::Style::RedundantSelfAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#52 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#66 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#52 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#67 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#52 + # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#65 def on_ivasgn(node); end # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#52 @@ -47120,7 +47256,7 @@ class RuboCop::Cop::Style::RedundantSort < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#104 + # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#111 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#104 @@ -47903,7 +48039,7 @@ class RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition < ::RuboCop::Cop # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#62 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#62 + # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#75 def on_defs(node); end # source://rubocop//lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb#58 @@ -48134,7 +48270,7 @@ RuboCop::Cop::Style::SafeNavigation::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Style::Sample < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/sample.rb#41 + # source://rubocop//lib/rubocop/cop/style/sample.rb#55 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/sample.rb#41 @@ -48231,7 +48367,7 @@ class RuboCop::Cop::Style::SelectByRegexp < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#74 def env_const?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#88 + # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#103 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#88 @@ -48452,7 +48588,7 @@ RuboCop::Cop::Style::Semicolon::MSG = T.let(T.unsafe(nil), String) # # source://rubocop//lib/rubocop/cop/style/send.rb#16 class RuboCop::Cop::Style::Send < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/style/send.rb#20 + # source://rubocop//lib/rubocop/cop/style/send.rb#25 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/send.rb#20 @@ -48843,7 +48979,7 @@ class RuboCop::Cop::Style::SingleLineDoEndBlock < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#34 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#34 + # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#51 def on_numblock(node); end private @@ -48892,7 +49028,7 @@ class RuboCop::Cop::Style::SingleLineMethods < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#41 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#41 + # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#48 def on_defs(node); end private @@ -49503,7 +49639,7 @@ class RuboCop::Cop::Style::StringChars < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/string_chars.rb#29 + # source://rubocop//lib/rubocop/cop/style/string_chars.rb#38 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/string_chars.rb#29 @@ -49824,7 +49960,7 @@ class RuboCop::Cop::Style::StringMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::MethodPreference extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/string_methods.rb#23 + # source://rubocop//lib/rubocop/cop/style/string_methods.rb#32 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/string_methods.rb#23 @@ -49853,7 +49989,7 @@ class RuboCop::Cop::Style::Strip < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/strip.rb#24 def lstrip_rstrip(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/strip.rb#31 + # source://rubocop//lib/rubocop/cop/style/strip.rb#41 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/strip.rb#31 @@ -50060,19 +50196,19 @@ class RuboCop::Cop::Style::SwapValues < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/swap_values.rb#30 def on_asgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#30 + # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 def on_lvasgn(node); end private @@ -50312,7 +50448,7 @@ class RuboCop::Cop::Style::SymbolProc < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#170 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#170 + # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#187 def on_numblock(node); end # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#152 @@ -50639,13 +50775,13 @@ class RuboCop::Cop::Style::TopLevelMethodDefinition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#52 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#52 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#57 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#60 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#66 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#52 + # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#58 def on_send(node); end private @@ -50683,7 +50819,7 @@ class RuboCop::Cop::Style::TrailingBodyOnClass < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/trailing_body_on_class.rb#25 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/trailing_body_on_class.rb#25 + # source://rubocop//lib/rubocop/cop/style/trailing_body_on_class.rb#37 def on_sclass(node); end end @@ -50724,7 +50860,7 @@ class RuboCop::Cop::Style::TrailingBodyOnMethodDefinition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/trailing_body_on_method_definition.rb#38 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/trailing_body_on_method_definition.rb#38 + # source://rubocop//lib/rubocop/cop/style/trailing_body_on_method_definition.rb#51 def on_defs(node); end end @@ -50843,7 +50979,7 @@ class RuboCop::Cop::Style::TrailingCommaInArguments < ::RuboCop::Cop::Base include ::RuboCop::Cop::TrailingComma extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#102 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#95 @@ -51333,7 +51469,7 @@ class RuboCop::Cop::Style::TrivialAccessors < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#104 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#104 + # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#111 def on_defs(node); end private @@ -51571,7 +51707,7 @@ class RuboCop::Cop::Style::UnpackFirst < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#37 + # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#49 def on_csend(node); end # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#37 @@ -51679,7 +51815,7 @@ RuboCop::Cop::Style::WhenThen::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::Style::WhileUntilDo < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/while_until_do.rb#34 + # source://rubocop//lib/rubocop/cop/style/while_until_do.rb#43 def on_until(node); end # source://rubocop//lib/rubocop/cop/style/while_until_do.rb#34 @@ -51726,7 +51862,7 @@ class RuboCop::Cop::Style::WhileUntilModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::StatementModifier extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#41 + # source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#48 def on_until(node); end # source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#41 @@ -52358,7 +52494,7 @@ class RuboCop::Cop::Team # Returns the value of attribute updated_source_file. # - # source://rubocop//lib/rubocop/cop/team.rb#51 + # source://rubocop//lib/rubocop/cop/team.rb#53 def updated_source_file?; end # Returns the value of attribute warnings. @@ -53307,7 +53443,7 @@ class RuboCop::Cop::VariableForce::Assignment # Returns the value of attribute referenced. # - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#12 + # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#14 def referenced?; end # Returns the value of attribute references. @@ -53372,19 +53508,32 @@ class RuboCop::Cop::VariableForce::AssignmentReference < ::Struct # Returns the value of attribute node # # @return [Object] the current value of node + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def node; end # Sets the attribute node # # @param value [Object] the value to set the attribute node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def node=(_); end class << self + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def inspect; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def members; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#68 def new(*_arg0); end end end @@ -53451,12 +53600,16 @@ class RuboCop::Cop::VariableForce::Branch::Base < ::Struct # Returns the value of attribute child_node # # @return [Object] the current value of child_node + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def child_node; end # Sets the attribute child_node # # @param value [Object] the value to set the attribute child_node to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def child_node=(_); end # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#70 @@ -53468,7 +53621,7 @@ class RuboCop::Cop::VariableForce::Branch::Base < ::Struct # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#80 def each_ancestor(include_self: T.unsafe(nil), &block); end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#121 + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#127 def eql?(other); end # @return [Boolean] @@ -53495,12 +53648,16 @@ class RuboCop::Cop::VariableForce::Branch::Base < ::Struct # Returns the value of attribute scope # # @return [Object] the current value of scope + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def scope; end # Sets the attribute scope # # @param value [Object] the value to set the attribute scope to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def scope=(_); end private @@ -53509,6 +53666,7 @@ class RuboCop::Cop::VariableForce::Branch::Base < ::Struct def scan_ancestors; end class << self + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def [](*_arg0); end # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#43 @@ -53522,9 +53680,16 @@ class RuboCop::Cop::VariableForce::Branch::Base < ::Struct # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#47 def inherited(subclass); end + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def inspect; end + + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def members; end + + # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 def new(*_arg0); end # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#52 @@ -53943,7 +54108,7 @@ class RuboCop::Cop::VariableForce::Scope # Returns the value of attribute naked_top_level. # - # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#18 + # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#20 def naked_top_level?; end # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#39 @@ -54041,7 +54206,7 @@ class RuboCop::Cop::VariableForce::Variable # Returns the value of attribute captured_by_block. # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 + # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#13 def captured_by_block?; end # Returns the value of attribute declaration_node. @@ -54128,19 +54293,32 @@ class RuboCop::Cop::VariableForce::VariableReference < ::Struct # Returns the value of attribute name # # @return [Object] the current value of name + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def name; end # Sets the attribute name # # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def name=(_); end class << self + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def [](*_arg0); end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def inspect; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def keyword_init?; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def members; end + + # source://rubocop//lib/rubocop/cop/variable_force.rb#62 def new(*_arg0); end end end @@ -55348,23 +55526,31 @@ class RuboCop::Formatter::HTMLFormatter::Color < ::Struct # Returns the value of attribute alpha # # @return [Object] the current value of alpha + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def alpha; end # Sets the attribute alpha # # @param value [Object] the value to set the attribute alpha to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def alpha=(_); end # Returns the value of attribute blue # # @return [Object] the current value of blue + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def blue; end # Sets the attribute blue # # @param value [Object] the value to set the attribute blue to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def blue=(_); end # source://rubocop//lib/rubocop/formatter/html_formatter.rb#19 @@ -55373,33 +55559,50 @@ class RuboCop::Formatter::HTMLFormatter::Color < ::Struct # Returns the value of attribute green # # @return [Object] the current value of green + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def green; end # Sets the attribute green # # @param value [Object] the value to set the attribute green to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def green=(_); end # Returns the value of attribute red # # @return [Object] the current value of red + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def red; end # Sets the attribute red # # @param value [Object] the value to set the attribute red to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def red=(_); end # source://rubocop//lib/rubocop/formatter/html_formatter.rb#15 def to_s; end class << self + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def [](*_arg0); end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def inspect; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def keyword_init?; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def members; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 def new(*_arg0); end end end @@ -55470,30 +55673,47 @@ class RuboCop::Formatter::HTMLFormatter::FileOffenses < ::Struct # Returns the value of attribute offenses # # @return [Object] the current value of offenses + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def offenses; end # Sets the attribute offenses # # @param value [Object] the value to set the attribute offenses to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def offenses=(_); end # Returns the value of attribute path # # @return [Object] the current value of path + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def path; end # Sets the attribute path # # @param value [Object] the value to set the attribute path to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def path=(_); end class << self + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def [](*_arg0); end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def inspect; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def keyword_init?; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def members; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 def new(*_arg0); end end end @@ -55503,41 +55723,62 @@ class RuboCop::Formatter::HTMLFormatter::Summary < ::Struct # Returns the value of attribute inspected_files # # @return [Object] the current value of inspected_files + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def inspected_files; end # Sets the attribute inspected_files # # @param value [Object] the value to set the attribute inspected_files to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def inspected_files=(_); end # Returns the value of attribute offense_count # # @return [Object] the current value of offense_count + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def offense_count; end # Sets the attribute offense_count # # @param value [Object] the value to set the attribute offense_count to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def offense_count=(_); end # Returns the value of attribute target_files # # @return [Object] the current value of target_files + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def target_files; end # Sets the attribute target_files # # @param value [Object] the value to set the attribute target_files to. # @return [Object] the newly set value + # + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def target_files=(_); end class << self + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def [](*_arg0); end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def inspect; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def keyword_init?; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def members; end + + # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 def new(*_arg0); end end end @@ -56061,10 +56302,10 @@ class RuboCop::LSP::Routes # source://rubocop//lib/rubocop/lsp/routes.rb#31 def for(name); end - # source://rubocop//lib/rubocop/lsp/routes.rb#38 + # source://rubocop//lib/rubocop/lsp/routes.rb#20 def handle_initialize(request); end - # source://rubocop//lib/rubocop/lsp/routes.rb#57 + # source://rubocop//lib/rubocop/lsp/routes.rb#20 def handle_initialized(_request); end # @api private @@ -56072,7 +56313,7 @@ class RuboCop::LSP::Routes # source://rubocop//lib/rubocop/lsp/routes.rb#167 def handle_method_missing(request); end - # source://rubocop//lib/rubocop/lsp/routes.rb#64 + # source://rubocop//lib/rubocop/lsp/routes.rb#20 def handle_shutdown(request); end # @api private diff --git a/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi b/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi index f832ab1c5..3b47c4b00 100644 --- a/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +++ b/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi @@ -22,7 +22,7 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#45 def initialize(options = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#36 def clear(*args, **_arg1, &block); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#137 @@ -36,7 +36,7 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#129 def finished?; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#209 def format(other); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203 @@ -48,7 +48,7 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#199 def inspect; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#36 def log(*args, **_arg1, &block); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#102 @@ -56,10 +56,10 @@ class ProgressBar::Base # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#127 def paused?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#41 def progress(*args, **_arg1, &block); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#145 @@ -68,7 +68,7 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#153 def progress_mark=(mark); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#36 def refresh(*args, **_arg1, &block); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#157 @@ -108,7 +108,7 @@ class ProgressBar::Base # source://ruby-progressbar//lib/ruby-progressbar/base.rb#169 def to_s(new_format = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://ruby-progressbar//lib/ruby-progressbar/base.rb#41 def total(*args, **_arg1, &block); end # source://ruby-progressbar//lib/ruby-progressbar/base.rb#149 diff --git a/sorbet/rbi/gems/shopify-money@2.2.2.rbi b/sorbet/rbi/gems/shopify-money@2.2.2.rbi index a16ec5cc2..817f7382d 100644 --- a/sorbet/rbi/gems/shopify-money@2.2.2.rbi +++ b/sorbet/rbi/gems/shopify-money@2.2.2.rbi @@ -112,7 +112,7 @@ class Money # source://shopify-money//lib/money/money.rb#296 def fraction(rate); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def hash(*args, **_arg1, &block); end # source://shopify-money//lib/money/money.rb#137 @@ -121,7 +121,7 @@ class Money # source://shopify-money//lib/money/money.rb#198 def inspect; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def negative?(*args, **_arg1, &block); end # @return [Boolean] @@ -129,10 +129,10 @@ class Money # source://shopify-money//lib/money/money.rb#158 def no_currency?; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def nonzero?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def positive?(*args, **_arg1, &block); end # source://shopify-money//lib/money/money.rb#290 @@ -154,16 +154,16 @@ class Money # source://shopify-money//lib/money/money.rb#233 def to_d; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def to_f(*args, **_arg1, &block); end - # source://shopify-money//lib/money/money.rb#237 + # source://shopify-money//lib/money/money.rb#260 def to_formatted_s(style = T.unsafe(nil)); end # source://shopify-money//lib/money/money.rb#237 def to_fs(style = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def to_i(*args, **_arg1, &block); end # source://shopify-money//lib/money/money.rb#262 @@ -172,7 +172,7 @@ class Money # source://shopify-money//lib/money/money.rb#218 def to_money(new_currency = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#237 + # source://shopify-money//lib/money/money.rb#259 def to_s(style = T.unsafe(nil)); end # Returns the value of attribute value. @@ -180,7 +180,7 @@ class Money # source://shopify-money//lib/money/money.rb#10 def value; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#11 def zero?(*args, **_arg1, &block); end private @@ -221,16 +221,16 @@ class Money # source://shopify-money//lib/money/money.rb#88 def current_currency=(currency); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#40 def default_currency(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://shopify-money//lib/money/money.rb#40 def default_currency=(*args, **_arg1, &block); end # source://shopify-money//lib/money/deprecations.rb#12 def deprecate(message); end - # source://shopify-money//lib/money/money.rb#47 + # source://shopify-money//lib/money/money.rb#60 def from_amount(value = T.unsafe(nil), currency = T.unsafe(nil)); end # source://shopify-money//lib/money/money.rb#62 @@ -381,7 +381,7 @@ class Money::Currency # @return [Boolean] # - # source://shopify-money//lib/money/currency.rb#49 + # source://shopify-money//lib/money/currency.rb#61 def ==(other); end # @return [Boolean] @@ -449,7 +449,7 @@ class Money::Currency # Returns the value of attribute iso_code. # - # source://shopify-money//lib/money/currency.rb#30 + # source://shopify-money//lib/money/currency.rb#62 def to_s; end class << self @@ -461,7 +461,7 @@ class Money::Currency # @raise [UnknownCurrency] # - # source://shopify-money//lib/money/currency.rb#12 + # source://shopify-money//lib/money/currency.rb#17 def find!(currency_iso); end # @raise [UnknownCurrency] @@ -563,7 +563,7 @@ class Money::NullCurrency # @return [Boolean] # - # source://shopify-money//lib/money/null_currency.rb#57 + # source://shopify-money//lib/money/null_currency.rb#65 def ==(other); end # @return [Boolean] @@ -830,6 +830,7 @@ class Money::Splitter # source://shopify-money//lib/money/splitter.rb#16 def split; end + # source://shopify-money//lib/money/splitter.rb#31 def to_ary(*_arg0); end protected @@ -945,7 +946,7 @@ class RuboCop::Cop::Money::MissingCurrency < ::RuboCop::Cop::Cop # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#22 def money_new(param0 = T.unsafe(nil)); end - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#34 + # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#46 def on_csend(node); end # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#34 diff --git a/sorbet/rbi/gems/sidekiq@7.3.0.rbi b/sorbet/rbi/gems/sidekiq@7.3.0.rbi index bef7c96d1..11fdfb730 100644 --- a/sorbet/rbi/gems/sidekiq@7.3.0.rbi +++ b/sorbet/rbi/gems/sidekiq@7.3.0.rbi @@ -269,10 +269,10 @@ class Sidekiq::Config # source://sidekiq//lib/sidekiq/config.rb#51 def initialize(options = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#59 def [](*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#59 def []=(*args, **_arg1, &block); end # How frequently Redis should be checked by a random Sidekiq process for @@ -325,7 +325,7 @@ class Sidekiq::Config # source://sidekiq//lib/sidekiq/config.rb#110 def default_capsule(&block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#59 def dig(*args, **_arg1, &block); end # Register a proc to handle any error which occurs within the Sidekiq process. @@ -339,7 +339,7 @@ class Sidekiq::Config # source://sidekiq//lib/sidekiq/config.rb#227 def error_handlers; end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#59 def fetch(*args, **_arg1, &block); end # INTERNAL USE ONLY @@ -347,10 +347,10 @@ class Sidekiq::Config # source://sidekiq//lib/sidekiq/config.rb#271 def handle_exception(ex, ctx = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#59 def has_key?(*args, **_arg1, &block); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#59 def key?(*args, **_arg1, &block); end # source://sidekiq//lib/sidekiq/config.rb#245 @@ -364,7 +364,7 @@ class Sidekiq::Config # source://sidekiq//lib/sidekiq/config.rb#190 def lookup(name, default_class = T.unsafe(nil)); end - # source://forwardable/1.3.3/forwardable.rb#231 + # source://sidekiq//lib/sidekiq/config.rb#59 def merge!(*args, **_arg1, &block); end # source://sidekiq//lib/sidekiq/config.rb#140 @@ -632,7 +632,7 @@ module Sidekiq::Job::ClassMethods # +interval+ must be a timestamp, numeric or something that acts # numeric (like an activesupport time interval). # - # source://sidekiq//lib/sidekiq/job.rb#332 + # source://sidekiq//lib/sidekiq/job.rb#344 def perform_at(interval, *args); end # Push a large number of jobs to Redis, while limiting the batch of @@ -670,7 +670,7 @@ module Sidekiq::Job::ClassMethods # Inline execution of job's perform method after passing through Sidekiq.client_middleware and Sidekiq.server_middleware # - # source://sidekiq//lib/sidekiq/job.rb#301 + # source://sidekiq//lib/sidekiq/job.rb#304 def perform_sync(*args); end # source://sidekiq//lib/sidekiq/job.rb#288 @@ -1065,7 +1065,7 @@ class Sidekiq::Job::Setter # +interval+ must be a timestamp, numeric or something that acts # numeric (like an activesupport time interval). # - # source://sidekiq//lib/sidekiq/job.rb#258 + # source://sidekiq//lib/sidekiq/job.rb#261 def perform_at(interval, *args); end # source://sidekiq//lib/sidekiq/job.rb#251 @@ -1086,7 +1086,7 @@ class Sidekiq::Job::Setter # Explicit inline execution of a job. Returns nil if the job did not # execute, true otherwise. # - # source://sidekiq//lib/sidekiq/job.rb#215 + # source://sidekiq//lib/sidekiq/job.rb#249 def perform_sync(*args); end # source://sidekiq//lib/sidekiq/job.rb#197 @@ -1337,7 +1337,7 @@ class Sidekiq::Middleware::Chain # @return [Boolean] if the given class is already in the chain # - # source://sidekiq//lib/sidekiq/middleware/chain.rb#149 + # source://sidekiq//lib/sidekiq/middleware/chain.rb#152 def include?(klass); end # Inserts +newklass+ after +oldklass+ in the chain. @@ -1407,12 +1407,7 @@ end Sidekiq::NAME = T.let(T.unsafe(nil), String) # source://sidekiq//lib/sidekiq/rails.rb#7 -class Sidekiq::Rails < ::Rails::Engine - class << self - # source://activesupport/7.1.3.4/lib/active_support/callbacks.rb#70 - def __callbacks; end - end -end +class Sidekiq::Rails < ::Rails::Engine; end # source://sidekiq//lib/sidekiq/rails.rb#8 class Sidekiq::Rails::Reloader @@ -1453,7 +1448,7 @@ Sidekiq::RedisClientAdapter::BaseError = RedisClient::Error # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#10 Sidekiq::RedisClientAdapter::CommandError = RedisClient::CommandError -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#0 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#55 class Sidekiq::RedisClientAdapter::CompatClient < ::RedisClient::Decorator::Client include ::Sidekiq::RedisClientAdapter::CompatMethods @@ -1461,7 +1456,7 @@ class Sidekiq::RedisClientAdapter::CompatClient < ::RedisClient::Decorator::Clie def config; end end -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#0 +# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#55 class Sidekiq::RedisClientAdapter::CompatClient::Pipeline < ::RedisClient::Decorator::Pipeline include ::Sidekiq::RedisClientAdapter::CompatMethods end diff --git a/sorbet/rbi/gems/spoom@1.4.2.rbi b/sorbet/rbi/gems/spoom@1.4.2.rbi index 0ac317bc3..908029675 100644 --- a/sorbet/rbi/gems/spoom@1.4.2.rbi +++ b/sorbet/rbi/gems/spoom@1.4.2.rbi @@ -26,6 +26,7 @@ class Spoom::Cli::Deadcode < ::Thor sig { params(paths: ::String).void } def deadcode(*paths); end + # source://spoom//lib/spoom/cli.rb#72 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end # source://spoom//lib/spoom/cli/deadcode.rb#154 @@ -134,13 +135,13 @@ class Spoom::Cli::Main < ::Thor # source://spoom//lib/spoom/cli.rb#65 def coverage(*args); end - # source://thor/1.3.1/lib/thor.rb#334 + # source://spoom//lib/spoom/cli.rb#72 def deadcode(*args); end # source://spoom//lib/spoom/cli.rb#75 def lsp(*args); end - # source://thor/1.3.1/lib/thor.rb#334 + # source://spoom//lib/spoom/cli.rb#22 def srb(*args); end # source://spoom//lib/spoom/cli.rb#94 @@ -175,6 +176,7 @@ class Spoom::Cli::Srb::Bump < ::Thor sig { params(directory: ::String).void } def bump(directory = T.unsafe(nil)); end + # source://spoom//lib/spoom/cli/srb.rb#20 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end # source://spoom//lib/spoom/cli/srb/bump.rb#171 @@ -192,6 +194,7 @@ class Spoom::Cli::Srb::Coverage < ::Thor # source://spoom//lib/spoom/cli/srb/coverage.rb#199 def bundle_install(path, sha); end + # source://spoom//lib/spoom/cli/srb.rb#17 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end # source://spoom//lib/spoom/cli/srb/coverage.rb#211 @@ -231,6 +234,7 @@ class Spoom::Cli::Srb::LSP < ::Thor # source://spoom//lib/spoom/cli/srb/lsp.rb#55 def find(query); end + # source://spoom//lib/spoom/cli/srb.rb#14 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end # TODO: options, filter, limit, kind etc.. filter rbi @@ -278,18 +282,19 @@ end # source://spoom//lib/spoom/cli/srb.rb#12 class Spoom::Cli::Srb::Main < ::Thor - # source://thor/1.3.1/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#20 def bump(*args); end - # source://thor/1.3.1/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#17 def coverage(*args); end + # source://spoom//lib/spoom/cli.rb#22 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://thor/1.3.1/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#14 def lsp(*args); end - # source://thor/1.3.1/lib/thor.rb#334 + # source://spoom//lib/spoom/cli/srb.rb#23 def tc(*args); end end @@ -304,6 +309,7 @@ class Spoom::Cli::Srb::Tc < ::Thor # source://spoom//lib/spoom/cli/srb/tc.rb#123 def format_error(error, format); end + # source://spoom//lib/spoom/cli/srb.rb#23 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end # source://spoom//lib/spoom/cli/srb/tc.rb#27 @@ -1002,11 +1008,6 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :true, ::String prop :strict, ::String prop :strong, ::String - - class << self - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end - end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. @@ -1343,9 +1344,6 @@ class Spoom::Coverage::Snapshot < ::T::Struct # source://spoom//lib/spoom/coverage/snapshot.rb#52 sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) } def from_obj(obj); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -1478,11 +1476,6 @@ class Spoom::Deadcode::Definition < ::T::Struct # source://spoom//lib/spoom/deadcode/definition.rb#100 sig { params(args: T.untyped).returns(::String) } def to_json(*args); end - - class << self - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end - end end # source://spoom//lib/spoom/deadcode/definition.rb#10 @@ -2366,11 +2359,6 @@ class Spoom::Deadcode::Send < ::T::Struct # source://spoom//lib/spoom/deadcode/send.rb#29 sig { params(block: T.proc.params(key: ::Prism::Node, value: T.nilable(::Prism::Node)).void).void } def each_arg_assoc(&block); end - - class << self - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end - end end # source://spoom//lib/spoom.rb#12 @@ -2386,11 +2374,6 @@ class Spoom::ExecResult < ::T::Struct # source://spoom//lib/spoom/context/exec.rb#14 sig { returns(::String) } def to_s; end - - class << self - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end - end end # source://spoom//lib/spoom/file_collector.rb#5 @@ -2584,11 +2567,6 @@ class Spoom::FileTree::Node < ::T::Struct # source://spoom//lib/spoom/file_tree.rb#92 sig { returns(::String) } def path; end - - class << self - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end - end end # An internal class used to print a FileTree @@ -2652,9 +2630,6 @@ class Spoom::Git::Commit < ::T::Struct def timestamp; end class << self - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end - # Parse a line formatted as `%h %at` into a `Commit` # # source://spoom//lib/spoom/context/git.rb#14 @@ -2763,9 +2738,6 @@ class Spoom::LSP::Diagnostic < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#191 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) } def from_json(json); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2796,9 +2768,6 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#227 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) } def from_json(json); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2854,9 +2823,6 @@ class Spoom::LSP::Hover < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#30 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) } def from_json(json); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2879,9 +2845,6 @@ class Spoom::LSP::Location < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#123 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) } def from_json(json); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2942,9 +2905,6 @@ class Spoom::LSP::Position < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#61 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) } def from_json(json); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -2980,9 +2940,6 @@ class Spoom::LSP::Range < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#91 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) } def from_json(json); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -3046,9 +3003,6 @@ class Spoom::LSP::SignatureHelp < ::T::Struct # source://spoom//lib/spoom/sorbet/lsp/structures.rb#155 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) } def from_json(json); end - - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end end end @@ -3473,9 +3427,6 @@ class Spoom::Model::Reference < ::T::Struct sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def constant(name, location); end - # source://sorbet-runtime/0.5.11506/lib/types/struct.rb#13 - def inherited(s); end - # source://spoom//lib/spoom/model/reference.rb#29 sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def method(name, location); end diff --git a/sorbet/rbi/gems/sprockets@4.2.1.rbi b/sorbet/rbi/gems/sprockets@4.2.1.rbi index 376731562..4da22f386 100644 --- a/sorbet/rbi/gems/sprockets@4.2.1.rbi +++ b/sorbet/rbi/gems/sprockets@4.2.1.rbi @@ -83,7 +83,7 @@ class Sprockets::Asset # # @return [Boolean] # - # source://sprockets//lib/sprockets/asset.rb#207 + # source://sprockets//lib/sprockets/asset.rb#210 def ==(other); end # Public: Returns String base64 digest of source. @@ -93,7 +93,7 @@ class Sprockets::Asset # Public: Returns Integer length of source. # - # source://sprockets//lib/sprockets/asset.rb#120 + # source://sprockets//lib/sprockets/asset.rb#123 def bytesize; end # Public: Get charset of source. @@ -394,7 +394,7 @@ class Sprockets::Base # # @raise [NotImplementedError] # - # source://sprockets//lib/sprockets/base.rb#53 + # source://sprockets//lib/sprockets/base.rb#56 def index; end # Pretty inspect @@ -924,7 +924,7 @@ class Sprockets::CachedEnvironment < ::Sprockets::Base # No-op return self as cached environment. # - # source://sprockets//lib/sprockets/cached_environment.rb#27 + # source://sprockets//lib/sprockets/cached_environment.rb#30 def index; end # Internal: Cache Environment#load @@ -1395,7 +1395,7 @@ class Sprockets::Context # current file is `app/javascripts/foo/bar.js`, `load_path` would # return `app/javascripts`. # - # source://sprockets//lib/sprockets/context.rb#73 + # source://sprockets//lib/sprockets/context.rb#74 def root_path; end # `stub_asset` blacklists `path` from being included in the bundle. @@ -1488,7 +1488,7 @@ module Sprockets::Dependencies # # Returns nothing. # - # source://sprockets//lib/sprockets/dependencies.rb#48 + # source://sprockets//lib/sprockets/dependencies.rb#53 def depend_on(uri); end # Public: Default set of dependency URIs for assets. @@ -2211,7 +2211,7 @@ class Sprockets::Environment < ::Sprockets::Base # faster. This behavior is ideal in production since the file # system only changes between deploys. # - # source://sprockets//lib/sprockets/environment.rb#25 + # source://sprockets//lib/sprockets/environment.rb#28 def index; end # source://sprockets//lib/sprockets/environment.rb#42 @@ -2778,7 +2778,7 @@ class Sprockets::Manifest # Returns the value of attribute directory. # - # source://sprockets//lib/sprockets/manifest.rb#80 + # source://sprockets//lib/sprockets/manifest.rb#81 def dir; end # Returns the value of attribute directory. @@ -2828,7 +2828,7 @@ class Sprockets::Manifest # Returns String path to manifest.json file. # - # source://sprockets//lib/sprockets/manifest.rb#77 + # source://sprockets//lib/sprockets/manifest.rb#78 def path; end # Removes file from directory and from manifest. `filename` must @@ -3462,7 +3462,7 @@ module Sprockets::Processing # Preprocessors are ran before Postprocessors and Engine # processors. # - # source://sprockets//lib/sprockets/processing.rb#33 + # source://sprockets//lib/sprockets/processing.rb#36 def processors; end # Public: Register bundle metadata reducer function. @@ -3539,7 +3539,7 @@ module Sprockets::Processing # input[:data].gsub(...) # end # - # source://sprockets//lib/sprockets/processing.rb#53 + # source://sprockets//lib/sprockets/processing.rb#57 def register_processor(*args, &block); end # Remove Bundle Processor `klass` for `mime_type`. @@ -3567,7 +3567,7 @@ module Sprockets::Processing # # unregister_preprocessor 'text/css', Sprockets::DirectiveProcessor # - # source://sprockets//lib/sprockets/processing.rb#78 + # source://sprockets//lib/sprockets/processing.rb#82 def unregister_processor(*args); end protected @@ -4705,41 +4705,62 @@ class Sprockets::Transformers::Transformer < ::Struct # Returns the value of attribute from # # @return [Object] the current value of from + # + # source://sprockets//lib/sprockets/transformers.rb#22 def from; end # Sets the attribute from # # @param value [Object] the value to set the attribute from to. # @return [Object] the newly set value + # + # source://sprockets//lib/sprockets/transformers.rb#22 def from=(_); end # Returns the value of attribute proc # # @return [Object] the current value of proc + # + # source://sprockets//lib/sprockets/transformers.rb#22 def proc; end # Sets the attribute proc # # @param value [Object] the value to set the attribute proc to. # @return [Object] the newly set value + # + # source://sprockets//lib/sprockets/transformers.rb#22 def proc=(_); end # Returns the value of attribute to # # @return [Object] the current value of to + # + # source://sprockets//lib/sprockets/transformers.rb#22 def to; end # Sets the attribute to # # @param value [Object] the value to set the attribute to to. # @return [Object] the newly set value + # + # source://sprockets//lib/sprockets/transformers.rb#22 def to=(_); end class << self + # source://sprockets//lib/sprockets/transformers.rb#22 def [](*_arg0); end + + # source://sprockets//lib/sprockets/transformers.rb#22 def inspect; end + + # source://sprockets//lib/sprockets/transformers.rb#22 def keyword_init?; end + + # source://sprockets//lib/sprockets/transformers.rb#22 def members; end + + # source://sprockets//lib/sprockets/transformers.rb#22 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/sqlite3@1.7.3.rbi b/sorbet/rbi/gems/sqlite3@1.7.3.rbi index c0f3aa093..e26810840 100644 --- a/sorbet/rbi/gems/sqlite3@1.7.3.rbi +++ b/sorbet/rbi/gems/sqlite3@1.7.3.rbi @@ -314,7 +314,10 @@ class SQLite3::Database def authorizer=(_arg0); end def busy_handler(*_arg0); end + + # source://sqlite3//lib/sqlite3/database.rb#392 def busy_timeout(_arg0); end + def busy_timeout=(_arg0); end def changes; end def close; end diff --git a/sorbet/rbi/gems/state_machines@0.6.0.rbi b/sorbet/rbi/gems/state_machines@0.6.0.rbi index 899c057a6..710447c35 100644 --- a/sorbet/rbi/gems/state_machines@0.6.0.rbi +++ b/sorbet/rbi/gems/state_machines@0.6.0.rbi @@ -89,7 +89,10 @@ class StateMachines::AllMatcher < ::StateMachines::Matcher class << self private + # source://state_machines//lib/state_machines/matcher.rb#24 def allocate; end + + # source://state_machines//lib/state_machines/matcher.rb#24 def new(*_arg0); end end end @@ -1166,7 +1169,7 @@ module StateMachines::Integrations # StateMachines::Integrations.integrations # # => [StateMachines::Integrations::ActiveModel] # - # source://state_machines//lib/state_machines/integrations.rb#48 + # source://state_machines//lib/state_machines/integrations.rb#53 def list; end # Attempts to find an integration that matches the given class. This will @@ -1369,7 +1372,10 @@ class StateMachines::LoopbackMatcher < ::StateMachines::Matcher class << self private + # source://state_machines//lib/state_machines/matcher.rb#102 def allocate; end + + # source://state_machines//lib/state_machines/matcher.rb#102 def new(*_arg0); end end end @@ -2723,7 +2729,7 @@ class StateMachines::Machine # end # end # - # source://state_machines//lib/state_machines/machine.rb#1308 + # source://state_machines//lib/state_machines/machine.rb#1337 def on(*names, &block); end # Customizes the definition of one or more states in the machine. @@ -2994,7 +3000,7 @@ class StateMachines::Machine # The minimum requirement is that the last argument in the method be an # options hash which contains at least :if condition support. # - # source://state_machines//lib/state_machines/machine.rb#1005 + # source://state_machines//lib/state_machines/machine.rb#1038 def other_states(*names, &block); end # The class that the machine is defined in @@ -4409,7 +4415,7 @@ module StateMachines::MatcherHelpers # * +stalled+ # * +idling+ # - # source://state_machines//lib/state_machines/matcher_helpers.rb#28 + # source://state_machines//lib/state_machines/matcher_helpers.rb#31 def any; end # Represents a state that matches the original +from+ state. This is useful @@ -4932,7 +4938,7 @@ class StateMachines::State # Whether or not this state is the initial state to use for new objects # - # source://state_machines//lib/state_machines/state.rb#33 + # source://state_machines//lib/state_machines/state.rb#34 def initial?; end # Generates a nicely formatted description of this state's contents. diff --git a/sorbet/rbi/gems/thor@1.3.1.rbi b/sorbet/rbi/gems/thor@1.3.1.rbi index 18cf03564..ebbba23cb 100644 --- a/sorbet/rbi/gems/thor@1.3.1.rbi +++ b/sorbet/rbi/gems/thor@1.3.1.rbi @@ -78,7 +78,7 @@ class Thor # # Then it is required either only one of "--one" or "--two". # - # source://thor//lib/thor.rb#246 + # source://thor//lib/thor.rb#250 def at_least_one(*args, &block); end # Extend check unknown options to accept a hash of conditions. @@ -118,7 +118,7 @@ class Thor # ==== Parameters # meth:: name of the default command # - # source://thor//lib/thor.rb#21 + # source://thor//lib/thor.rb#28 def default_task(meth = T.unsafe(nil)); end # source://thor//lib/thor/base.rb#26 @@ -175,7 +175,7 @@ class Thor # If you give "--one" and "--two" at the same time ExclusiveArgumentsError # will be raised. # - # source://thor//lib/thor.rb#203 + # source://thor//lib/thor.rb#207 def exclusive(*args, &block); end # Prints help information for this class. @@ -351,7 +351,7 @@ class Thor # :banner - String to show on usage notes. # :hide - If you want to hide this option from the help. # - # source://thor//lib/thor.rb#163 + # source://thor//lib/thor.rb#175 def option(name, options = T.unsafe(nil)); end # Declares the options for the next command to be declared. @@ -361,7 +361,7 @@ class Thor # is the type of the option. Can be :string, :array, :hash, :boolean, :numeric # or :required (string). If you give a value, the type of the value is used. # - # source://thor//lib/thor.rb#129 + # source://thor//lib/thor.rb#135 def options(options = T.unsafe(nil)); end # Allows for custom "Command" package naming. @@ -380,7 +380,7 @@ class Thor # Returns commands ready to be printed. # - # source://thor//lib/thor.rb#309 + # source://thor//lib/thor.rb#318 def printable_tasks(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end # Registers another Thor subclass as a command. @@ -449,10 +449,10 @@ class Thor # source://thor//lib/thor.rb#320 def subcommands; end - # source://thor//lib/thor.rb#329 + # source://thor//lib/thor.rb#344 def subtask(subcommand, subcommand_class); end - # source://thor//lib/thor.rb#320 + # source://thor//lib/thor.rb#323 def subtasks; end # Prints help information for the given command. @@ -461,7 +461,7 @@ class Thor # shell # command_name # - # source://thor//lib/thor.rb#258 + # source://thor//lib/thor.rb#281 def task_help(shell, command_name); end protected @@ -480,7 +480,7 @@ class Thor # source://thor//lib/thor.rb#549 def create_command(meth); end - # source://thor//lib/thor.rb#549 + # source://thor//lib/thor.rb#573 def create_task(meth); end # help command has the required check disabled by default. @@ -509,7 +509,7 @@ class Thor # and determines whether it is an unambiguous substrings of a command or # alias name. # - # source://thor//lib/thor.rb#615 + # source://thor//lib/thor.rb#628 def find_task_possibilities(meth); end # source://thor//lib/thor.rb#575 @@ -554,7 +554,7 @@ class Thor # # @raise [AmbiguousTaskError] # - # source://thor//lib/thor.rb#594 + # source://thor//lib/thor.rb#610 def normalize_task_name(meth); end # source://thor//lib/thor.rb#482 @@ -570,7 +570,7 @@ class Thor # Retrieve the command name from given args. # - # source://thor//lib/thor.rb#581 + # source://thor//lib/thor.rb#585 def retrieve_task_name(args); end # Sort the commands, lexicographically by default. @@ -587,7 +587,7 @@ class Thor # source://thor//lib/thor.rb#630 def subcommand_help(cmd); end - # source://thor//lib/thor.rb#630 + # source://thor//lib/thor.rb#636 def subtask_help(cmd); end end end @@ -630,7 +630,7 @@ module Thor::Actions # # create_file "config/apache.conf", "your apache config" # - # source://thor//lib/thor/actions/create_file.rb#22 + # source://thor//lib/thor/actions/create_file.rb#27 def add_file(destination, *args, &block); end # Create a new file relative to the destination root from the given source. @@ -645,7 +645,7 @@ module Thor::Actions # # create_link "config/apache.conf", "/etc/apache.conf" # - # source://thor//lib/thor/actions/create_link.rb#17 + # source://thor//lib/thor/actions/create_link.rb#22 def add_link(destination, *args); end # Append text to a file. Since it depends on insert_into_file, it's reversible. @@ -663,7 +663,7 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#192 + # source://thor//lib/thor/actions/file_manipulation.rb#197 def append_file(path, *args, &block); end # Append text to a file. Since it depends on insert_into_file, it's reversible. @@ -943,7 +943,7 @@ module Thor::Actions # source://thor//lib/thor/actions/file_manipulation.rb#216 def inject_into_class(path, klass, *args, &block); end - # source://thor//lib/thor/actions/inject_into_file.rb#26 + # source://thor//lib/thor/actions/inject_into_file.rb#34 def inject_into_file(destination, *args, &block); end # Injects text right after the module definition. Since it depends on @@ -1015,7 +1015,7 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#170 + # source://thor//lib/thor/actions/file_manipulation.rb#175 def prepend_file(path, *args, &block); end # Prepend text to a file. Since it depends on insert_into_file, it's reversible. @@ -1053,7 +1053,7 @@ module Thor::Actions # remove_file 'README' # remove_file 'app/controllers/application_controller.rb' # - # source://thor//lib/thor/actions/file_manipulation.rb#325 + # source://thor//lib/thor/actions/file_manipulation.rb#335 def remove_dir(path, config = T.unsafe(nil)); end # Removes a file at the given location. @@ -1555,7 +1555,7 @@ class Thor::Argument # Returns the value of attribute name. # - # source://thor//lib/thor/parser/argument.rb#5 + # source://thor//lib/thor/parser/argument.rb#6 def human_name; end # Returns the value of attribute name. @@ -1839,7 +1839,7 @@ module Thor::Base::ClassMethods # Hash:: An ordered hash with commands names as keys and Thor::Command # objects as values. # - # source://thor//lib/thor/base.rb#482 + # source://thor//lib/thor/base.rb#486 def all_tasks; end # If you want to use defaults that don't match the type of an option, @@ -2077,7 +2077,7 @@ module Thor::Base::ClassMethods # @raise [UndefinedCommandError] # - # source://thor//lib/thor/base.rb#613 + # source://thor//lib/thor/base.rb#616 def handle_no_task_error(command, has_namespace = T.unsafe(nil)); end # Sets the namespace for the Thor or Thor::Group class. By default the @@ -2154,7 +2154,7 @@ module Thor::Base::ClassMethods # remove_command :this_is_not_a_command # end # - # source://thor//lib/thor/base.rb#530 + # source://thor//lib/thor/base.rb#534 def no_tasks(&block); end # Allows to use private methods from parent in child classes as commands. @@ -2180,7 +2180,7 @@ module Thor::Base::ClassMethods # public_command :foo # public_command :foo, :bar, :baz # - # source://thor//lib/thor/base.rb#606 + # source://thor//lib/thor/base.rb#611 def public_task(*names); end # Removes a previous defined argument. If :undefine is given, undefine @@ -2237,7 +2237,7 @@ module Thor::Base::ClassMethods # options:: You can give :undefine => true if you want commands the method # to be undefined from the class as well. # - # source://thor//lib/thor/base.rb#500 + # source://thor//lib/thor/base.rb#509 def remove_task(*names); end # Parses the command and options from the given args, instantiate the class @@ -2281,7 +2281,7 @@ module Thor::Base::ClassMethods # Hash:: An ordered hash with commands names as keys and Thor::Command # objects as values. # - # source://thor//lib/thor/base.rb#471 + # source://thor//lib/thor/base.rb#474 def tasks; end protected @@ -2344,7 +2344,7 @@ module Thor::Base::ClassMethods # SIGNATURE: Creates a new command if valid_command? is true. This method is # called when a new method is added to the class. # - # source://thor//lib/thor/base.rb#782 + # source://thor//lib/thor/base.rb#784 def create_task(meth); end # SIGNATURE: The hook invoked by start. @@ -2365,7 +2365,7 @@ module Thor::Base::ClassMethods # class, just return it, otherwise dup it and add the fresh copy to the # current command hash. # - # source://thor//lib/thor/base.rb#708 + # source://thor//lib/thor/base.rb#717 def find_and_refresh_task(name); end # Retrieves a value from superclass. If it reaches the baseclass, @@ -2730,7 +2730,7 @@ class Thor::Group # Returns commands ready to be printed. # - # source://thor//lib/thor/group.rb#199 + # source://thor//lib/thor/group.rb#205 def printable_tasks(*_arg0); end # Remove a previously added invocation. @@ -2756,7 +2756,7 @@ class Thor::Group # source://thor//lib/thor/group.rb#252 def create_command(meth); end - # source://thor//lib/thor/group.rb#252 + # source://thor//lib/thor/group.rb#256 def create_task(meth); end # The method responsible for dispatching given the args. @@ -2773,7 +2773,7 @@ class Thor::Group # Represents the whole class as a command. # - # source://thor//lib/thor/group.rb#243 + # source://thor//lib/thor/group.rb#246 def self_task; end end end @@ -2893,7 +2893,7 @@ module Thor::Invocation # Invoke the given command if the given args. # - # source://thor//lib/thor/invocation.rb#122 + # source://thor//lib/thor/invocation.rb#130 def invoke_task(command, *args); end # Invokes using shell padding. @@ -2921,7 +2921,7 @@ module Thor::Invocation # use the given name and return self as class. Otherwise, call # prepare_for_invocation in the current class. # - # source://thor//lib/thor/invocation.rb#153 + # source://thor//lib/thor/invocation.rb#163 def _retrieve_class_and_task(name, sent_command = T.unsafe(nil)); end # Configuration values that are shared between invocations. @@ -3102,10 +3102,10 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#99 def aliases_for_usage; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def array?; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def boolean?; end # Returns the value of attribute group. @@ -3113,7 +3113,7 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#3 def group; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def hash?; end # Returns the value of attribute hide. @@ -3129,7 +3129,7 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#3 def lazy_default; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def numeric?; end # Returns the value of attribute repeatable. @@ -3142,7 +3142,7 @@ class Thor::Option < ::Thor::Argument # source://thor//lib/thor/parser/option.rb#107 def show_default?; end - # source://thor//lib/thor/parser/option.rb#118 + # source://thor//lib/thor/parser/option.rb#117 def string?; end # source://thor//lib/thor/parser/option.rb#75 @@ -3395,37 +3395,37 @@ module Thor::Shell # source://thor//lib/thor/shell.rb#44 def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def ask(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def error(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def file_collision(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def no?(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def print_in_columns(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def print_table(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def print_wrapped(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def say(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def say_error(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def say_status(*args, &block); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def set_color(*args, &block); end # Holds the shell for the given Thor instance. If no shell is given, @@ -3441,7 +3441,7 @@ module Thor::Shell # source://thor//lib/thor/shell.rb#25 def shell=(_arg0); end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def terminal_width(*args, &block); end # Yields the given block with padding. @@ -3449,7 +3449,7 @@ module Thor::Shell # source://thor//lib/thor/shell.rb#66 def with_padding; end - # source://thor//lib/thor/shell.rb#59 + # source://thor//lib/thor/shell.rb#58 def yes?(*args, &block); end protected @@ -4266,7 +4266,7 @@ module Thor::Util # ==== Parameters # namespace # - # source://thor//lib/thor/util.rb#131 + # source://thor//lib/thor/util.rb#148 def find_class_and_task_by_namespace(namespace, fallback = T.unsafe(nil)); end # Where to look for Thor files. diff --git a/sorbet/rbi/gems/timeout@0.4.1.rbi b/sorbet/rbi/gems/timeout@0.4.1.rbi index 378f4513c..002e58a5b 100644 --- a/sorbet/rbi/gems/timeout@0.4.1.rbi +++ b/sorbet/rbi/gems/timeout@0.4.1.rbi @@ -67,7 +67,7 @@ module Timeout # Timeout into your classes so they have a #timeout method, as well as # a module method, so you can call it directly as Timeout.timeout(). # - # source://timeout//timeout.rb#169 + # source://timeout//timeout.rb#198 def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end private diff --git a/sorbet/rbi/gems/tzinfo@2.0.6.rbi b/sorbet/rbi/gems/tzinfo@2.0.6.rbi index f8f9c81f9..7d84c69a8 100644 --- a/sorbet/rbi/gems/tzinfo@2.0.6.rbi +++ b/sorbet/rbi/gems/tzinfo@2.0.6.rbi @@ -68,7 +68,7 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul # with the same {transition_at} and day as this # {AbsoluteDayOfYearTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#153 + # source://tzinfo//lib/tzinfo/transition_rule.rb#156 def eql?(r); end # @return [Boolean] `true` if the day specified by this transition is the @@ -346,7 +346,7 @@ class TZInfo::Country # @return [Array] an `Array` containing the identifier for each time # zone observed by the country # - # source://tzinfo//lib/tzinfo/country.rb#111 + # source://tzinfo//lib/tzinfo/country.rb#114 def zone_names; end # Returns An `Array` containing a {Timezone} instance for each time zone @@ -2248,7 +2248,7 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # same {transition_at}, month, week and day of week as this # {DayOfMonthTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#353 + # source://tzinfo//lib/tzinfo/transition_rule.rb#356 def eql?(r); end protected @@ -2322,7 +2322,7 @@ class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule # same {transition_at}, month and day of week as this # {DayOfWeekTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#299 + # source://tzinfo//lib/tzinfo/transition_rule.rb#302 def eql?(r); end # @return [Boolean] `false`. @@ -2392,7 +2392,7 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule # same {transition_at} and day as this {DayOfYearTransitionRule}, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#94 + # source://tzinfo//lib/tzinfo/transition_rule.rb#97 def eql?(r); end protected @@ -3097,7 +3097,7 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule # the same {transition_at} and day as this # {JulianDayOfYearTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#226 + # source://tzinfo//lib/tzinfo/transition_rule.rb#229 def eql?(r); end # @return [Boolean] `true` if the day specified by this transition is the @@ -3186,7 +3186,7 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # the same {transition_at}, month and day of week as this # {LastDayOfMonthTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#420 + # source://tzinfo//lib/tzinfo/transition_rule.rb#423 def eql?(r); end protected @@ -3332,7 +3332,7 @@ class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod # @return [Boolean] `true` if `p` is a {OffsetTimezonePeriod} with the same # {offset}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#32 + # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#35 def eql?(p); end # @return [Integer] a hash based on {offset}. @@ -3457,7 +3457,7 @@ class TZInfo::TimeWithOffset < ::Time # @return [Boolean] `true` if daylight savings time is being observed, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#43 + # source://tzinfo//lib/tzinfo/time_with_offset.rb#47 def isdst; end # An overridden version of `Time#localtime` that clears the associated @@ -3607,6 +3607,7 @@ class TZInfo::Timestamp # source://tzinfo//lib/tzinfo/timestamp.rb#372 def add_and_set_utc_offset(seconds, utc_offset); end + # source://tzinfo//lib/tzinfo/timestamp.rb#464 def eql?(_arg0); end # @return [Integer] a hash based on the value, sub-second and whether there @@ -4092,7 +4093,7 @@ class TZInfo::Timezone # offset. # @return [String] the abbreviation of this {Timezone} at the given time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1048 + # source://tzinfo//lib/tzinfo/timezone.rb#1051 def abbr(time = T.unsafe(nil)); end # @param time [Object] a `Time`, `DateTime` or `Timestamp`. @@ -4191,7 +4192,7 @@ class TZInfo::Timezone # time zone as the first element and the current {TimezonePeriod} for the # time zone as the second element. # - # source://tzinfo//lib/tzinfo/timezone.rb#1008 + # source://tzinfo//lib/tzinfo/timezone.rb#1018 def current_period_and_time; end # Returns the current local time and {TimezonePeriod} for the time zone as @@ -4845,7 +4846,7 @@ class TZInfo::Timezone # @return [Integer] the observed offset from UTC in seconds at the given # time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1094 + # source://tzinfo//lib/tzinfo/timezone.rb#1097 def utc_offset(time = T.unsafe(nil)); end # Converts a time in UTC to the local time for the time zone. @@ -5087,7 +5088,7 @@ class TZInfo::TimezoneOffset # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#50 + # source://tzinfo//lib/tzinfo/timezone_offset.rb#51 def abbr; end # The abbreviation that identifies this offset. For example GMT @@ -5186,7 +5187,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#21 + # source://tzinfo//lib/tzinfo/timezone_offset.rb#22 def utc_offset; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5194,7 +5195,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#43 + # source://tzinfo//lib/tzinfo/timezone_offset.rb#44 def utc_total_offset; end end @@ -5225,7 +5226,7 @@ class TZInfo::TimezonePeriod # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#80 + # source://tzinfo//lib/tzinfo/timezone_period.rb#83 def abbr; end # The abbreviation that identifies this offset. For example GMT @@ -5371,7 +5372,7 @@ class TZInfo::TimezonePeriod # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#54 + # source://tzinfo//lib/tzinfo/timezone_period.rb#57 def utc_offset; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5379,7 +5380,7 @@ class TZInfo::TimezonePeriod # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#90 + # source://tzinfo//lib/tzinfo/timezone_period.rb#93 def utc_total_offset; end # The abbreviation that identifies this offset. For example GMT @@ -5387,7 +5388,7 @@ class TZInfo::TimezonePeriod # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#80 + # source://tzinfo//lib/tzinfo/timezone_period.rb#84 def zone_identifier; end private @@ -5638,7 +5639,7 @@ class TZInfo::TimezoneTransition # {offset}, {previous_offset} and {timestamp_value} as this # {TimezoneTransition}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#86 + # source://tzinfo//lib/tzinfo/timezone_transition.rb#90 def eql?(tti); end # @return [Integer] a hash based on {offset}, {previous_offset} and @@ -5741,7 +5742,7 @@ class TZInfo::TransitionRule # @return [Boolean] `true` if `r` is a {TransitionRule} with the same # {transition_at} as this {TransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#47 + # source://tzinfo//lib/tzinfo/transition_rule.rb#50 def eql?(r); end # @return [Integer] a hash based on {hash_args} (defaulting to @@ -5816,7 +5817,7 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod # same {offset}, {start_transition} and {end_transition}, otherwise # `false`. # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#47 + # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#50 def eql?(p); end # @return [Integer] a hash based on {start_transition} and {end_transition}. diff --git a/sorbet/rbi/gems/uri@0.13.0.rbi b/sorbet/rbi/gems/uri@0.13.0.rbi index 038a82077..a582824c9 100644 --- a/sorbet/rbi/gems/uri@0.13.0.rbi +++ b/sorbet/rbi/gems/uri@0.13.0.rbi @@ -33,7 +33,7 @@ module Kernel # URI(uri) # # => # # - # source://uri//uri/common.rb#842 + # source://uri//uri/common.rb#852 def URI(uri); end end end @@ -693,75 +693,6 @@ URI::File::DEFAULT_PORT = T.let(T.unsafe(nil), T.untyped) class URI::GID < ::URI::Generic # source://uri//uri/generic.rb#243 def app; end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#107 - def deconstruct_keys(_keys); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#29 - def model_id; end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#29 - def model_name; end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#29 - def params; end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#102 - def to_s; end - - protected - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#118 - def query=(query); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#129 - def set_params(params); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#112 - def set_path(path); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#124 - def set_query(query); end - - private - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#136 - def check_host(host); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#141 - def check_path(path); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#146 - def check_scheme(scheme); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#195 - def parse_query_params(query); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#154 - def set_model_components(path, validate = T.unsafe(nil)); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#174 - def validate_component(component); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#188 - def validate_model_id(model_id_part); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#181 - def validate_model_id_section(model_id, model_name); end - - class << self - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#88 - def build(args); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#72 - def create(app, model, params = T.unsafe(nil)); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#64 - def parse(uri); end - - # source://globalid/1.2.1/lib/global_id/uri/gid.rb#48 - def validate_app(app); end - end end # Base class for all URI classes. @@ -822,7 +753,7 @@ class URI::Generic # # => "http://my.example.com/main.rbx?page=1" # merge # - # source://uri//uri/generic.rb#1109 + # source://uri//uri/generic.rb#1152 def +(oth); end # == Args @@ -842,7 +773,7 @@ class URI::Generic # uri.route_from('http://my.example.com') # #=> # # - # source://uri//uri/generic.rb#1262 + # source://uri//uri/generic.rb#1282 def -(oth); end # Compares two URIs. @@ -854,7 +785,7 @@ class URI::Generic # # @return [Boolean] # - # source://uri//uri/generic.rb#972 + # source://uri//uri/generic.rb#979 def absolute; end # Returns true if URI has a scheme (e.g. http:// or https://) specified. @@ -1388,7 +1319,7 @@ class URI::Generic # Constructs String from URI. # - # source://uri//uri/generic.rb#1343 + # source://uri//uri/generic.rb#1379 def to_str; end # Returns the user component (without URI decoding). @@ -1961,7 +1892,7 @@ class URI::MailTo < ::URI::Generic # uri.to_mailtext # # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n" # - # source://uri//uri/mailto.rb#268 + # source://uri//uri/mailto.rb#289 def to_rfc822text; end # Constructs String from URI. @@ -2294,40 +2225,11 @@ URI::Schemes::WS = URI::WS URI::Schemes::WSS = URI::WSS class URI::Source < ::URI::File - # source://tapioca/0.15.0/lib/tapioca/helpers/source_uri.rb#58 - sig { params(v: T.nilable(::String)).returns(T::Boolean) } - def check_host(v); end - # source://uri//uri/generic.rb#243 def gem_name; end - # source://tapioca/0.15.0/lib/tapioca/helpers/source_uri.rb#25 - sig { returns(T.nilable(::String)) } - def gem_version; end - # source://uri//uri/generic.rb#283 def line_number; end - - # source://tapioca/0.15.0/lib/tapioca/helpers/source_uri.rb#51 - sig { params(v: T.nilable(::String)).void } - def set_path(v); end - - # source://tapioca/0.15.0/lib/tapioca/helpers/source_uri.rb#70 - sig { returns(::String) } - def to_s; end - - class << self - # source://tapioca/0.15.0/lib/tapioca/helpers/source_uri.rb#38 - sig do - params( - gem_name: ::String, - gem_version: T.nilable(::String), - path: ::String, - line_number: T.nilable(::String) - ).returns(::URI::Source) - end - def build(gem_name:, gem_version:, path:, line_number:); end - end end # source://uri//uri/common.rb#285 @@ -2340,7 +2242,7 @@ module URI::Util def make_components_hash(klass, array_hash); end class << self - # source://uri//uri/common.rb#36 + # source://uri//uri/common.rb#64 def make_components_hash(klass, array_hash); end end end diff --git a/sorbet/rbi/gems/webmock@3.23.1.rbi b/sorbet/rbi/gems/webmock@3.23.1.rbi index 1429bc4e7..91463cd73 100644 --- a/sorbet/rbi/gems/webmock@3.23.1.rbi +++ b/sorbet/rbi/gems/webmock@3.23.1.rbi @@ -92,12 +92,25 @@ module WebMock include ::WebMock::API extend ::WebMock::API + # source://webmock//lib/webmock/webmock.rb#168 def after_request(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 def allow_net_connect!(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 def disable_net_connect!(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 def net_connect_allowed?(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 def registered_request?(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 def reset_callbacks(*args, &block); end + + # source://webmock//lib/webmock/webmock.rb#168 def reset_webmock(*args, &block); end class << self @@ -113,13 +126,13 @@ module WebMock # source://webmock//lib/webmock/webmock.rb#51 def disable_net_connect!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#51 + # source://webmock//lib/webmock/webmock.rb#60 def disallow_net_connect!(options = T.unsafe(nil)); end # source://webmock//lib/webmock/webmock.rb#38 def enable!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#46 + # source://webmock//lib/webmock/webmock.rb#59 def enable_net_connect!(options = T.unsafe(nil)); end # source://webmock//lib/webmock/webmock.rb#155 @@ -159,7 +172,7 @@ module WebMock # source://webmock//lib/webmock/webmock.rb#147 def registered_request?(request_signature); end - # source://webmock//lib/webmock/api.rb#14 + # source://webmock//lib/webmock/webmock.rb#23 def request(method, uri); end # source://webmock//lib/webmock/webmock.rb#129 @@ -222,7 +235,7 @@ module WebMock::API # source://webmock//lib/webmock/api.rb#51 def hash_including(*args); end - # source://webmock//lib/webmock/api.rb#31 + # source://webmock//lib/webmock/api.rb#39 def refute_requested(*args, &block); end # source://webmock//lib/webmock/api.rb#67 @@ -231,7 +244,7 @@ module WebMock::API # source://webmock//lib/webmock/api.rb#71 def reset_executed_requests!; end - # source://webmock//lib/webmock/api.rb#7 + # source://webmock//lib/webmock/api.rb#12 def stub_http_request(method, uri); end # source://webmock//lib/webmock/api.rb#7 @@ -254,7 +267,7 @@ module WebMock::API def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end class << self - # source://webmock//lib/webmock/api.rb#14 + # source://webmock//lib/webmock/api.rb#19 def request(method, uri); end end end @@ -483,7 +496,10 @@ class WebMock::Config class << self private + # source://webmock//lib/webmock/config.rb#5 def allocate; end + + # source://webmock//lib/webmock/config.rb#5 def new(*_arg0); end end end @@ -597,7 +613,10 @@ class WebMock::HttpLibAdapterRegistry class << self private + # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#5 def allocate; end + + # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#5 def new(*_arg0); end end end @@ -1004,7 +1023,10 @@ class WebMock::RequestRegistry class << self private + # source://webmock//lib/webmock/request_registry.rb#6 def allocate; end + + # source://webmock//lib/webmock/request_registry.rb#6 def new(*_arg0); end end end @@ -1018,7 +1040,7 @@ class WebMock::RequestSignature # @return [Boolean] # - # source://webmock//lib/webmock/request_signature.rb#34 + # source://webmock//lib/webmock/request_signature.rb#37 def ==(other); end # Returns the value of attribute body. @@ -1137,18 +1159,18 @@ class WebMock::RequestStub # source://webmock//lib/webmock/request_stub.rb#8 def initialize(method, uri); end - # source://webmock//lib/webmock/request_stub.rb#65 + # source://webmock//lib/webmock/request_stub.rb#71 def and_raise(*exceptions); end - # source://webmock//lib/webmock/request_stub.rb#19 + # source://webmock//lib/webmock/request_stub.rb#27 def and_return(*response_hashes, &block); end # @raise [ArgumentError] # - # source://webmock//lib/webmock/request_stub.rb#29 + # source://webmock//lib/webmock/request_stub.rb#59 def and_return_json(*response_hashes); end - # source://webmock//lib/webmock/request_stub.rb#73 + # source://webmock//lib/webmock/request_stub.rb#77 def and_timeout; end # @return [Boolean] @@ -1371,7 +1393,10 @@ class WebMock::StubRegistry class << self private + # source://webmock//lib/webmock/stub_registry.rb#6 def allocate; end + + # source://webmock//lib/webmock/stub_registry.rb#6 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/webrick@1.8.1.rbi b/sorbet/rbi/gems/webrick@1.8.1.rbi index 65fc1e517..e88319402 100644 --- a/sorbet/rbi/gems/webrick@1.8.1.rbi +++ b/sorbet/rbi/gems/webrick@1.8.1.rbi @@ -360,7 +360,7 @@ module WEBrick::HTMLUtils class << self # Escapes &, ", > and < in +string+ # - # source://webrick//lib/webrick/htmlutils.rb#18 + # source://webrick//lib/webrick/htmlutils.rb#27 def escape(string); end end end @@ -662,6 +662,73 @@ class WEBrick::HTTPAuth::DigestAuth end end +# Struct containing the opaque portion of the digest authentication +# +# source://webrick//lib/webrick/httpauth/digestauth.rb#54 +class WEBrick::HTTPAuth::DigestAuth::OpaqueInfo < ::Struct + # Returns the value of attribute nc + # + # @return [Object] the current value of nc + # + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def nc; end + + # Sets the attribute nc + # + # @param value [Object] the value to set the attribute nc to. + # @return [Object] the newly set value + # + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def nc=(_); end + + # Returns the value of attribute nonce + # + # @return [Object] the current value of nonce + # + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def nonce; end + + # Sets the attribute nonce + # + # @param value [Object] the value to set the attribute nonce to. + # @return [Object] the newly set value + # + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def nonce=(_); end + + # Returns the value of attribute time + # + # @return [Object] the current value of time + # + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def time; end + + # Sets the attribute time + # + # @param value [Object] the value to set the attribute time to. + # @return [Object] the newly set value + # + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def time=(_); end + + class << self + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def [](*_arg0); end + + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def inspect; end + + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def keyword_init?; end + + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def members; end + + # source://webrick//lib/webrick/httpauth/digestauth.rb#54 + def new(*_arg0); end + end +end + # Htdigest accesses apache-compatible digest password files. Passwords are # matched to a realm where they are valid. For security, the path for a # digest password database should be stored outside of the paths available @@ -1571,7 +1638,7 @@ class WEBrick::HTTPServer < ::WEBrick::GenericServer # Unmounts +dir+ # - # source://webrick//lib/webrick/httpserver.rb#173 + # source://webrick//lib/webrick/httpserver.rb#177 def umount(dir); end # Unmounts +dir+ @@ -1751,7 +1818,7 @@ class WEBrick::HTTPServlet::CGIHandler < ::WEBrick::HTTPServlet::AbstractServlet # # @raise [HTTPStatus::InternalServerError] # - # source://webrick//lib/webrick/httpservlet/cgihandler.rb#50 + # source://webrick//lib/webrick/httpservlet/cgihandler.rb#120 def do_POST(req, res); end end @@ -1834,7 +1901,7 @@ class WEBrick::HTTPServlet::ERBHandler < ::WEBrick::HTTPServlet::AbstractServlet # # Handles POST requests # - # source://webrick//lib/webrick/httpservlet/erbhandler.rb#50 + # source://webrick//lib/webrick/httpservlet/erbhandler.rb#71 def do_POST(req, res); end private @@ -1970,10 +2037,10 @@ class WEBrick::HTTPServlet::ProcHandler < ::WEBrick::HTTPServlet::AbstractServle # source://webrick//lib/webrick/httpservlet/prochandler.rb#38 def do_GET(request, response); end - # source://webrick//lib/webrick/httpservlet/prochandler.rb#38 + # source://webrick//lib/webrick/httpservlet/prochandler.rb#42 def do_POST(request, response); end - # source://webrick//lib/webrick/httpservlet/prochandler.rb#38 + # source://webrick//lib/webrick/httpservlet/prochandler.rb#43 def do_PUT(request, response); end # :stopdoc: @@ -2054,21 +2121,21 @@ module WEBrick::HTTPStatus # # @return [Boolean] # - # source://webrick//lib/webrick/httpstatus.rb#170 + # source://webrick//lib/webrick/httpstatus.rb#192 def client_error?(code); end # Is +code+ an error status? # # @return [Boolean] # - # source://webrick//lib/webrick/httpstatus.rb#164 + # source://webrick//lib/webrick/httpstatus.rb#191 def error?(code); end # Is +code+ an informational status? # # @return [Boolean] # - # source://webrick//lib/webrick/httpstatus.rb#146 + # source://webrick//lib/webrick/httpstatus.rb#191 def info?(code); end # Returns the description corresponding to the HTTP status +code+ @@ -2076,28 +2143,28 @@ module WEBrick::HTTPStatus # WEBrick::HTTPStatus.reason_phrase 404 # => "Not Found" # - # source://webrick//lib/webrick/httpstatus.rb#140 + # source://webrick//lib/webrick/httpstatus.rb#190 def reason_phrase(code); end # Is +code+ a redirection status? # # @return [Boolean] # - # source://webrick//lib/webrick/httpstatus.rb#158 + # source://webrick//lib/webrick/httpstatus.rb#191 def redirect?(code); end # Is +code+ a server error status? # # @return [Boolean] # - # source://webrick//lib/webrick/httpstatus.rb#176 + # source://webrick//lib/webrick/httpstatus.rb#192 def server_error?(code); end # Is +code+ a successful status? # # @return [Boolean] # - # source://webrick//lib/webrick/httpstatus.rb#152 + # source://webrick//lib/webrick/httpstatus.rb#191 def success?(code); end end end @@ -2118,7 +2185,7 @@ class WEBrick::HTTPStatus::Status < ::StandardError # Returns the HTTP status code # - # source://webrick//lib/webrick/httpstatus.rb#31 + # source://webrick//lib/webrick/httpstatus.rb#36 def to_i; end class << self @@ -2257,7 +2324,7 @@ module WEBrick::HTTPUtils # Removes quotes and escapes from +str+ # - # source://webrick//lib/webrick/httputils.rb#234 + # source://webrick//lib/webrick/httputils.rb#239 def dequote(str); end # Escapes HTTP reserved and unwise characters in +str+ @@ -2282,55 +2349,55 @@ module WEBrick::HTTPUtils # Loads Apache-compatible mime.types in +file+. # - # source://webrick//lib/webrick/httputils.rb#123 + # source://webrick//lib/webrick/httputils.rb#139 def load_mime_types(file); end # Returns the mime type of +filename+ from the list in +mime_tab+. If no # mime type was found application/octet-stream is returned. # - # source://webrick//lib/webrick/httputils.rb#145 + # source://webrick//lib/webrick/httputils.rb#150 def mime_type(filename, mime_tab); end # Normalizes a request path. Raises an exception if the path cannot be # normalized. # - # source://webrick//lib/webrick/httputils.rb#31 + # source://webrick//lib/webrick/httputils.rb#42 def normalize_path(path); end # Parses form data in +io+ with the given +boundary+ # - # source://webrick//lib/webrick/httputils.rb#406 + # source://webrick//lib/webrick/httputils.rb#432 def parse_form_data(io, boundary); end # Parses an HTTP header +raw+ into a hash of header fields with an Array # of values. # - # source://webrick//lib/webrick/httputils.rb#156 + # source://webrick//lib/webrick/httputils.rb#181 def parse_header(raw); end # Parses the query component of a URI in +str+ # - # source://webrick//lib/webrick/httputils.rb#382 + # source://webrick//lib/webrick/httputils.rb#401 def parse_query(str); end # Parses q values in +value+ as used in Accept headers. # - # source://webrick//lib/webrick/httputils.rb#213 + # source://webrick//lib/webrick/httputils.rb#229 def parse_qvalues(value); end # Parses a Range header value +ranges_specifier+ # - # source://webrick//lib/webrick/httputils.rb#195 + # source://webrick//lib/webrick/httputils.rb#208 def parse_range_header(ranges_specifier); end # Quotes and escapes quotes in +str+ # - # source://webrick//lib/webrick/httputils.rb#244 + # source://webrick//lib/webrick/httputils.rb#247 def quote(str); end # Splits a header value +str+ according to HTTP specification. # - # source://webrick//lib/webrick/httputils.rb#186 + # source://webrick//lib/webrick/httputils.rb#190 def split_header_value(str); end # Unescapes HTTP reserved and unwise characters in +str+ @@ -2419,7 +2486,7 @@ class WEBrick::HTTPUtils::FormData < ::String # # A FormData will behave like an Array # - # source://webrick//lib/webrick/httputils.rb#358 + # source://webrick//lib/webrick/httputils.rb#369 def to_ary; end # This FormData's body @@ -2482,32 +2549,32 @@ module WEBrick::Utils # # It will create IPV4 and IPV6 sockets on all interfaces. # - # source://webrick//lib/webrick/utils.rb#56 + # source://webrick//lib/webrick/utils.rb#69 def create_listeners(address, port); end # The server hostname # - # source://webrick//lib/webrick/utils.rb#47 + # source://webrick//lib/webrick/utils.rb#50 def getservername; end # Generates a random string of length +len+ # - # source://webrick//lib/webrick/utils.rb#79 + # source://webrick//lib/webrick/utils.rb#85 def random_string(len); end # Sets the close on exec flag for +io+ # - # source://webrick//lib/webrick/utils.rb#27 + # source://webrick//lib/webrick/utils.rb#30 def set_close_on_exec(io); end # Sets IO operations on +io+ to be non-blocking # - # source://webrick//lib/webrick/utils.rb#20 + # source://webrick//lib/webrick/utils.rb#23 def set_non_blocking(io); end # Changes the process's uid and gid to the ones of +user+ # - # source://webrick//lib/webrick/utils.rb#34 + # source://webrick//lib/webrick/utils.rb#43 def su(user); end # Executes the passed block and raises +exception+ if execution takes more @@ -2515,7 +2582,7 @@ module WEBrick::Utils # # If +seconds+ is zero or nil, simply executes the block # - # source://webrick//lib/webrick/utils.rb#253 + # source://webrick//lib/webrick/utils.rb#263 def timeout(seconds, exception = T.unsafe(nil)); end end end @@ -2603,5 +2670,13 @@ class WEBrick::Utils::TimeoutHandler # source://webrick//lib/webrick/utils.rb#141 def terminate; end + + private + + # source://webrick//lib/webrick/utils.rb#119 + def allocate; end + + # source://webrick//lib/webrick/utils.rb#119 + def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/websocket-driver@0.7.6.rbi b/sorbet/rbi/gems/websocket-driver@0.7.6.rbi index b50d786a7..afa6f1990 100644 --- a/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +++ b/sorbet/rbi/gems/websocket-driver@0.7.6.rbi @@ -148,30 +148,47 @@ class WebSocket::Driver::CloseEvent < ::Struct # Returns the value of attribute code # # @return [Object] the current value of code + # + # source://websocket-driver//lib/websocket/driver.rb#53 def code; end # Sets the attribute code # # @param value [Object] the value to set the attribute code to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#53 def code=(_); end # Returns the value of attribute reason # # @return [Object] the current value of reason + # + # source://websocket-driver//lib/websocket/driver.rb#53 def reason; end # Sets the attribute reason # # @param value [Object] the value to set the attribute reason to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#53 def reason=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#53 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#53 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#53 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#53 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#53 def new(*_arg0); end end end @@ -182,10 +199,19 @@ class WebSocket::Driver::ConfigurationError < ::ArgumentError; end # source://websocket-driver//lib/websocket/driver.rb#48 class WebSocket::Driver::ConnectEvent < ::Struct class << self + # source://websocket-driver//lib/websocket/driver.rb#48 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#48 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#48 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#48 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#48 def new(*_arg0); end end end @@ -647,19 +673,32 @@ class WebSocket::Driver::MessageEvent < ::Struct # Returns the value of attribute data # # @return [Object] the current value of data + # + # source://websocket-driver//lib/websocket/driver.rb#50 def data; end # Sets the attribute data # # @param value [Object] the value to set the attribute data to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#50 def data=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#50 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#50 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#50 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#50 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#50 def new(*_arg0); end end end @@ -667,10 +706,19 @@ end # source://websocket-driver//lib/websocket/driver.rb#49 class WebSocket::Driver::OpenEvent < ::Struct class << self + # source://websocket-driver//lib/websocket/driver.rb#49 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#49 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#49 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#49 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#49 def new(*_arg0); end end end @@ -683,19 +731,32 @@ class WebSocket::Driver::PingEvent < ::Struct # Returns the value of attribute data # # @return [Object] the current value of data + # + # source://websocket-driver//lib/websocket/driver.rb#51 def data; end # Sets the attribute data # # @param value [Object] the value to set the attribute data to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#51 def data=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#51 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#51 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#51 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#51 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#51 def new(*_arg0); end end end @@ -705,19 +766,32 @@ class WebSocket::Driver::PongEvent < ::Struct # Returns the value of attribute data # # @return [Object] the current value of data + # + # source://websocket-driver//lib/websocket/driver.rb#52 def data; end # Sets the attribute data # # @param value [Object] the value to set the attribute data to. # @return [Object] the newly set value + # + # source://websocket-driver//lib/websocket/driver.rb#52 def data=(_); end class << self + # source://websocket-driver//lib/websocket/driver.rb#52 def [](*_arg0); end + + # source://websocket-driver//lib/websocket/driver.rb#52 def inspect; end + + # source://websocket-driver//lib/websocket/driver.rb#52 def keyword_init?; end + + # source://websocket-driver//lib/websocket/driver.rb#52 def members; end + + # source://websocket-driver//lib/websocket/driver.rb#52 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi b/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi index 162d4081b..0d7d6e5dc 100644 --- a/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +++ b/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi @@ -39,7 +39,7 @@ class WebSocket::Extensions # source://websocket-extensions//lib/websocket/extensions.rb#120 def valid_frame_rsv(frame); end - # source://websocket-extensions//lib/websocket/extensions.rb#120 + # source://websocket-extensions//lib/websocket/extensions.rb#135 def valid_frame_rsv?(frame); end private diff --git a/sorbet/rbi/gems/xpath@3.2.0.rbi b/sorbet/rbi/gems/xpath@3.2.0.rbi index 314056462..aaecf5009 100644 --- a/sorbet/rbi/gems/xpath@3.2.0.rbi +++ b/sorbet/rbi/gems/xpath@3.2.0.rbi @@ -21,43 +21,43 @@ end # source://xpath//lib/xpath/dsl.rb#4 module XPath::DSL - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#101 def !(*args); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def !=(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def %(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def &(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def *(rhs); end - # source://xpath//lib/xpath/dsl.rb#62 + # source://xpath//lib/xpath/dsl.rb#65 def +(*expressions); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def /(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def <(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def <=(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def ==(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def >(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def >=(rhs); end - # source://xpath//lib/xpath/dsl.rb#45 + # source://xpath//lib/xpath/dsl.rb#52 def [](expression); end # source://xpath//lib/xpath/dsl.rb#136 @@ -150,7 +150,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#90 def id(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#99 def inverse(*args); end # source://xpath//lib/xpath/dsl.rb#54 @@ -186,7 +186,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#122 def multiply(rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#103 def n(*args); end # source://xpath//lib/xpath/dsl.rb#136 @@ -198,7 +198,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#166 def next_sibling(*expressions); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#102 def normalize(*args); end # source://xpath//lib/xpath/dsl.rb#90 @@ -246,7 +246,7 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#136 def self(*element_names); end - # source://xpath//lib/xpath/dsl.rb#136 + # source://xpath//lib/xpath/dsl.rb#141 def self_axis(*element_names); end # source://xpath//lib/xpath/dsl.rb#90 @@ -288,10 +288,10 @@ module XPath::DSL # source://xpath//lib/xpath/dsl.rb#45 def where(expression); end - # source://xpath//lib/xpath/dsl.rb#122 + # source://xpath//lib/xpath/dsl.rb#125 def |(rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # source://xpath//lib/xpath/dsl.rb#100 def ~(*args); end end @@ -346,7 +346,7 @@ class XPath::Expression # source://xpath//lib/xpath/expression.rb#5 def expression=(_arg0); end - # source://xpath//lib/xpath/expression.rb#17 + # source://xpath//lib/xpath/expression.rb#20 def to_s(type = T.unsafe(nil)); end # source://xpath//lib/xpath/expression.rb#17 @@ -454,7 +454,7 @@ class XPath::Union # Returns the value of attribute expressions. # - # source://xpath//lib/xpath/union.rb#7 + # source://xpath//lib/xpath/union.rb#8 def arguments; end # source://xpath//lib/xpath/union.rb#18 @@ -471,7 +471,7 @@ class XPath::Union # source://xpath//lib/xpath/union.rb#22 def method_missing(*args); end - # source://xpath//lib/xpath/union.rb#26 + # source://xpath//lib/xpath/union.rb#29 def to_s(type = T.unsafe(nil)); end # source://xpath//lib/xpath/union.rb#26 diff --git a/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi b/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi index cafd6c297..ac59d98a6 100644 --- a/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +++ b/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi @@ -386,11 +386,6 @@ class YARDSorbet::TStructProp < ::T::Struct const :prop_name, ::String const :source, ::String const :types, T::Array[::String] - - class << self - # source://sorbet-runtime/0.5.11463/lib/types/struct.rb#13 - def inherited(s); end - end end # Helper methods for working with `YARD` tags diff --git a/sorbet/rbi/gems/yard@0.9.36.rbi b/sorbet/rbi/gems/yard@0.9.36.rbi index 3ece68966..5151b3ca7 100644 --- a/sorbet/rbi/gems/yard@0.9.36.rbi +++ b/sorbet/rbi/gems/yard@0.9.36.rbi @@ -177,7 +177,7 @@ class Gem::SourceIndex # source://yard//lib/yard/rubygems/backports/source_index.rb#143 def latest_specs(include_prerelease = T.unsafe(nil)); end - # source://yard//lib/yard/rubygems/backports/source_index.rb#248 + # source://yard//lib/yard/rubygems/backports/source_index.rb#251 def length; end # Reconstruct the source index from the specifications in +spec_dirs+. @@ -491,21 +491,9 @@ RUBY19 = T.let(T.unsafe(nil), TrueClass) # # source://yard//lib/yard/server/rack_adapter.rb#93 class Rack::Request - # source://rack/3.1.4/lib/rack/request.rb#62 - def initialize(env); end - - # source://rack/3.1.4/lib/rack/request.rb#76 - def delete_param(k); end - - # source://rack/3.1.4/lib/rack/request.rb#67 - def params; end - - # source://rack/3.1.4/lib/rack/request.rb#67 + # source://yard//lib/yard/server/rack_adapter.rb#95 def query; end - # source://rack/3.1.4/lib/rack/request.rb#71 - def update_param(k, v); end - # Returns the value of attribute version_supplied. # # source://yard//lib/yard/server/rack_adapter.rb#94 @@ -522,26 +510,6 @@ class Rack::Request # # source://yard//lib/yard/server/rack_adapter.rb#96 def xhr?; end - - class << self - # source://rack/3.1.4/lib/rack/request.rb#31 - def forwarded_priority; end - - # source://rack/3.1.4/lib/rack/request.rb#31 - def forwarded_priority=(_arg0); end - - # source://rack/3.1.4/lib/rack/request.rb#18 - def ip_filter; end - - # source://rack/3.1.4/lib/rack/request.rb#18 - def ip_filter=(_arg0); end - - # source://rack/3.1.4/lib/rack/request.rb#40 - def x_forwarded_proto_priority; end - - # source://rack/3.1.4/lib/rack/request.rb#40 - def x_forwarded_proto_priority=(_arg0); end - end end # source://yard//lib/yard/core_ext/string.rb#2 @@ -602,7 +570,7 @@ class SymbolHash < ::Hash # @param key [#to_sym] the key to test # @return [Boolean] whether the key exists # - # source://yard//lib/yard/core_ext/symbol_hash.rb#59 + # source://yard//lib/yard/core_ext/symbol_hash.rb#60 def has_key?(key); end # Tests if a symbolized key exists @@ -627,7 +595,7 @@ class SymbolHash < ::Hash # @param hash [Hash] the hash object to copy the values from # @return [SymbolHash] self # - # source://yard//lib/yard/core_ext/symbol_hash.rb#67 + # source://yard//lib/yard/core_ext/symbol_hash.rb#68 def merge!(hash); end # Updates the object with the contents of another Hash object. @@ -1293,10 +1261,10 @@ class YARD::CLI::GraphOptions < ::YARD::Templates::TemplateOptions # @return [:dot] the default output format # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/graph.rb#7 def format; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/graph.rb#7 def format=(_arg0); end # @return [Boolean] whether to list the full class diagram @@ -2233,18 +2201,18 @@ class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions # @return [Array] the list of extra files rendered along with objects # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#11 def files; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#11 def files=(_arg0); end # @return [Symbol] the default output format (:html). # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#24 def format; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#24 def format=(_arg0); end # @return [Numeric] An index value for rendering sequentially related templates @@ -2294,10 +2262,10 @@ class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions # @return [Boolean] whether the data should be rendered in a single page, # if the template supports it. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#28 def onefile; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#28 def onefile=(_arg0); end # @return [CodeObjects::ExtraFileObject] the README file object rendered @@ -2315,26 +2283,26 @@ class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions # @return [Serializers::Base] the default serializer for generating output # to disk. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#21 def serializer; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#21 def serializer=(_arg0); end # @return [String] the default title appended to each generated page # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#14 def title; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#14 def title=(_arg0); end # @return [Verifier] the default verifier object to filter queries # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#17 def verifier; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/cli/yardoc.rb#17 def verifier=(_arg0); end end @@ -2560,7 +2528,7 @@ class YARD::CodeObjects::Base # the paths are equal # @return [Boolean] whether or not the objects are considered the same # - # source://yard//lib/yard/code_objects/base.rb#323 + # source://yard//lib/yard/code_objects/base.rb#330 def ==(other); end # Accesses a custom attribute on the object @@ -2667,7 +2635,7 @@ class YARD::CodeObjects::Base # the paths are equal # @return [Boolean] whether or not the objects are considered the same # - # source://yard//lib/yard/code_objects/base.rb#323 + # source://yard//lib/yard/code_objects/base.rb#331 def eql?(other); end # Tests if another object is equal to this, including a proxy @@ -2792,7 +2760,7 @@ class YARD::CodeObjects::Base # # @return [NamespaceObject] the namespace object # - # source://yard//lib/yard/code_objects/base.rb#142 + # source://yard//lib/yard/code_objects/base.rb#543 def parent; end # Sets the namespace the object is defined in. @@ -2801,7 +2769,7 @@ class YARD::CodeObjects::Base # for {Registry.root}). If obj is nil, the object is unregistered # from the Registry. # - # source://yard//lib/yard/code_objects/base.rb#522 + # source://yard//lib/yard/code_objects/base.rb#544 def parent=(obj); end # Represents the unique path of the object. The default implementation @@ -2927,7 +2895,7 @@ class YARD::CodeObjects::Base # @return [String] the unique path of the object # @see #sep # - # source://yard//lib/yard/code_objects/base.rb#453 + # source://yard//lib/yard/code_objects/base.rb#460 def to_s; end # Default type is the lowercase class name without the "Object" suffix. @@ -3130,7 +3098,7 @@ class YARD::CodeObjects::CodeObjectList < ::Array # @param value [Base] a code object to add # @return [CodeObjectList] self # - # source://yard//lib/yard/code_objects/base.rb#19 + # source://yard//lib/yard/code_objects/base.rb#28 def <<(value); end # Adds a new value to the list @@ -3224,10 +3192,10 @@ class YARD::CodeObjects::ExtraFileObject # source://yard//lib/yard/code_objects/extra_file_object.rb#44 def contents=(contents); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#64 + # source://yard//lib/yard/code_objects/extra_file_object.rb#68 def eql?(other); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#64 + # source://yard//lib/yard/code_objects/extra_file_object.rb#69 def equal?(other); end # Returns the value of attribute filename. @@ -3274,13 +3242,13 @@ class YARD::CodeObjects::ExtraFileObject # Returns the value of attribute name. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#10 + # source://yard//lib/yard/code_objects/extra_file_object.rb#28 def path; end # source://yard//lib/yard/code_objects/extra_file_object.rb#35 def title; end - # source://yard//lib/yard/code_objects/extra_file_object.rb#57 + # source://yard//lib/yard/code_objects/extra_file_object.rb#60 def to_s; end # source://yard//lib/yard/code_objects/extra_file_object.rb#62 @@ -3460,7 +3428,7 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # @return [nil] if the +data+ has no macro tag or if the macro is # not new and no macro by the macro name is found. # - # source://yard//lib/yard/code_objects/macro_object.rb#71 + # source://yard//lib/yard/code_objects/macro_object.rb#74 def create_docstring(macro_name, data, method_object = T.unsafe(nil)); end # Expands +macro_data+ using the interpolation parameters. @@ -4048,7 +4016,7 @@ class YARD::CodeObjects::Proxy # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#127 + # source://yard//lib/yard/code_objects/proxy.rb#134 def ==(other); end # @return [Boolean] @@ -4121,7 +4089,7 @@ class YARD::CodeObjects::Proxy # Returns the value of attribute namespace. # - # source://yard//lib/yard/code_objects/proxy.rb#27 + # source://yard//lib/yard/code_objects/proxy.rb#28 def parent; end # If the proxy resolves to an object, returns its path, otherwise @@ -4151,7 +4119,7 @@ class YARD::CodeObjects::Proxy # @return [String] the assumed path of the proxy (or the real path # of the resolved object) # - # source://yard//lib/yard/code_objects/proxy.rb#100 + # source://yard//lib/yard/code_objects/proxy.rb#105 def title; end # If the proxy resolves to an object, returns its path, otherwise @@ -4160,7 +4128,7 @@ class YARD::CodeObjects::Proxy # @return [String] the assumed path of the proxy (or the real path # of the resolved object) # - # source://yard//lib/yard/code_objects/proxy.rb#100 + # source://yard//lib/yard/code_objects/proxy.rb#103 def to_s; end # If the proxy resolves to an object, returns its path, otherwise @@ -4169,7 +4137,7 @@ class YARD::CodeObjects::Proxy # @return [String] the assumed path of the proxy (or the real path # of the resolved object) # - # source://yard//lib/yard/code_objects/proxy.rb#100 + # source://yard//lib/yard/code_objects/proxy.rb#104 def to_str; end # Returns the type of the proxy. If it cannot be resolved at the @@ -4574,7 +4542,7 @@ class YARD::Docstring < ::String # # @param content [String] the raw comments to be parsed # - # source://yard//lib/yard/docstring.rb#132 + # source://yard//lib/yard/docstring.rb#144 def all=(content, parse = T.unsafe(nil)); end # Returns true if the docstring has no content that is visible to a template. @@ -7555,7 +7523,7 @@ class YARD::Logger < ::Logger # @return [void] # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#143 + # source://yard//lib/yard/logging.rb#147 def <<(msg = T.unsafe(nil)); end # Prints the backtrace +exc+ to the logger as error data. @@ -7716,9 +7684,6 @@ class YARD::Logger < ::Logger # source://yard//lib/yard/logging.rb#201 def format_log(sev, _time, _prog, msg); end - # source://logger/1.6.0/logger.rb#684 - def print_no_newline(msg); end - class << self # The logger instance # @@ -8226,7 +8191,7 @@ class YARD::Parser::C::Statement # source://yard//lib/yard/parser/c/statement.rb#36 def show; end - # source://yard//lib/yard/parser/c/statement.rb#30 + # source://yard//lib/yard/parser/c/statement.rb#34 def signature; end # Returns the value of attribute source. @@ -8398,17 +8363,17 @@ class YARD::Parser::Ruby::AstNode < ::Array # Returns the value of attribute docstring. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # source://yard//lib/yard/parser/ruby/ast_node.rb#50 def comments; end # Returns the value of attribute docstring_hash_flag. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#42 + # source://yard//lib/yard/parser/ruby/ast_node.rb#52 def comments_hash_flag; end # Returns the value of attribute docstring_range. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # source://yard//lib/yard/parser/ruby/ast_node.rb#51 def comments_range; end # @return [Boolean] whether the node is a if/elsif/else condition @@ -8617,7 +8582,7 @@ class YARD::Parser::Ruby::AstNode < ::Array # Returns the value of attribute source. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # source://yard//lib/yard/parser/ruby/ast_node.rb#53 def to_s; end # @return [Boolean] whether the node is a token @@ -8693,7 +8658,7 @@ end # # source://yard//lib/yard/parser/ruby/ast_node.rb#548 class YARD::Parser::Ruby::CommentNode < ::YARD::Parser::Ruby::AstNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#549 + # source://yard//lib/yard/parser/ruby/ast_node.rb#551 def comments; end # source://yard//lib/yard/parser/ruby/ast_node.rb#549 @@ -9067,6 +9032,7 @@ YARD::Parser::Ruby::Legacy::RubyToken::NEWLINE_TOKEN = T.let(T.unsafe(nil), YARD # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::OPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9083,6 +9049,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkAND < ::YARD::Parser::Ruby::Legac # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkANDOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9090,6 +9057,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkAREF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9097,6 +9065,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkASET < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9107,6 +9076,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkASSIGN < ::YARD::Parser::Ruby::Le # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkASSOC < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9117,6 +9087,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkAT < ::YARD::Parser::Ruby::Legacy # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKQUOTE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9133,6 +9104,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkBEGIN < ::YARD::Parser::Ruby::Leg # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkBITAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9140,6 +9112,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkBITNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9147,6 +9120,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkBITOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9154,6 +9128,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkBITXOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9178,6 +9153,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkCLASS < ::YARD::Parser::Ruby::Leg # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkCMP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9185,6 +9161,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9192,6 +9169,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9199,6 +9177,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9221,6 +9200,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkDEFINED < ::YARD::Parser::Ruby::L # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkDIV < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9237,6 +9217,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT < ::YARD::Parser::Ruby::Legac # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9244,6 +9225,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9275,6 +9257,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkENSURE < ::YARD::Parser::Ruby::Le # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9282,6 +9265,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkEQQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9304,6 +9288,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkFOR < ::YARD::Parser::Ruby::Legac # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkGEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9311,6 +9296,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkGT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9368,6 +9354,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACK < ::YARD::Parser::Ruby::Le # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkLEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9378,6 +9365,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkLPAREN < ::YARD::Parser::Ruby::Le # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkLSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9385,6 +9373,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkLT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9392,6 +9381,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9399,6 +9389,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9406,6 +9397,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkMOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9416,6 +9408,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkMODULE < ::YARD::Parser::Ruby::Le # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkMULT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9423,6 +9416,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkNEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9439,6 +9433,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkNL < ::YARD::Parser::Ruby::Legacy # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkNMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9449,6 +9444,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkNOT < ::YARD::Parser::Ruby::Legac # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkNOTOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9483,6 +9479,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkOR < ::YARD::Parser::Ruby::Legacy # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkOROP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9496,6 +9493,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9503,6 +9501,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkPOW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9510,6 +9509,7 @@ end # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkQUESTION < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9541,6 +9541,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkRPAREN < ::YARD::Parser::Ruby::Le # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkRSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9595,6 +9596,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkTRUE < ::YARD::Parser::Ruby::Lega # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkUMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9617,6 +9619,7 @@ class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL_MOD < ::YARD::Parser::Ruby: # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 class YARD::Parser::Ruby::Legacy::RubyToken::TkUPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp class << self + # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#298 def op_name; end end end @@ -9808,10 +9811,10 @@ class YARD::Parser::Ruby::Legacy::Statement # source://yard//lib/yard/parser/ruby/legacy/statement.rb#41 def show; end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#21 + # source://yard//lib/yard/parser/ruby/legacy/statement.rb#25 def signature; end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#27 + # source://yard//lib/yard/parser/ruby/legacy/statement.rb#32 def source(include_block = T.unsafe(nil)); end # source://yard//lib/yard/parser/ruby/legacy/statement.rb#27 @@ -9972,7 +9975,7 @@ class YARD::Parser::Ruby::Legacy::TokenList < ::Array # @param tokens [TokenList, Token, String] A list of tokens. If the token is a string, it # is parsed with {RubyLex}. # - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#21 + # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#35 def <<(*tokens); end # @param tokens [TokenList, Token, String] A list of tokens. If the token is a string, it @@ -10053,8 +10056,6 @@ end # source://yard//lib/yard/parser/ruby/ast_node.rb#479 class YARD::Parser::Ruby::MethodDefinitionNode < ::YARD::Parser::Ruby::AstNode - def block(n = T.unsafe(nil)); end - # @return [Boolean] # # source://yard//lib/yard/parser/ruby/ast_node.rb#481 @@ -10185,490 +10186,490 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # source://yard//lib/yard/parser/ruby/ruby_parser.rb#29 def frozen_string_line; end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_BEGIN(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_CHAR(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_END(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on___end__(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_alias(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_alias_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_arg_ambiguous(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_arg_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_args_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_args_add_block(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_args_add_star(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_args_forward(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_args_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_aryptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assign_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_assoc_splat(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_backref(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_backtick(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_begin(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_binary(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_block_var(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_blockarg(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_brace_block(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_break(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_call(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_case(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_class(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_class_name_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_comma(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_command(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_command_call(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_const(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_const_path_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_const_ref(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_cvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_def(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_defined(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_defs(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_do_block(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_dot2(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_dot3(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_else(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_elsif(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_embexpr_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embexpr_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_embvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_ensure(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_excessed_comma(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_fcall(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_float(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_fndptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_for(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_gvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_heredoc_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_heredoc_dedent(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_heredoc_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_hshptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_ident(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_if(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#447 def on_if_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_ifop(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#222 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#220 def on_ignored_nl(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_ignored_sp(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_imaginary(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_in(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_int(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_ivar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#209 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#207 def on_kw(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_kwrest_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_label_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_lbrace(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_lparen(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_magic_comment(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_massign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_method_add_arg(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_method_add_block(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mlhs_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mlhs_add_post(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mlhs_add_star(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_mlhs_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_mlhs_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_module(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mrhs_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_mrhs_add_star(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_mrhs_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_mrhs_new_from_args(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_next(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#222 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#220 def on_nl(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_nokw_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#209 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#207 def on_op(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_opassign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_operator_ambiguous(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_param_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_period(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_qsymbols_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_qsymbols_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_qsymbols_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_qwords_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_qwords_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_qwords_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_rational(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_rbrace(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_redo(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_regexp_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_regexp_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_regexp_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_regexp_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_regexp_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_rescue_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_rest_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_retry(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_return(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_return0(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_rparen(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_sclass(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_semicolon(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_stmts_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_stmts_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_string_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_string_concat(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_string_dvar(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_string_embexpr(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_super(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_symbeg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_symbol(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_symbol_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_symbols_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_symbols_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_symbols_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_tlambda(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tlambeg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_top_const_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_tstring_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tstring_content(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_tstring_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_undef(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_unless(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#447 def on_unless_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_until(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#447 def on_until_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_var_alias(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_var_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_var_ref(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#177 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 def on_vcall(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_when(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_while(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#449 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#447 def on_while_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_word_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_word_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#474 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_words_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#199 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#197 def on_words_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#462 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#460 def on_words_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#188 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 def on_words_sep(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#162 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 def on_xstring_add(list, item); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_xstring_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#155 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 def on_xstring_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_yield(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_yield0(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#170 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 def on_zsuper(*args); end # @since 0.5.6 @@ -10678,7 +10679,7 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#28 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#30 def root; end # @since 0.5.6 @@ -10712,7 +10713,7 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # @raise [ParserSyntaxError] # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#606 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#609 def compile_error(msg); end # @since 0.5.6 @@ -10762,7 +10763,7 @@ class YARD::Parser::Ruby::RipperParser < ::Ripper # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#347 + # source://yard//lib/yard/parser/ruby/ruby_parser.rb#350 def on_bodystmt(*args); end # @since 0.5.6 @@ -11613,7 +11614,7 @@ module YARD::Registry # @return [CodeObjects::Base] the object at path # @return [nil] if no object is found # - # source://yard//lib/yard/registry.rb#261 + # source://yard//lib/yard/registry.rb#262 def [](path); end # Returns all objects in the registry that match one of the types provided @@ -12065,7 +12066,7 @@ class YARD::RegistryStore # If it is empty or :root, returns the {#root} object. # @return [CodeObjects::Base, nil] a code object or nil if none is found # - # source://yard//lib/yard/registry_store.rb#33 + # source://yard//lib/yard/registry_store.rb#69 def [](key); end # Associates an object with a path @@ -12074,7 +12075,7 @@ class YARD::RegistryStore # @param value [CodeObjects::Base] the object to store # @return [CodeObjects::Base] returns +value+ # - # source://yard//lib/yard/registry_store.rb#55 + # source://yard//lib/yard/registry_store.rb#70 def []=(key, value); end # Returns the value of attribute checksums. @@ -13265,22 +13266,22 @@ class YARD::Server::Commands::LibraryIndexOptions < ::YARD::CLI::YardocOptions # source://yard//lib/yard/server/commands/library_index_command.rb#6 def libraries=(_arg0); end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#9 def serialize; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#9 def serialize=(_arg0); end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#7 def template; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#7 def template=(_arg0); end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#8 def type; end - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/server/commands/library_index_command.rb#8 def type=(_arg0); end end @@ -13817,7 +13818,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#223 + # source://yard//lib/yard/server/http_utils.rb#228 def dequote(str); end # Escapes HTTP reserved and unwise characters in +str+ @@ -13852,7 +13853,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#112 + # source://yard//lib/yard/server/http_utils.rb#128 def load_mime_types(file); end # Returns the mime type of +filename+ from the list in +mime_tab+. If no @@ -13860,7 +13861,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#134 + # source://yard//lib/yard/server/http_utils.rb#139 def mime_type(filename, mime_tab); end # Normalizes a request path. Raises an exception if the path cannot be @@ -13868,14 +13869,14 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#31 + # source://yard//lib/yard/server/http_utils.rb#42 def normalize_path(path); end # Parses form data in +io+ with the given +boundary+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#395 + # source://yard//lib/yard/server/http_utils.rb#421 def parse_form_data(io, boundary); end # Parses an HTTP header +raw+ into a hash of header fields with an Array @@ -13883,42 +13884,42 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#145 + # source://yard//lib/yard/server/http_utils.rb#170 def parse_header(raw); end # Parses the query component of a URI in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#371 + # source://yard//lib/yard/server/http_utils.rb#390 def parse_query(str); end # Parses q values in +value+ as used in Accept headers. # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#202 + # source://yard//lib/yard/server/http_utils.rb#218 def parse_qvalues(value); end # Parses a Range header value +ranges_specifier+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#184 + # source://yard//lib/yard/server/http_utils.rb#197 def parse_range_header(ranges_specifier); end # Quotes and escapes quotes in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#233 + # source://yard//lib/yard/server/http_utils.rb#236 def quote(str); end # Splits a header value +str+ according to HTTP specification. # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#175 + # source://yard//lib/yard/server/http_utils.rb#179 def split_header_value(str); end # Unescapes HTTP reserved and unwise characters in +str+ @@ -14047,7 +14048,7 @@ class YARD::Server::HTTPUtils::FormData < ::String # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#347 + # source://yard//lib/yard/server/http_utils.rb#358 def to_ary; end # This FormData's body @@ -14210,7 +14211,7 @@ class YARD::Server::LibraryVersion # @return [Boolean] whether another LibraryVersion is equal to this one # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#153 + # source://yard//lib/yard/server/library_version.rb#157 def ==(other); end # @return [Boolean] whether another LibraryVersion is equal to this one @@ -14222,7 +14223,7 @@ class YARD::Server::LibraryVersion # @return [Boolean] whether another LibraryVersion is equal to this one # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#153 + # source://yard//lib/yard/server/library_version.rb#158 def equal?(other); end # @return [Gem::Specification] a gemspec object for a given library. Used @@ -15213,7 +15214,7 @@ class YARD::Tags::Library # def run; raise NotImplementedError end # end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def abstract_tag(text); end # Declares the API that the object belongs to. Does not display in @@ -15233,7 +15234,7 @@ class YARD::Tags::Library # documentation if it is listed, letting users know that the # method is not to be used by external components. # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def api_tag(text); end # Declares a readonly attribute on a Struct or class. @@ -15245,7 +15246,7 @@ class YARD::Tags::Library # class MyStruct < Struct; end # @note This attribute is only applicable on class docstrings # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def attr_reader_tag(text); end # Declares a readwrite attribute on a Struct or class. @@ -15257,7 +15258,7 @@ class YARD::Tags::Library # class MyStruct < Struct; end # @note This attribute is only applicable on class docstrings # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def attr_tag(text); end # Declares a writeonly attribute on a Struct or class. @@ -15269,7 +15270,7 @@ class YARD::Tags::Library # class MyStruct < Struct; end # @note This attribute is only applicable on class docstrings # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def attr_writer_tag(text); end # source://yard//lib/yard/tags/library.rb#202 @@ -15281,7 +15282,7 @@ class YARD::Tags::Library # # @author Foo Bar # class MyClass; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def author_tag(text); end # Marks a method/class as deprecated with an optional description. @@ -15299,7 +15300,7 @@ class YARD::Tags::Library # def kill; end # end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def deprecated_tag(text); end # Creates a new directive with tag information and a docstring parser @@ -15324,7 +15325,7 @@ class YARD::Tags::Library # # "mystring".reverse #=> "gnirtsym" # def reverse; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def example_tag(text); end # A factory class to handle parsing of tags, defaults to {default_factory} @@ -15367,7 +15368,7 @@ class YARD::Tags::Library # def eject; end # @see tag:todo # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def note_tag(text); end # Describe an options hash in a method. The tag takes the @@ -15388,7 +15389,7 @@ class YARD::Tags::Library # def send_email(opts = {}) end # @note For keyword parameters, use +@param+, not +@option+. # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def option_tag(text); end # Describe that your method can be used in various @@ -15407,7 +15408,7 @@ class YARD::Tags::Library # # @param value [Object] describe value param # def set(*args) end # - # source://yard//lib/yard/tags/library.rb#161 + # source://yard//lib/yard/tags/library.rb#160 def overload_tag(text); end # Documents a single method parameter (either regular or keyword) with a given name, type @@ -15418,7 +15419,7 @@ class YARD::Tags::Library # # @param directory [String] the name of the directory to save to # def load_page(url, directory: 'pages') end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def param_tag(text); end # source://yard//lib/yard/tags/library.rb#202 @@ -15453,7 +15454,7 @@ class YARD::Tags::Library # it is redefined on the child object. # @see tag:api # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def private_tag(text); end # Describes that a method may raise a given exception, with @@ -15464,7 +15465,7 @@ class YARD::Tags::Library # # sufficient funds to perform the transaction # def withdraw(amount) end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def raise_tag(text); end # Describes the return value (and type or types) of a method. @@ -15482,7 +15483,7 @@ class YARD::Tags::Library # # returned. # def find(query) end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def return_tag(text); end # Sets the scope of a DSL method. Only applicable to DSL method @@ -15502,7 +15503,7 @@ class YARD::Tags::Library # # @see NTPHelperMethods # class NTPUpdater; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def see_tag(text); end # Lists the version that the object was first added. @@ -15515,7 +15516,7 @@ class YARD::Tags::Library # applied to all children objects of that namespace unless # it is redefined on the child object. # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def since_tag(text); end # Creates a new {Tag} object with a given tag name and data @@ -15550,7 +15551,7 @@ class YARD::Tags::Library # class Wonderlander; end # @see tag:note # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def todo_tag(text); end # Lists the version of a class, module or method. This is @@ -15565,7 +15566,7 @@ class YARD::Tags::Library # # @version 2.0 # class JabberwockyAPI; end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def version_tag(text); end # Sets the visibility of a DSL method. Only applicable to @@ -15588,7 +15589,7 @@ class YARD::Tags::Library # @see tag:yieldparam # @see tag:yieldreturn # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def yield_tag(text); end # Defines a parameter yielded by a block. If you define the @@ -15599,7 +15600,7 @@ class YARD::Tags::Library # # @yieldparam [String] name the name that is yielded # def with_name(name) yield(name) end # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def yieldparam_tag(text); end # Documents the value and type that the block is expected @@ -15610,7 +15611,7 @@ class YARD::Tags::Library # def add5_block(&block) 5 + yield end # @see tag:return # - # source://yard//lib/yard/tags/library.rb#168 + # source://yard//lib/yard/tags/library.rb#166 def yieldreturn_tag(text); end private @@ -16069,7 +16070,7 @@ class YARD::Tags::OverloadTag < ::YARD::Tags::Tag # @return [Boolean] # - # source://yard//lib/yard/tags/overload_tag.rb#36 + # source://yard//lib/yard/tags/overload_tag.rb#39 def kind_of?(other); end # source://yard//lib/yard/tags/overload_tag.rb#28 @@ -16362,6 +16363,7 @@ class YARD::Tags::TypesExplainer private + # source://yard//lib/yard/tags/types_explainer.rb#22 def new(*_arg0); end end end @@ -17109,7 +17111,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param relative [Boolean] use a relative or absolute link # @return [String] the URL location of the object # - # source://yard//lib/yard/templates/helpers/html_helper.rb#368 + # source://yard//lib/yard/templates/helpers/html_helper.rb#399 def mtime_url(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end # Resolves any text in the form of +{Name}+ to the object specified by @@ -17263,7 +17265,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] the URL # @return [String] the escaped URL # - # source://yard//lib/yard/templates/helpers/html_helper.rb#31 + # source://yard//lib/yard/templates/helpers/html_helper.rb#47 def urlencode(text); end end end @@ -17645,7 +17647,7 @@ class YARD::Templates::Section < ::Array # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#45 + # source://yard//lib/yard/templates/section.rb#48 def <<(*args); end # @since 0.6.0 @@ -18063,17 +18065,17 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [OpenStruct] an open struct containing any global state across all # generated objects in a template. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#35 def __globals; end # @return [String] the default return type for a method with no return tags # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#21 def default_return; end # @return [String] the default return type for a method with no return tags # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#21 def default_return=(_arg0); end # @example A list of mixin path names (including wildcards) @@ -18083,7 +18085,7 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # Useful for modules like ClassMethods. If the name contains '::', the module # is matched against the full mixin path, otherwise only the module name is used. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#72 def embed_mixins; end # @example A list of mixin path names (including wildcards) @@ -18093,7 +18095,7 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # Useful for modules like ClassMethods. If the name contains '::', the module # is matched against the full mixin path, otherwise only the module name is used. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#72 def embed_mixins=(_arg0); end # @param mixin [CodeObjects::Base] accepts any code object, but returns @@ -18106,44 +18108,44 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Symbol] the template output format # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#12 def format; end # @return [Symbol] the template output format # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#12 def format=(_arg0); end # @return [OpenStruct] an open struct containing any global state across all # generated objects in a template. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#34 def globals; end # @return [OpenStruct] an open struct containing any global state across all # generated objects in a template. # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#34 def globals=(_arg0); end # @return [Boolean] whether void methods should show "void" in their signature # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#24 def hide_void_return; end # @return [Boolean] whether void methods should show "void" in their signature # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#24 def hide_void_return=(_arg0); end # @return [Boolean] whether code blocks should be syntax highlighted # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#27 def highlight; end # @return [Boolean] whether code blocks should be syntax highlighted # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#27 def highlight=(_arg0); end # @return [Boolean] whether the page is the "index" @@ -18158,12 +18160,12 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Symbol] the markup format to use when parsing docstrings # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#18 def markup; end # @return [Symbol] the markup format to use when parsing docstrings # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#18 def markup=(_arg0); end # @return [Class] the markup provider class for the markup format @@ -18217,12 +18219,12 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Boolean] whether serialization should be performed # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#47 def serialize; end # @return [Boolean] whether serialization should be performed # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#47 def serialize=(_arg0); end # @return [Serializers::Base] the serializer used to generate links and serialize @@ -18239,12 +18241,12 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Symbol] the template name used to render output # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#15 def template; end # @return [Symbol] the template name used to render output # - # source://yard//lib/yard/options.rb#82 + # source://yard//lib/yard/templates/template_options.rb#15 def template=(_arg0); end # @return [Symbol] the template type used to generate output @@ -18360,7 +18362,7 @@ class YARD::Verifier # @return [CodeObjects::Base] the current object being tested # - # source://yard//lib/yard/verifier.rb#98 + # source://yard//lib/yard/verifier.rb#99 def o; end # @return [CodeObjects::Base] the current object being tested diff --git a/sorbet/rbi/gems/zeitwerk@2.6.14.rbi b/sorbet/rbi/gems/zeitwerk@2.6.14.rbi index 229521513..be9a7dd43 100644 --- a/sorbet/rbi/gems/zeitwerk@2.6.14.rbi +++ b/sorbet/rbi/gems/zeitwerk@2.6.14.rbi @@ -12,9 +12,39 @@ module Kernel # source://zeitwerk//lib/zeitwerk/kernel.rb#23 def require(path); end + # Zeitwerk's main idea is to define autoloads for project constants, and then + # intercept them when triggered in this thin `Kernel#require` wrapper. + # + # That allows us to complete the circle, invoke callbacks, autovivify modules, + # define autoloads for just autoloaded namespaces, update internal state, etc. + # + # On the other hand, if you publish a new version of a gem that is now managed + # by Zeitwerk, client code can reference directly your classes and modules and + # should not require anything. But if someone has legacy require calls around, + # they will work as expected, and in a compatible way. This feature is by now + # EXPERIMENTAL and UNDOCUMENTED. + # + # source://zeitwerk//lib/zeitwerk/kernel.rb#17 + def zeitwerk_original_require(name); end + class << self # source://zeitwerk//lib/zeitwerk/kernel.rb#23 def require(path); end + + # Zeitwerk's main idea is to define autoloads for project constants, and then + # intercept them when triggered in this thin `Kernel#require` wrapper. + # + # That allows us to complete the circle, invoke callbacks, autovivify modules, + # define autoloads for just autoloaded namespaces, update internal state, etc. + # + # On the other hand, if you publish a new version of a gem that is now managed + # by Zeitwerk, client code can reference directly your classes and modules and + # should not require anything. But if someone has legacy require calls around, + # they will work as expected, and in a compatible way. This feature is by now + # EXPERIMENTAL and UNDOCUMENTED. + # + # source://zeitwerk//lib/zeitwerk/kernel.rb#19 + def zeitwerk_original_require(name); end end end @@ -124,6 +154,7 @@ class Zeitwerk::GemLoader < ::Zeitwerk::Loader private + # source://zeitwerk//lib/zeitwerk/gem_loader.rb#10 def new(*_arg0); end end end @@ -189,22 +220,22 @@ class Zeitwerk::Loader # source://zeitwerk//lib/zeitwerk/loader.rb#99 def initialize; end - # source://zeitwerk//lib/zeitwerk/loader.rb#43 + # source://zeitwerk//lib/zeitwerk/loader.rb#44 def __autoloaded_dirs; end - # source://zeitwerk//lib/zeitwerk/loader.rb#33 + # source://zeitwerk//lib/zeitwerk/loader.rb#34 def __autoloads; end - # source://zeitwerk//lib/zeitwerk/loader.rb#77 + # source://zeitwerk//lib/zeitwerk/loader.rb#78 def __namespace_dirs; end # source://zeitwerk//lib/zeitwerk/loader.rb#344 def __shadowed_file?(file); end - # source://zeitwerk//lib/zeitwerk/loader.rb#88 + # source://zeitwerk//lib/zeitwerk/loader.rb#89 def __shadowed_files; end - # source://zeitwerk//lib/zeitwerk/loader.rb#59 + # source://zeitwerk//lib/zeitwerk/loader.rb#60 def __to_unload; end # Returns a hash that maps the absolute paths of the managed files and @@ -494,6 +525,7 @@ module Zeitwerk::Loader::Config # source://zeitwerk//lib/zeitwerk/loader/config.rb#296 def __ignores?(abspath); end + # source://zeitwerk//lib/zeitwerk/loader/config.rb#30 def __roots; end # Configure directories or glob patterns to be collapsed. diff --git a/sorbet/rbi/shims/sorbet.rbi b/sorbet/rbi/shims/sorbet.rbi index 7b110d0c5..7dcf09ea6 100644 --- a/sorbet/rbi/shims/sorbet.rbi +++ b/sorbet/rbi/shims/sorbet.rbi @@ -54,6 +54,12 @@ module T::Private def finalized=(finalized); end end end + + module DeclState + class << self + def current; end + end + end end class T::Enum diff --git a/spec/tapioca/cli/gem_spec.rb b/spec/tapioca/cli/gem_spec.rb index 78049afd9..71f87a9a8 100644 --- a/spec/tapioca/cli/gem_spec.rb +++ b/spec/tapioca/cli/gem_spec.rb @@ -1259,13 +1259,7 @@ class Post module Foo; end - - class Foo::Engine < ::Rails::Engine - class << self - def __callbacks; end - end - end - + class Foo::Engine < ::Rails::Engine; end class Foo::Post; end class User; end RBI @@ -1274,7 +1268,7 @@ class User; end end it "does not crash while tracking `rbtrace` constants" do - @project.require_real_gem("rbtrace", "0.4.14") + @project.require_real_gem("rbtrace") @project.bundle_install! result = @project.tapioca("gem rbtrace") assert_empty_stderr(result) diff --git a/spec/tapioca/gem/pipeline_spec.rb b/spec/tapioca/gem/pipeline_spec.rb index 9e253fb6e..c7c1292c4 100644 --- a/spec/tapioca/gem/pipeline_spec.rb +++ b/spec/tapioca/gem/pipeline_spec.rb @@ -591,6 +591,41 @@ module Foo; end assert_equal(output, compile("foo")) end + it "properly attributes dynamically-generated methods" do + mock_gem("bar") do + add_ruby_file("lib/bar.rb", <<~RUBY) + module ModuleFromBar + def add_method_to_me(method_name) + define_method(method_name) { 42 } + end + end + RUBY + end + + mock_gem("foo") do + add_ruby_file("lib/foo.rb", <<~RUBY) + class Foo + extend ModuleFromBar + + def foo; end + + add_method_to_me :bar + end + RUBY + end + + output = <<~RBI + class Foo + extend ::ModuleFromBar + + def bar; end + def foo; end + end + RBI + + assert_equal(output, compile("foo")) + end + it "must generate RBIs for foreign constants whose singleton class overrides #inspect" do mock_gem("bar") do add_ruby_file("lib/bar.rb", <<~RBI) @@ -3272,10 +3307,6 @@ class Bar < ::T::Struct const :quuz, ::Integer, default: T.unsafe(nil) prop :fuzz, T.proc.returns(::String), default: T.unsafe(nil) prop :buzz, T.proc.void, default: T.unsafe(nil) - - class << self - def inherited(s); end - end end class Baz @@ -3816,10 +3847,6 @@ class Foo < ::T::Struct prop :l, T::Array[::Foo], default: T.unsafe(nil) prop :m, T::Hash[::Foo, ::Foo], default: T.unsafe(nil) prop :n, ::Foo, default: T.unsafe(nil) - - class << self - def inherited(s); end - end end RBI @@ -4470,8 +4497,6 @@ def foo; end NewClass = Class.new RB - sorbet_runtime_spec = ::Gem::Specification.find_by_name("sorbet-runtime") - output = template(<<~RBI) # source://#{DEFAULT_GEM_NAME}//lib/bar.rb#1 module Bar @@ -4481,6 +4506,7 @@ module Bar sig { void } def bar; end + # source://the-default-gem//lib/bar.rb#14 def foo1; end # source://#{DEFAULT_GEM_NAME}//lib/bar.rb#15 @@ -4524,12 +4550,7 @@ def helper_method; end class NewClass; end # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#16 - class Quux < ::T::Struct - class << self - # source://sorbet-runtime/#{sorbet_runtime_spec.version}/lib/types/struct.rb#13 - def inherited(s); end - end - end + class Quux < ::T::Struct; end # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#19 class String diff --git a/spec/tapioca/runtime/reflection_spec.rb b/spec/tapioca/runtime/reflection_spec.rb index 8643fd533..b8fee5d57 100644 --- a/spec/tapioca/runtime/reflection_spec.rb +++ b/spec/tapioca/runtime/reflection_spec.rb @@ -165,7 +165,9 @@ class ReflectionSpec < Minitest::Spec it "returns nil when a signature block raises an exception" do method = SignatureFoo.instance_method(:bad_method) - assert_raises(ArgumentError) { Runtime::Reflection.signature_of!(method) } + assert_raises(Tapioca::Runtime::Reflection::SignatureBlockError) do + Runtime::Reflection.signature_of!(method) + end end end end