Update RBI files for rubocop.
This commit is contained in:
parent
2bf89d9114
commit
060ee06574
@ -1,6 +1,6 @@
|
|||||||
# DO NOT EDIT MANUALLY
|
# DO NOT EDIT MANUALLY
|
||||||
# This is an autogenerated file for types exported from the `parser` gem.
|
# This is an autogenerated file for types exported from the `parser` gem.
|
||||||
# Please instead update this file by running `tapioca sync`.
|
# Please instead update this file by running `bin/tapioca sync`.
|
||||||
|
|
||||||
# typed: true
|
# typed: true
|
||||||
|
|
||||||
@ -1194,6 +1194,7 @@ class Parser::Source::Buffer
|
|||||||
def decompose_position(position); end
|
def decompose_position(position); end
|
||||||
def first_line; end
|
def first_line; end
|
||||||
def freeze; end
|
def freeze; end
|
||||||
|
def inspect; end
|
||||||
def last_line; end
|
def last_line; end
|
||||||
def line_for_position(position); end
|
def line_for_position(position); end
|
||||||
def line_range(lineno); end
|
def line_range(lineno); end
|
||||||
@ -1549,6 +1550,7 @@ class Parser::Source::TreeRewriter
|
|||||||
def insert_after_multi(range, text); end
|
def insert_after_multi(range, text); end
|
||||||
def insert_before(range, content); end
|
def insert_before(range, content); end
|
||||||
def insert_before_multi(range, text); end
|
def insert_before_multi(range, text); end
|
||||||
|
def inspect; end
|
||||||
def merge(with); end
|
def merge(with); end
|
||||||
def merge!(with); end
|
def merge!(with); end
|
||||||
def process; end
|
def process; end
|
||||||
@ -1564,6 +1566,7 @@ class Parser::Source::TreeRewriter
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def action_summary; end
|
||||||
def check_policy_validity; end
|
def check_policy_validity; end
|
||||||
def check_range_validity(range); end
|
def check_range_validity(range); end
|
||||||
def combine(range, attributes); end
|
def combine(range, attributes); end
|
||||||
@ -1,39 +1,9 @@
|
|||||||
# DO NOT EDIT MANUALLY
|
# DO NOT EDIT MANUALLY
|
||||||
# This is an autogenerated file for types exported from the `rexml` gem.
|
# This is an autogenerated file for types exported from the `rexml` gem.
|
||||||
# Please instead update this file by running `tapioca generate --exclude json`.
|
# Please instead update this file by running `bin/tapioca sync`.
|
||||||
|
|
||||||
# typed: true
|
# typed: true
|
||||||
|
|
||||||
class Array
|
|
||||||
include(::Enumerable)
|
|
||||||
include(::JSON::Ext::Generator::GeneratorMethods::Array)
|
|
||||||
include(::Plist::Emit)
|
|
||||||
|
|
||||||
def dclone; end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Float < ::Numeric
|
|
||||||
include(::JSON::Ext::Generator::GeneratorMethods::Float)
|
|
||||||
|
|
||||||
def dclone; end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Integer < ::Numeric
|
|
||||||
include(::JSON::Ext::Generator::GeneratorMethods::Integer)
|
|
||||||
|
|
||||||
def dclone; end
|
|
||||||
end
|
|
||||||
|
|
||||||
Integer::GMP_VERSION = T.let(T.unsafe(nil), String)
|
|
||||||
|
|
||||||
class Object < ::BasicObject
|
|
||||||
include(::Kernel)
|
|
||||||
include(::JSON::Ext::Generator::GeneratorMethods::Object)
|
|
||||||
include(::PP::ObjectMixin)
|
|
||||||
|
|
||||||
def dclone; end
|
|
||||||
end
|
|
||||||
|
|
||||||
class REXML::AttlistDecl < ::REXML::Child
|
class REXML::AttlistDecl < ::REXML::Child
|
||||||
include(::Enumerable)
|
include(::Enumerable)
|
||||||
|
|
||||||
@ -63,7 +33,7 @@ class REXML::Attribute
|
|||||||
def inspect; end
|
def inspect; end
|
||||||
def namespace(arg = T.unsafe(nil)); end
|
def namespace(arg = T.unsafe(nil)); end
|
||||||
def node_type; end
|
def node_type; end
|
||||||
def normalized=(_); end
|
def normalized=(_arg0); end
|
||||||
def prefix; end
|
def prefix; end
|
||||||
def remove; end
|
def remove; end
|
||||||
def to_s; end
|
def to_s; end
|
||||||
@ -129,11 +99,14 @@ class REXML::Comment < ::REXML::Child
|
|||||||
def clone; end
|
def clone; end
|
||||||
def node_type; end
|
def node_type; end
|
||||||
def string; end
|
def string; end
|
||||||
def string=(_); end
|
def string=(_arg0); end
|
||||||
def to_s; end
|
def to_s; end
|
||||||
def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module REXML::DClonable
|
||||||
|
end
|
||||||
|
|
||||||
class REXML::Declaration < ::REXML::Child
|
class REXML::Declaration < ::REXML::Child
|
||||||
def initialize(src); end
|
def initialize(src); end
|
||||||
|
|
||||||
@ -162,10 +135,6 @@ class REXML::DocType < ::REXML::Parent
|
|||||||
def public; end
|
def public; end
|
||||||
def system; end
|
def system; end
|
||||||
def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
def strip_quotes(quoted_string); end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class REXML::Document < ::REXML::Element
|
class REXML::Document < ::REXML::Element
|
||||||
@ -220,7 +189,7 @@ class REXML::Element < ::REXML::Parent
|
|||||||
def clone; end
|
def clone; end
|
||||||
def comments; end
|
def comments; end
|
||||||
def context; end
|
def context; end
|
||||||
def context=(_); end
|
def context=(_arg0); end
|
||||||
def delete_attribute(key); end
|
def delete_attribute(key); end
|
||||||
def delete_element(element); end
|
def delete_element(element); end
|
||||||
def delete_namespace(namespace = T.unsafe(nil)); end
|
def delete_namespace(namespace = T.unsafe(nil)); end
|
||||||
@ -275,6 +244,7 @@ class REXML::Elements
|
|||||||
def empty?; end
|
def empty?; end
|
||||||
def index(element); end
|
def index(element); end
|
||||||
def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end
|
def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end
|
||||||
|
def parent; end
|
||||||
def size; end
|
def size; end
|
||||||
def to_a(xpath = T.unsafe(nil)); end
|
def to_a(xpath = T.unsafe(nil)); end
|
||||||
|
|
||||||
@ -341,9 +311,9 @@ class REXML::Formatters::Pretty < ::REXML::Formatters::Default
|
|||||||
def initialize(indentation = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
def initialize(indentation = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
||||||
|
|
||||||
def compact; end
|
def compact; end
|
||||||
def compact=(_); end
|
def compact=(_arg0); end
|
||||||
def width; end
|
def width; end
|
||||||
def width=(_); end
|
def width=(_arg0); end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
@ -382,11 +352,11 @@ class REXML::Instruction < ::REXML::Child
|
|||||||
def ==(other); end
|
def ==(other); end
|
||||||
def clone; end
|
def clone; end
|
||||||
def content; end
|
def content; end
|
||||||
def content=(_); end
|
def content=(_arg0); end
|
||||||
def inspect; end
|
def inspect; end
|
||||||
def node_type; end
|
def node_type; end
|
||||||
def target; end
|
def target; end
|
||||||
def target=(_); end
|
def target=(_arg0); end
|
||||||
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -395,9 +365,9 @@ class REXML::NotationDecl < ::REXML::Child
|
|||||||
|
|
||||||
def name; end
|
def name; end
|
||||||
def public; end
|
def public; end
|
||||||
def public=(_); end
|
def public=(_arg0); end
|
||||||
def system; end
|
def system; end
|
||||||
def system=(_); end
|
def system=(_arg0); end
|
||||||
def to_s; end
|
def to_s; end
|
||||||
def write(output, indent = T.unsafe(nil)); end
|
def write(output, indent = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
@ -446,13 +416,13 @@ class REXML::ParseException < ::RuntimeError
|
|||||||
|
|
||||||
def context; end
|
def context; end
|
||||||
def continued_exception; end
|
def continued_exception; end
|
||||||
def continued_exception=(_); end
|
def continued_exception=(_arg0); end
|
||||||
def line; end
|
def line; end
|
||||||
def parser; end
|
def parser; end
|
||||||
def parser=(_); end
|
def parser=(_arg0); end
|
||||||
def position; end
|
def position; end
|
||||||
def source; end
|
def source; end
|
||||||
def source=(_); end
|
def source=(_arg0); end
|
||||||
def to_s; end
|
def to_s; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -476,10 +446,19 @@ class REXML::Parsers::BaseParser
|
|||||||
|
|
||||||
def need_source_encoding_update?(xml_declaration_encoding); end
|
def need_source_encoding_update?(xml_declaration_encoding); end
|
||||||
def parse_attributes(prefixes, curr_ns); end
|
def parse_attributes(prefixes, curr_ns); end
|
||||||
|
def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
|
||||||
|
def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
|
||||||
|
def parse_name(base_error_message); end
|
||||||
def process_instruction; end
|
def process_instruction; end
|
||||||
def pull_event; end
|
def pull_event; end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
|
REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
|
REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
|
REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
|
REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
|
||||||
@ -534,6 +513,12 @@ REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp)
|
|||||||
|
|
||||||
REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp)
|
REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
|
class REXML::ReferenceWriter
|
||||||
|
def initialize(id_type, public_id_literal, system_literal, context = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
def write(output); end
|
||||||
|
end
|
||||||
|
|
||||||
class REXML::Source
|
class REXML::Source
|
||||||
include(::REXML::Encoding)
|
include(::REXML::Encoding)
|
||||||
|
|
||||||
@ -574,7 +559,7 @@ class REXML::Text < ::REXML::Child
|
|||||||
def node_type; end
|
def node_type; end
|
||||||
def parent=(parent); end
|
def parent=(parent); end
|
||||||
def raw; end
|
def raw; end
|
||||||
def raw=(_); end
|
def raw=(_arg0); end
|
||||||
def to_s; end
|
def to_s; end
|
||||||
def value; end
|
def value; end
|
||||||
def value=(val); end
|
def value=(val); end
|
||||||
@ -611,9 +596,9 @@ class REXML::XMLDecl < ::REXML::Child
|
|||||||
def old_enc=(encoding); end
|
def old_enc=(encoding); end
|
||||||
def stand_alone?; end
|
def stand_alone?; end
|
||||||
def standalone; end
|
def standalone; end
|
||||||
def standalone=(_); end
|
def standalone=(_arg0); end
|
||||||
def version; end
|
def version; end
|
||||||
def version=(_); end
|
def version=(_arg0); end
|
||||||
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
||||||
def writeencoding; end
|
def writeencoding; end
|
||||||
def writethis; end
|
def writethis; end
|
||||||
@ -679,9 +664,3 @@ class REXML::XPathParser
|
|||||||
def unnode(nodeset); end
|
def unnode(nodeset); end
|
||||||
def value_type(value); end
|
def value_type(value); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Symbol
|
|
||||||
include(::Comparable)
|
|
||||||
|
|
||||||
def dclone; end
|
|
||||||
end
|
|
||||||
@ -350,6 +350,7 @@ RuboCop::ConfigLoader::RUBOCOP_HOME = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::ConfigLoader::XDG_CONFIG = T.let(T.unsafe(nil), String)
|
RuboCop::ConfigLoader::XDG_CONFIG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::ConfigLoaderResolver
|
class RuboCop::ConfigLoaderResolver
|
||||||
|
def fix_include_paths(base_config_path, hash, path, key, value); end
|
||||||
def merge(base_hash, derived_hash, **opts); end
|
def merge(base_hash, derived_hash, **opts); end
|
||||||
def merge_with_default(config, config_file, unset_nil:); end
|
def merge_with_default(config, config_file, unset_nil:); end
|
||||||
def override_department_setting_for_cops(base_hash, derived_hash); end
|
def override_department_setting_for_cops(base_hash, derived_hash); end
|
||||||
@ -732,6 +733,7 @@ class RuboCop::Cop::Base
|
|||||||
def on_investigation_end; end
|
def on_investigation_end; end
|
||||||
def on_new_investigation; end
|
def on_new_investigation; end
|
||||||
def on_other_file; end
|
def on_other_file; end
|
||||||
|
def parse(source, path = T.unsafe(nil)); end
|
||||||
def processed_source; end
|
def processed_source; end
|
||||||
def ready; end
|
def ready; end
|
||||||
def relevant_file?(file); end
|
def relevant_file?(file); end
|
||||||
@ -838,6 +840,7 @@ class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base
|
|||||||
def precede?(node1, node2); end
|
def precede?(node1, node2); end
|
||||||
def preceding_comment?(node1, node2); end
|
def preceding_comment?(node1, node2); end
|
||||||
def preceding_lines(node); end
|
def preceding_lines(node); end
|
||||||
|
def restrictive_version_specified_gem?(node); end
|
||||||
def version_specified_gem?(node); end
|
def version_specified_gem?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -845,6 +848,10 @@ RuboCop::Cop::Bundler::GemComment::CHECKED_OPTIONS_CONFIG = T.let(T.unsafe(nil),
|
|||||||
|
|
||||||
RuboCop::Cop::Bundler::GemComment::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Bundler::GemComment::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Bundler::GemComment::RESTRICTIVE_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
|
RuboCop::Cop::Bundler::GemComment::RESTRICTIVE_VERSION_SPECIFIERS_OPTION = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Bundler::GemComment::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Bundler::GemComment::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
RuboCop::Cop::Bundler::GemComment::VERSION_SPECIFIERS_OPTION = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Bundler::GemComment::VERSION_SPECIFIERS_OPTION = T.let(T.unsafe(nil), String)
|
||||||
@ -1181,7 +1188,6 @@ class RuboCop::Cop::Cop < ::RuboCop::Cop::Base
|
|||||||
def offenses; end
|
def offenses; end
|
||||||
def on_investigation_end; end
|
def on_investigation_end; end
|
||||||
def on_new_investigation; end
|
def on_new_investigation; end
|
||||||
def parse(source, path = T.unsafe(nil)); end
|
|
||||||
def support_autocorrect?; end
|
def support_autocorrect?; end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -3212,6 +3218,27 @@ RuboCop::Cop::Layout::ParameterAlignment::ALIGN_PARAMS_MSG = T.let(T.unsafe(nil)
|
|||||||
|
|
||||||
RuboCop::Cop::Layout::ParameterAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Layout::ParameterAlignment::FIXED_INDENT_MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Layout::RedundantLineBreak < ::RuboCop::Cop::Cop
|
||||||
|
include(::RuboCop::Cop::CheckAssignment)
|
||||||
|
|
||||||
|
def autocorrect(node); end
|
||||||
|
def check_assignment(node, _rhs); end
|
||||||
|
def on_send(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def comment_within?(node); end
|
||||||
|
def configured_to_not_be_inspected?(node); end
|
||||||
|
def convertible_block?(node); end
|
||||||
|
def max_line_length; end
|
||||||
|
def offense?(node); end
|
||||||
|
def suitable_as_single_line?(node); end
|
||||||
|
def to_single_line(source); end
|
||||||
|
def too_long?(node); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Layout::RedundantLineBreak::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Layout::RescueEnsureAlignment < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Layout::RescueEnsureAlignment < ::RuboCop::Cop::Base
|
||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
include(::RuboCop::Cop::RangeHelp)
|
include(::RuboCop::Cop::RangeHelp)
|
||||||
@ -3901,6 +3928,9 @@ RuboCop::Cop::Lint::AmbiguousAssignment::MSG = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::Cop::Lint::AmbiguousAssignment::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Lint::AmbiguousAssignment::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::AmbiguousBlockAssociation < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::AmbiguousBlockAssociation < ::RuboCop::Cop::Base
|
||||||
|
include(::RuboCop::Cop::IgnoredMethods)
|
||||||
|
extend(::RuboCop::Cop::IgnoredMethods::Config)
|
||||||
|
|
||||||
def on_csend(node); end
|
def on_csend(node); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -4094,7 +4124,7 @@ class RuboCop::Cop::Lint::DeprecatedConstants < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def consntant_name(node, nested_constant_name); end
|
def constant_name(node, nested_constant_name); end
|
||||||
def deprecated_constants; end
|
def deprecated_constants; end
|
||||||
def message(good, bad, deprecated_version); end
|
def message(good, bad, deprecated_version); end
|
||||||
end
|
end
|
||||||
@ -4574,7 +4604,6 @@ class RuboCop::Cop::Lint::InterpolationCheck < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def autocorrect(corrector, node); end
|
def autocorrect(corrector, node); end
|
||||||
def heredoc?(node); end
|
def heredoc?(node); end
|
||||||
def string_or_regex?(node); end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Lint::InterpolationCheck::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::InterpolationCheck::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -6685,7 +6714,6 @@ module RuboCop::Cop::PercentLiteral
|
|||||||
private
|
private
|
||||||
|
|
||||||
def begin_source(node); end
|
def begin_source(node); end
|
||||||
def contents_range(node); end
|
|
||||||
def percent_literal?(node); end
|
def percent_literal?(node); end
|
||||||
def process(node, *types); end
|
def process(node, *types); end
|
||||||
def type(node); end
|
def type(node); end
|
||||||
@ -6774,6 +6802,7 @@ module RuboCop::Cop::RangeHelp
|
|||||||
private
|
private
|
||||||
|
|
||||||
def column_offset_between(base_range, range); end
|
def column_offset_between(base_range, range); end
|
||||||
|
def contents_range(node); end
|
||||||
def directions(side); end
|
def directions(side); end
|
||||||
def effective_column(range); end
|
def effective_column(range); end
|
||||||
def final_pos(src, pos, increment, continuations, newlines, whitespace); end
|
def final_pos(src, pos, increment, continuations, newlines, whitespace); end
|
||||||
@ -8534,8 +8563,11 @@ class RuboCop::Cop::Style::HashConversion < ::RuboCop::Cop::Base
|
|||||||
def allowed_splat_argument?; end
|
def allowed_splat_argument?; end
|
||||||
def args_to_hash(args); end
|
def args_to_hash(args); end
|
||||||
def multi_argument(node); end
|
def multi_argument(node); end
|
||||||
|
def register_offense_for_hash(node, hash_argument); end
|
||||||
|
def register_offense_for_zip_method(node, zip_method); end
|
||||||
def requires_parens?(node); end
|
def requires_parens?(node); end
|
||||||
def single_argument(node); end
|
def single_argument(node); end
|
||||||
|
def use_zip_method_without_argument?(first_argument); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Style::HashConversion::MSG_LITERAL_HASH_ARG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::HashConversion::MSG_LITERAL_HASH_ARG = T.let(T.unsafe(nil), String)
|
||||||
@ -8718,6 +8750,7 @@ class RuboCop::Cop::Style::IfUnlessModifier < ::RuboCop::Cop::Base
|
|||||||
include(::RuboCop::Cop::LineLengthHelp)
|
include(::RuboCop::Cop::LineLengthHelp)
|
||||||
include(::RuboCop::Cop::StatementModifier)
|
include(::RuboCop::Cop::StatementModifier)
|
||||||
include(::RuboCop::Cop::IgnoredPattern)
|
include(::RuboCop::Cop::IgnoredPattern)
|
||||||
|
include(::RuboCop::Cop::RangeHelp)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def on_if(node); end
|
def on_if(node); end
|
||||||
@ -8726,12 +8759,15 @@ class RuboCop::Cop::Style::IfUnlessModifier < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def another_statement_on_same_line?(node); end
|
def another_statement_on_same_line?(node); end
|
||||||
def autocorrect(corrector, node); end
|
def autocorrect(corrector, node); end
|
||||||
|
def extract_heredoc_from(last_argument); end
|
||||||
def ignored_patterns; end
|
def ignored_patterns; end
|
||||||
def line_length_enabled_at_line?(line); end
|
def line_length_enabled_at_line?(line); end
|
||||||
def named_capture_in_condition?(node); end
|
def named_capture_in_condition?(node); end
|
||||||
def non_eligible_node?(node); end
|
def non_eligible_node?(node); end
|
||||||
def non_simple_if_unless?(node); end
|
def non_simple_if_unless?(node); end
|
||||||
def to_normal_form(node); end
|
def remove_heredoc(corrector, heredoc); end
|
||||||
|
def to_normal_form(node, indentation); end
|
||||||
|
def to_normal_form_with_heredoc(node, indentation, heredoc); end
|
||||||
def too_long_due_to_modifier?(node); end
|
def too_long_due_to_modifier?(node); end
|
||||||
def too_long_line_based_on_allow_uri?(line); end
|
def too_long_line_based_on_allow_uri?(line); end
|
||||||
def too_long_line_based_on_config?(range, line); end
|
def too_long_line_based_on_config?(range, line); end
|
||||||
@ -10268,7 +10304,6 @@ class RuboCop::Cop::Style::RedundantParentheses < ::RuboCop::Cop::Base
|
|||||||
def allowed_expression?(node); end
|
def allowed_expression?(node); end
|
||||||
def allowed_method_call?(node); end
|
def allowed_method_call?(node); end
|
||||||
def allowed_multiple_expression?(node); end
|
def allowed_multiple_expression?(node); end
|
||||||
def array_element?(node); end
|
|
||||||
def call_chain_starts_with_int?(begin_node, send_node); end
|
def call_chain_starts_with_int?(begin_node, send_node); end
|
||||||
def check(begin_node); end
|
def check(begin_node); end
|
||||||
def check_send(begin_node, node); end
|
def check_send(begin_node, node); end
|
||||||
@ -10277,7 +10312,7 @@ class RuboCop::Cop::Style::RedundantParentheses < ::RuboCop::Cop::Base
|
|||||||
def empty_parentheses?(node); end
|
def empty_parentheses?(node); end
|
||||||
def first_arg_begins_with_hash_literal?(node); end
|
def first_arg_begins_with_hash_literal?(node); end
|
||||||
def first_argument?(node); end
|
def first_argument?(node); end
|
||||||
def hash_element?(node); end
|
def hash_or_array_element?(node); end
|
||||||
def ignore_syntax?(node); end
|
def ignore_syntax?(node); end
|
||||||
def keyword_ancestor?(node); end
|
def keyword_ancestor?(node); end
|
||||||
def keyword_with_redundant_parentheses?(node); end
|
def keyword_with_redundant_parentheses?(node); end
|
||||||
@ -10545,6 +10580,10 @@ class RuboCop::Cop::Style::RescueModifier < ::RuboCop::Cop::Base
|
|||||||
def correct_rescue_block(corrector, node, parenthesized); end
|
def correct_rescue_block(corrector, node, parenthesized); end
|
||||||
def indentation_and_offset(node, parenthesized); end
|
def indentation_and_offset(node, parenthesized); end
|
||||||
def parenthesized?(node); end
|
def parenthesized?(node); end
|
||||||
|
|
||||||
|
class << self
|
||||||
|
def autocorrect_incompatible_with; end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Style::RescueModifier::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::RescueModifier::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -10779,6 +10818,7 @@ class RuboCop::Cop::Style::SingleLineMethods < ::RuboCop::Cop::Base
|
|||||||
def correct_to_endless?(body_node); end
|
def correct_to_endless?(body_node); end
|
||||||
def correct_to_multiline(corrector, node); end
|
def correct_to_multiline(corrector, node); end
|
||||||
def each_part(body); end
|
def each_part(body); end
|
||||||
|
def method_body_source(method_body); end
|
||||||
def move_comment(node, corrector); end
|
def move_comment(node, corrector); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -10906,6 +10946,7 @@ RuboCop::Cop::Style::StderrPuts::MSG = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::Cop::Style::StderrPuts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::StderrPuts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::StringChars < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::StringChars < ::RuboCop::Cop::Base
|
||||||
|
include(::RuboCop::Cop::RangeHelp)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
@ -10918,6 +10959,7 @@ RuboCop::Cop::Style::StringChars::MSG = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::Cop::Style::StringChars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::StringChars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::StringConcatenation < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::StringConcatenation < ::RuboCop::Cop::Base
|
||||||
|
include(::RuboCop::Cop::RangeHelp)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
def on_new_investigation; end
|
def on_new_investigation; end
|
||||||
@ -11022,6 +11064,7 @@ class RuboCop::Cop::Style::StructInheritance < ::RuboCop::Cop::Base
|
|||||||
private
|
private
|
||||||
|
|
||||||
def correct_parent(parent, corrector); end
|
def correct_parent(parent, corrector); end
|
||||||
|
def range_for_empty_class_body(class_node, struct_new); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Style::StructInheritance::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::StructInheritance::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -12735,6 +12778,7 @@ class RuboCop::OptionsValidator
|
|||||||
def initialize(options); end
|
def initialize(options); end
|
||||||
|
|
||||||
def boolean_or_empty_cache?; end
|
def boolean_or_empty_cache?; end
|
||||||
|
def disable_parallel_when_invalid_combo; end
|
||||||
def display_only_fail_level_offenses_with_autocorrect?; end
|
def display_only_fail_level_offenses_with_autocorrect?; end
|
||||||
def except_syntax?; end
|
def except_syntax?; end
|
||||||
def incompatible_options; end
|
def incompatible_options; end
|
||||||
@ -12747,7 +12791,6 @@ class RuboCop::OptionsValidator
|
|||||||
def validate_display_only_failed; end
|
def validate_display_only_failed; end
|
||||||
def validate_exclude_limit_option; end
|
def validate_exclude_limit_option; end
|
||||||
def validate_parallel; end
|
def validate_parallel; end
|
||||||
def validate_parallel_with_combo_option; end
|
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
def validate_cop_list(names); end
|
def validate_cop_list(names); end
|
||||||
@ -9694,6 +9694,7 @@ module IRB
|
|||||||
end
|
end
|
||||||
|
|
||||||
class Integer
|
class Integer
|
||||||
|
include ::JSON::Ext::Generator::GeneratorMethods::Integer
|
||||||
include ::MessagePack::CoreExt
|
include ::MessagePack::CoreExt
|
||||||
def to_bn(); end
|
def to_bn(); end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user