mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Update RBI files for dependabot.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
f3db247045
commit
ac57e48885
@ -5,14 +5,4 @@
|
|||||||
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Text`.
|
# Please instead update this file by running `bin/tapioca dsl RuboCop::Cop::FormulaAudit::Text`.
|
||||||
|
|
||||||
|
|
||||||
class RuboCop::Cop::FormulaAudit::Text
|
class RuboCop::Cop::FormulaAudit::Text; end
|
||||||
sig do
|
|
||||||
params(
|
|
||||||
node: RuboCop::AST::Node,
|
|
||||||
pattern: T.any(String, Symbol),
|
|
||||||
kwargs: T.untyped,
|
|
||||||
block: T.untyped
|
|
||||||
).returns(T.untyped)
|
|
||||||
end
|
|
||||||
def prefix_path(node, *pattern, **kwargs, &block); end
|
|
||||||
end
|
|
||||||
|
@ -915,14 +915,29 @@ class CSV
|
|||||||
# end
|
# end
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2507
|
# source://csv//lib/csv.rb#2511
|
||||||
def add_row(row); end
|
def add_row(row); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def binmode(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2396
|
# source://csv//lib/csv.rb#2396
|
||||||
def binmode?; end
|
def binmode?; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def close(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def close_read(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def close_write(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def closed?(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.col_sep -> string
|
# csv.col_sep -> string
|
||||||
#
|
#
|
||||||
@ -1075,7 +1090,7 @@ class CSV
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2432
|
# source://csv//lib/csv.rb#2444
|
||||||
def eof; end
|
def eof; end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -1083,6 +1098,12 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2432
|
# source://csv//lib/csv.rb#2432
|
||||||
def eof?; end
|
def eof?; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def external_encoding(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def fcntl(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.field_size_limit -> integer or nil
|
# csv.field_size_limit -> integer or nil
|
||||||
#
|
#
|
||||||
@ -1095,11 +1116,17 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2176
|
# source://csv//lib/csv.rb#2176
|
||||||
def field_size_limit; end
|
def field_size_limit; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def fileno(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2404
|
# source://csv//lib/csv.rb#2404
|
||||||
def flock(*args); end
|
def flock(*args); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def flush(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.force_quotes? -> true or false
|
# csv.force_quotes? -> true or false
|
||||||
#
|
#
|
||||||
@ -1113,6 +1140,9 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2307
|
# source://csv//lib/csv.rb#2307
|
||||||
def force_quotes?; end
|
def force_quotes?; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def fsync(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.shift -> array, csv_row, or nil
|
# csv.shift -> array, csv_row, or nil
|
||||||
#
|
#
|
||||||
@ -1147,7 +1177,7 @@ class CSV
|
|||||||
# # Raises IOError (not opened for reading)
|
# # Raises IOError (not opened for reading)
|
||||||
# csv.shift
|
# csv.shift
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2803
|
# source://csv//lib/csv.rb#2814
|
||||||
def gets; end
|
def gets; end
|
||||||
|
|
||||||
# The block need not return a \String object:
|
# The block need not return a \String object:
|
||||||
@ -1240,11 +1270,17 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2825
|
# source://csv//lib/csv.rb#2825
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def internal_encoding(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2409
|
# source://csv//lib/csv.rb#2409
|
||||||
def ioctl(*args); end
|
def ioctl(*args); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def isatty(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.liberal_parsing? -> true or false
|
# csv.liberal_parsing? -> true or false
|
||||||
#
|
#
|
||||||
@ -1325,6 +1361,15 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2414
|
# source://csv//lib/csv.rb#2414
|
||||||
def path; end
|
def path; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def pid(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def pos(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def pos=(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv << row -> self
|
# csv << row -> self
|
||||||
#
|
#
|
||||||
@ -1376,7 +1421,7 @@ class CSV
|
|||||||
# end
|
# end
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2507
|
# source://csv//lib/csv.rb#2512
|
||||||
def puts(row); end
|
def puts(row); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -1458,7 +1503,7 @@ class CSV
|
|||||||
# # Raises IOError (not opened for reading)
|
# # Raises IOError (not opened for reading)
|
||||||
# csv.shift
|
# csv.shift
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2803
|
# source://csv//lib/csv.rb#2815
|
||||||
def readline; end
|
def readline; end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -1493,9 +1538,12 @@ class CSV
|
|||||||
# # Raises IOError (not opened for reading)
|
# # Raises IOError (not opened for reading)
|
||||||
# csv.read
|
# csv.read
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2730
|
# source://csv//lib/csv.rb#2738
|
||||||
def readlines; end
|
def readlines; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def reopen(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.return_headers? -> true or false
|
# csv.return_headers? -> true or false
|
||||||
#
|
#
|
||||||
@ -1523,6 +1571,9 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2154
|
# source://csv//lib/csv.rb#2154
|
||||||
def row_sep; end
|
def row_sep; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def seek(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.shift -> array, csv_row, or nil
|
# csv.shift -> array, csv_row, or nil
|
||||||
#
|
#
|
||||||
@ -1587,6 +1638,18 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2418
|
# source://csv//lib/csv.rb#2418
|
||||||
def stat(*args); end
|
def stat(*args); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def string(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def sync(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def sync=(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def tell(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# @raise [NotImplementedError]
|
# @raise [NotImplementedError]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#2423
|
# source://csv//lib/csv.rb#2423
|
||||||
@ -1595,6 +1658,12 @@ class CSV
|
|||||||
# source://csv//lib/csv.rb#2428
|
# source://csv//lib/csv.rb#2428
|
||||||
def to_io; end
|
def to_io; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def truncate(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#2389
|
||||||
|
def tty?(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# csv.unconverted_fields? -> object
|
# csv.unconverted_fields? -> object
|
||||||
#
|
#
|
||||||
@ -2500,16 +2569,6 @@ end
|
|||||||
# source://csv//lib/csv.rb#895
|
# source://csv//lib/csv.rb#895
|
||||||
CSV::ConverterEncoding = T.let(T.unsafe(nil), Encoding)
|
CSV::ConverterEncoding = T.let(T.unsafe(nil), Encoding)
|
||||||
|
|
||||||
# A \Hash containing the names and \Procs for the built-in field converters.
|
|
||||||
# See {Built-In Field Converters}[#class-CSV-label-Built-In+Field+Converters].
|
|
||||||
#
|
|
||||||
# This \Hash is intentionally left unfrozen, and may be extended with
|
|
||||||
# custom field converters.
|
|
||||||
# See {Custom Field Converters}[#class-CSV-label-Custom+Field+Converters].
|
|
||||||
#
|
|
||||||
# source://csv//lib/csv.rb#903
|
|
||||||
CSV::Converters = T.let(T.unsafe(nil), Hash)
|
|
||||||
|
|
||||||
# A Regexp used to find and convert some common Date formats.
|
# A Regexp used to find and convert some common Date formats.
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#884
|
# source://csv//lib/csv.rb#884
|
||||||
@ -2520,6 +2579,88 @@ CSV::DateMatcher = T.let(T.unsafe(nil), Regexp)
|
|||||||
# source://csv//lib/csv.rb#887
|
# source://csv//lib/csv.rb#887
|
||||||
CSV::DateTimeMatcher = T.let(T.unsafe(nil), Regexp)
|
CSV::DateTimeMatcher = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
|
# A FieldInfo Struct contains details about a field's position in the data
|
||||||
|
# source it was read from. CSV will pass this Struct to some blocks that make
|
||||||
|
# decisions based on field structure. See CSV.convert_fields() for an
|
||||||
|
# example.
|
||||||
|
#
|
||||||
|
# <b><tt>index</tt></b>:: The zero-based index of the field in its row.
|
||||||
|
# <b><tt>line</tt></b>:: The line of the data source this row is from.
|
||||||
|
# <b><tt>header</tt></b>:: The header for the column, when available.
|
||||||
|
# <b><tt>quoted?</tt></b>:: True or false, whether the original value is quoted or not.
|
||||||
|
#
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
class CSV::FieldInfo < ::Struct
|
||||||
|
# Returns the value of attribute header
|
||||||
|
#
|
||||||
|
# @return [Object] the current value of header
|
||||||
|
#
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def header; end
|
||||||
|
|
||||||
|
# Sets the attribute header
|
||||||
|
#
|
||||||
|
# @param value [Object] the value to set the attribute header to.
|
||||||
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def header=(_); end
|
||||||
|
|
||||||
|
# Returns the value of attribute index
|
||||||
|
#
|
||||||
|
# @return [Object] the current value of index
|
||||||
|
#
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
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://csv//lib/csv.rb#881
|
||||||
|
def index=(_); end
|
||||||
|
|
||||||
|
# Returns the value of attribute line
|
||||||
|
#
|
||||||
|
# @return [Object] the current value of line
|
||||||
|
#
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
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://csv//lib/csv.rb#881
|
||||||
|
def line=(_); end
|
||||||
|
|
||||||
|
# Returns the value of attribute quoted?
|
||||||
|
#
|
||||||
|
# @return [Object] the current value of quoted?
|
||||||
|
#
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def quoted?; end
|
||||||
|
|
||||||
|
class << self
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def inspect; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def members; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv.rb#881
|
||||||
|
def new(*_arg0); end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Note: Don't use this class directly. This is an internal class.
|
# Note: Don't use this class directly. This is an internal class.
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/fields_converter.rb#5
|
# source://csv//lib/csv/fields_converter.rb#5
|
||||||
@ -2617,7 +2758,7 @@ class CSV::MalformedCSVError < ::RuntimeError
|
|||||||
|
|
||||||
# Returns the value of attribute line_number.
|
# Returns the value of attribute line_number.
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv.rb#853
|
# source://csv//lib/csv.rb#854
|
||||||
def lineno; end
|
def lineno; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -2912,7 +3053,7 @@ CSV::Parser::STRING_SCANNER_SCAN_ACCEPT_STRING = T.let(T.unsafe(nil), TrueClass)
|
|||||||
# Uses StringScanner (the official strscan gem). Strscan provides lexical
|
# Uses StringScanner (the official strscan gem). Strscan provides lexical
|
||||||
# scanning operations on a String. We inherit its object and take advantage
|
# scanning operations on a String. We inherit its object and take advantage
|
||||||
# on the methods. For more information, please visit:
|
# on the methods. For more information, please visit:
|
||||||
# https://ruby-doc.org/stdlib-2.6.1/libdoc/strscan/rdoc/StringScanner.html
|
# https://docs.ruby-lang.org/en/master/StringScanner.html
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/parser.rb#52
|
# source://csv//lib/csv/parser.rb#52
|
||||||
class CSV::Parser::Scanner < ::StringScanner
|
class CSV::Parser::Scanner < ::StringScanner
|
||||||
@ -2936,6 +3077,7 @@ class CSV::Parser::Scanner < ::StringScanner
|
|||||||
# source://csv//lib/csv/parser.rb#69
|
# source://csv//lib/csv/parser.rb#69
|
||||||
def keep_start; end
|
def keep_start; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/parser.rb#53
|
||||||
def scan_all(_arg0); end
|
def scan_all(_arg0); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -3162,7 +3304,7 @@ class CSV::Row
|
|||||||
#
|
#
|
||||||
# Returns +nil+ if the header does not exist.
|
# Returns +nil+ if the header does not exist.
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#203
|
# source://csv//lib/csv/row.rb#215
|
||||||
def [](header_or_index, minimum_index = T.unsafe(nil)); end
|
def [](header_or_index, minimum_index = T.unsafe(nil)); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -3350,9 +3492,12 @@ class CSV::Row
|
|||||||
# If no block is given, returns a new Enumerator:
|
# If no block is given, returns a new Enumerator:
|
||||||
# row.each # => #<Enumerator: #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz">:each>
|
# row.each # => #<Enumerator: #<CSV::Row "Name":"Foo" "Name":"Bar" "Name":"Baz">:each>
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#610
|
# source://csv//lib/csv/row.rb#618
|
||||||
def each_pair(&block); end
|
def each_pair(&block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/row.rb#124
|
||||||
|
def empty?(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# fetch(header) -> value
|
# fetch(header) -> value
|
||||||
# fetch(header, default) -> value
|
# fetch(header, default) -> value
|
||||||
@ -3536,7 +3681,7 @@ class CSV::Row
|
|||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#279
|
# source://csv//lib/csv/row.rb#285
|
||||||
def header?(header); end
|
def header?(header); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -3569,7 +3714,7 @@ class CSV::Row
|
|||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#279
|
# source://csv//lib/csv/row.rb#282
|
||||||
def include?(header); end
|
def include?(header); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -3619,9 +3764,12 @@ class CSV::Row
|
|||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#279
|
# source://csv//lib/csv/row.rb#283
|
||||||
def key?(header); end
|
def key?(header); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/row.rb#124
|
||||||
|
def length(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# row.has_key?(header) -> true or false
|
# row.has_key?(header) -> true or false
|
||||||
#
|
#
|
||||||
@ -3630,7 +3778,7 @@ class CSV::Row
|
|||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#279
|
# source://csv//lib/csv/row.rb#284
|
||||||
def member?(header); end
|
def member?(header); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -3646,6 +3794,12 @@ class CSV::Row
|
|||||||
# source://csv//lib/csv/row.rb#410
|
# source://csv//lib/csv/row.rb#410
|
||||||
def push(*args); end
|
def push(*args); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/row.rb#124
|
||||||
|
def size(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/row.rb#675
|
||||||
|
def to_ary(*_arg0); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# row.to_csv -> csv_string
|
# row.to_csv -> csv_string
|
||||||
#
|
#
|
||||||
@ -3693,7 +3847,7 @@ class CSV::Row
|
|||||||
# row = table[0]
|
# row = table[0]
|
||||||
# row.to_h # => {"Name"=>"Foo"}
|
# row.to_h # => {"Name"=>"Foo"}
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#653
|
# source://csv//lib/csv/row.rb#660
|
||||||
def to_hash; end
|
def to_hash; end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -3705,7 +3859,7 @@ class CSV::Row
|
|||||||
# row = table[0]
|
# row = table[0]
|
||||||
# row.to_csv # => "foo,0\n"
|
# row.to_csv # => "foo,0\n"
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#694
|
# source://csv//lib/csv/row.rb#697
|
||||||
def to_s(**options); end
|
def to_s(**options); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
@ -3755,7 +3909,7 @@ class CSV::Row
|
|||||||
# Returns all fields if no argument given:
|
# Returns all fields if no argument given:
|
||||||
# row.fields # => ["Foo", "Bar", "Baz"]
|
# row.fields # => ["Foo", "Bar", "Baz"]
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/row.rb#530
|
# source://csv//lib/csv/row.rb#551
|
||||||
def values_at(*headers_and_or_indices); end
|
def values_at(*headers_and_or_indices); end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
@ -4533,6 +4687,9 @@ class CSV::Table
|
|||||||
# source://csv//lib/csv/table.rb#930
|
# source://csv//lib/csv/table.rb#930
|
||||||
def each(&block); end
|
def each(&block); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/table.rb#223
|
||||||
|
def empty?(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# table.headers -> array_of_headers
|
# table.headers -> array_of_headers
|
||||||
#
|
#
|
||||||
@ -4574,6 +4731,9 @@ class CSV::Table
|
|||||||
# source://csv//lib/csv/table.rb#1048
|
# source://csv//lib/csv/table.rb#1048
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/table.rb#223
|
||||||
|
def length(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# The current access mode for indexing and iteration.
|
# The current access mode for indexing and iteration.
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/table.rb#214
|
# source://csv//lib/csv/table.rb#214
|
||||||
@ -4598,6 +4758,9 @@ class CSV::Table
|
|||||||
# source://csv//lib/csv/table.rb#788
|
# source://csv//lib/csv/table.rb#788
|
||||||
def push(*rows); end
|
def push(*rows); end
|
||||||
|
|
||||||
|
# source://csv//lib/csv/table.rb#223
|
||||||
|
def size(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
||||||
# table.to_a -> array_of_arrays
|
# table.to_a -> array_of_arrays
|
||||||
#
|
#
|
||||||
@ -4649,7 +4812,7 @@ class CSV::Table
|
|||||||
# Limit rows if option +limit+ is given like +2+:
|
# Limit rows if option +limit+ is given like +2+:
|
||||||
# table.to_csv(limit: 2) # => "Name,Value\nfoo,0\nbar,1\n"
|
# table.to_csv(limit: 2) # => "Name,Value\nfoo,0\nbar,1\n"
|
||||||
#
|
#
|
||||||
# source://csv//lib/csv/table.rb#1004
|
# source://csv//lib/csv/table.rb#1015
|
||||||
def to_s(write_headers: T.unsafe(nil), limit: T.unsafe(nil), **options); end
|
def to_s(write_headers: T.unsafe(nil), limit: T.unsafe(nil), **options); end
|
||||||
|
|
||||||
# :call-seq:
|
# :call-seq:
|
@ -78,36 +78,39 @@ class ParallelTests::CLI
|
|||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#189
|
# source://parallel_tests//lib/parallel_tests/cli.rb#189
|
||||||
def any_test_failed?(test_results); end
|
def any_test_failed?(test_results); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#375
|
# source://parallel_tests//lib/parallel_tests/cli.rb#401
|
||||||
def append_test_options(options, argv); end
|
def append_test_options(options, argv); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#416
|
# source://parallel_tests//lib/parallel_tests/cli.rb#442
|
||||||
def detailed_duration(seconds); end
|
def detailed_duration(seconds); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#390
|
# source://parallel_tests//lib/parallel_tests/cli.rb#416
|
||||||
def execute_command_in_parallel(command, num_processes, options); end
|
def execute_command_in_parallel(command, num_processes, options); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#56
|
# source://parallel_tests//lib/parallel_tests/cli.rb#56
|
||||||
def execute_in_parallel(items, num_processes, options); end
|
def execute_in_parallel(items, num_processes, options); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#364
|
# source://parallel_tests//lib/parallel_tests/cli.rb#390
|
||||||
def extract_file_paths(argv); end
|
def extract_file_paths(argv); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#370
|
# source://parallel_tests//lib/parallel_tests/cli.rb#396
|
||||||
def extract_test_options(argv); end
|
def extract_test_options(argv); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#423
|
# source://parallel_tests//lib/parallel_tests/cli.rb#449
|
||||||
def final_fail_message; end
|
def final_fail_message; end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#433
|
# source://parallel_tests//lib/parallel_tests/cli.rb#459
|
||||||
def first_is_1?; end
|
def first_is_1?; end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#31
|
# source://parallel_tests//lib/parallel_tests/cli.rb#31
|
||||||
def handle_interrupt; end
|
def handle_interrupt; end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#383
|
# source://parallel_tests//lib/parallel_tests/cli.rb#482
|
||||||
|
def heredoc(text, newline_padding); end
|
||||||
|
|
||||||
|
# source://parallel_tests//lib/parallel_tests/cli.rb#409
|
||||||
def load_runner(type); end
|
def load_runner(type); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#138
|
# source://parallel_tests//lib/parallel_tests/cli.rb#138
|
||||||
@ -128,7 +131,7 @@ class ParallelTests::CLI
|
|||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#148
|
# source://parallel_tests//lib/parallel_tests/cli.rb#148
|
||||||
def report_results(test_results, options); end
|
def report_results(test_results, options); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#411
|
# source://parallel_tests//lib/parallel_tests/cli.rb#437
|
||||||
def report_time_taken(&block); end
|
def report_time_taken(&block); end
|
||||||
|
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#130
|
# source://parallel_tests//lib/parallel_tests/cli.rb#130
|
||||||
@ -142,12 +145,12 @@ class ParallelTests::CLI
|
|||||||
|
|
||||||
# CI systems often fail when there is no output for a long time, so simulate some output
|
# CI systems often fail when there is no output for a long time, so simulate some output
|
||||||
#
|
#
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#439
|
# source://parallel_tests//lib/parallel_tests/cli.rb#465
|
||||||
def simulate_output_for_ci(simulate); end
|
def simulate_output_for_ci(simulate); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://parallel_tests//lib/parallel_tests/cli.rb#429
|
# source://parallel_tests//lib/parallel_tests/cli.rb#455
|
||||||
def use_colors?; end
|
def use_colors?; end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
113
Library/Homebrew/sorbet/rbi/gems/require-hooks@0.2.2.rbi
Normal file
113
Library/Homebrew/sorbet/rbi/gems/require-hooks@0.2.2.rbi
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
|
# DO NOT EDIT MANUALLY
|
||||||
|
# This is an autogenerated file for types exported from the `require-hooks` gem.
|
||||||
|
# Please instead update this file by running `bin/tapioca gem require-hooks`.
|
||||||
|
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#3
|
||||||
|
module RequireHooks
|
||||||
|
class << self
|
||||||
|
# Define a block to wrap the code loading.
|
||||||
|
# The return value MUST be a result of calling the passed block.
|
||||||
|
# For example, you can use such hooks for instrumentation, debugging purposes.
|
||||||
|
#
|
||||||
|
# RequireHooks.around_load do |path, &block|
|
||||||
|
# puts "Loading #{path}"
|
||||||
|
# block.call.tap { puts "Loaded #{path}" }
|
||||||
|
# end
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#71
|
||||||
|
def around_load(patterns: T.unsafe(nil), exclude_patterns: T.unsafe(nil), &block); end
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#107
|
||||||
|
def context_for(path); end
|
||||||
|
|
||||||
|
# This hook should be used to manually compile byte code to be loaded by the VM.
|
||||||
|
# The arguments are (path, source = nil), where source is only defined if transformations took place.
|
||||||
|
# Otherwise, you MUST read the source code from the file yourself.
|
||||||
|
#
|
||||||
|
# The return value MUST be either nil (continue to the next hook or default behavior) or a platform-specific bytecode object (e.g., RubyVM::InstructionSequence).
|
||||||
|
#
|
||||||
|
# RequireHooks.hijack_load do |path, source|
|
||||||
|
# source ||= File.read(path)
|
||||||
|
# if defined?(RubyVM::InstructionSequence)
|
||||||
|
# RubyVM::InstructionSequence.compile(source)
|
||||||
|
# elsif defined?(JRUBY_VERSION)
|
||||||
|
# JRuby.compile(source)
|
||||||
|
# end
|
||||||
|
# end
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#103
|
||||||
|
def hijack_load(patterns: T.unsafe(nil), exclude_patterns: T.unsafe(nil), &block); end
|
||||||
|
|
||||||
|
# Returns the value of attribute print_warnings.
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#61
|
||||||
|
def print_warnings; end
|
||||||
|
|
||||||
|
# Sets the attribute print_warnings
|
||||||
|
#
|
||||||
|
# @param value the value to set the attribute print_warnings to.
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#61
|
||||||
|
def print_warnings=(_arg0); end
|
||||||
|
|
||||||
|
# Define hooks to perform source-to-source transformations.
|
||||||
|
# The return value MUST be either String (new source code) or nil (indicating that no transformations were performed).
|
||||||
|
#
|
||||||
|
# NOTE: The second argument (`source`) MAY be nil, indicating that no transformer tried to transform the source code.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# RequireHooks.source_transform do |path, source|
|
||||||
|
# end
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#85
|
||||||
|
def source_transform(patterns: T.unsafe(nil), exclude_patterns: T.unsafe(nil), &block); end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#8
|
||||||
|
class RequireHooks::Context
|
||||||
|
# @return [Context] a new instance of Context
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#9
|
||||||
|
def initialize(around_load, source_transform, hijack_load); end
|
||||||
|
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#15
|
||||||
|
def empty?; end
|
||||||
|
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#23
|
||||||
|
def hijack?; end
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#37
|
||||||
|
def perform_source_transform(path); end
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#27
|
||||||
|
def run_around_load_callbacks(path); end
|
||||||
|
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#19
|
||||||
|
def source_transform?; end
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/api.rb#49
|
||||||
|
def try_hijack_load(path, source); end
|
||||||
|
end
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/mode/load_iseq.rb#4
|
||||||
|
module RequireHooks::LoadIseq
|
||||||
|
# source://require-hooks//lib/require-hooks/mode/load_iseq.rb#5
|
||||||
|
def load_iseq(path); end
|
||||||
|
end
|
||||||
|
|
||||||
|
# source://require-hooks//lib/require-hooks/version.rb#4
|
||||||
|
RequireHooks::VERSION = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RubyVM::InstructionSequence
|
||||||
|
extend ::RequireHooks::LoadIseq
|
||||||
|
end
|
File diff suppressed because it is too large
Load Diff
@ -9,75 +9,7 @@
|
|||||||
# in the `RSpec::Expectations` and `RSpec::Matchers` namespaces.
|
# in the `RSpec::Expectations` and `RSpec::Matchers` namespaces.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/english_phrasing.rb#1
|
# source://rspec-expectations//lib/rspec/matchers/english_phrasing.rb#1
|
||||||
module RSpec
|
module RSpec; end
|
||||||
class << self
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#70
|
|
||||||
def clear_examples; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#85
|
|
||||||
def configuration; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
|
|
||||||
def configuration=(_arg0); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#97
|
|
||||||
def configure; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#194
|
|
||||||
def const_missing(name); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def context(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#122
|
|
||||||
def current_example; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#128
|
|
||||||
def current_example=(example); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#154
|
|
||||||
def current_scope; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#134
|
|
||||||
def current_scope=(scope); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def describe(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def example_group(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def fcontext(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def fdescribe(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#58
|
|
||||||
def reset; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
|
|
||||||
def shared_context(name, *args, &block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
|
|
||||||
def shared_examples(name, *args, &block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
|
|
||||||
def shared_examples_for(name, *args, &block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#160
|
|
||||||
def world; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
|
|
||||||
def world=(_arg0); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def xcontext(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def xdescribe(*args, &example_group_block); end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# RSpec::Expectations provides a simple, readable API to express
|
# RSpec::Expectations provides a simple, readable API to express
|
||||||
# the expected outcomes in a code example. To express an expected
|
# the expected outcomes in a code example. To express an expected
|
||||||
@ -164,7 +96,7 @@ class RSpec::Expectations::BlockExpectationTarget < ::RSpec::Expectations::Expec
|
|||||||
# source://rspec-expectations//lib/rspec/expectations/expectation_target.rb#137
|
# source://rspec-expectations//lib/rspec/expectations/expectation_target.rb#137
|
||||||
def to(matcher, message = T.unsafe(nil), &block); end
|
def to(matcher, message = T.unsafe(nil), &block); end
|
||||||
|
|
||||||
# source://rspec-expectations//lib/rspec/expectations/expectation_target.rb#142
|
# source://rspec-expectations//lib/rspec/expectations/expectation_target.rb#146
|
||||||
def to_not(matcher, message = T.unsafe(nil), &block); end
|
def to_not(matcher, message = T.unsafe(nil), &block); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -249,12 +181,16 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
|
|||||||
# Returns the value of attribute beginning_line_number
|
# Returns the value of attribute beginning_line_number
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of beginning_line_number
|
# @return [Object] the current value of beginning_line_number
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def beginning_line_number; end
|
def beginning_line_number; end
|
||||||
|
|
||||||
# Sets the attribute beginning_line_number
|
# Sets the attribute beginning_line_number
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute beginning_line_number to.
|
# @param value [Object] the value to set the attribute beginning_line_number to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def beginning_line_number=(_); end
|
def beginning_line_number=(_); end
|
||||||
|
|
||||||
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#205
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#205
|
||||||
@ -266,23 +202,31 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
|
|||||||
# Returns the value of attribute method_name
|
# Returns the value of attribute method_name
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of method_name
|
# @return [Object] the current value of method_name
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def method_name; end
|
def method_name; end
|
||||||
|
|
||||||
# Sets the attribute method_name
|
# Sets the attribute method_name
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute method_name to.
|
# @param value [Object] the value to set the attribute method_name to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def method_name=(_); end
|
def method_name=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute source
|
# Returns the value of attribute source
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of source
|
# @return [Object] the current value of source
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def source; end
|
def source; end
|
||||||
|
|
||||||
# Sets the attribute source
|
# Sets the attribute source
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute source to.
|
# @param value [Object] the value to set the attribute source to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def source=(_); end
|
def source=(_); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -308,10 +252,19 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < ::Struct
|
|||||||
def method_ident_node?(node); end
|
def method_ident_node?(node); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#200
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -331,12 +284,16 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
|
|||||||
# Returns the value of attribute beginning_line_number
|
# Returns the value of attribute beginning_line_number
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of beginning_line_number
|
# @return [Object] the current value of beginning_line_number
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def beginning_line_number; end
|
def beginning_line_number; end
|
||||||
|
|
||||||
# Sets the attribute beginning_line_number
|
# Sets the attribute beginning_line_number
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute beginning_line_number to.
|
# @param value [Object] the value to set the attribute beginning_line_number to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def beginning_line_number=(_); end
|
def beginning_line_number=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute body_tokens.
|
# Returns the value of attribute body_tokens.
|
||||||
@ -347,23 +304,31 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
|
|||||||
# Returns the value of attribute method_name
|
# Returns the value of attribute method_name
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of method_name
|
# @return [Object] the current value of method_name
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def method_name; end
|
def method_name; end
|
||||||
|
|
||||||
# Sets the attribute method_name
|
# Sets the attribute method_name
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute method_name to.
|
# @param value [Object] the value to set the attribute method_name to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def method_name=(_); end
|
def method_name=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute source
|
# Returns the value of attribute source
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of source
|
# @return [Object] the current value of source
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def source; end
|
def source; end
|
||||||
|
|
||||||
# Sets the attribute source
|
# Sets the attribute source
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute source to.
|
# @param value [Object] the value to set the attribute source to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def source=(_); end
|
def source=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute state.
|
# Returns the value of attribute state.
|
||||||
@ -434,10 +399,19 @@ class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < ::Struct
|
|||||||
def pipe_token?(token); end
|
def pipe_token?(token); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/expectations/block_snippet_extractor.rb#77
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -773,7 +747,7 @@ module RSpec::Expectations::ExpectationTarget::InstanceMethods
|
|||||||
# @return [Boolean] false if the negative expectation succeeds (else raises)
|
# @return [Boolean] false if the negative expectation succeeds (else raises)
|
||||||
# @see RSpec::Matchers
|
# @see RSpec::Matchers
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/expectations/expectation_target.rb#76
|
# source://rspec-expectations//lib/rspec/expectations/expectation_target.rb#80
|
||||||
def to_not(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
|
def to_not(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1558,7 +1532,7 @@ module RSpec::Matchers
|
|||||||
# @param receiver [Object]
|
# @param receiver [Object]
|
||||||
# @param message [Symbol] the message to send the receiver
|
# @param message [Symbol] the message to send the receiver
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_changing(*args, **_arg1, &block); end
|
def a_block_changing(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# With no arg, passes if the block outputs `to_stdout` or `to_stderr`.
|
# With no arg, passes if the block outputs `to_stdout` or `to_stderr`.
|
||||||
@ -1591,7 +1565,7 @@ module RSpec::Matchers
|
|||||||
# @note `to_stdout_from_any_process` and `to_stderr_from_any_process` use Tempfiles, and
|
# @note `to_stdout_from_any_process` and `to_stderr_from_any_process` use Tempfiles, and
|
||||||
# are thus significantly (~30x) slower than `to_stdout` and `to_stderr`.
|
# are thus significantly (~30x) slower than `to_stdout` and `to_stderr`.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_outputting(*args, **_arg1, &block); end
|
def a_block_outputting(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# With no args, matches if any error is raised.
|
# With no args, matches if any error is raised.
|
||||||
@ -1611,7 +1585,7 @@ module RSpec::Matchers
|
|||||||
#
|
#
|
||||||
# expect { do_something_risky }.not_to raise_error
|
# expect { do_something_risky }.not_to raise_error
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_raising(*args, **_arg1, &block); end
|
def a_block_raising(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given no argument, matches if a proc throws any Symbol.
|
# Given no argument, matches if a proc throws any Symbol.
|
||||||
@ -1630,7 +1604,7 @@ module RSpec::Matchers
|
|||||||
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky)
|
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky)
|
||||||
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky, 'culprit')
|
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky, 'culprit')
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_throwing(*args, **_arg1, &block); end
|
def a_block_throwing(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if the method called in the expect block yields, regardless
|
# Passes if the method called in the expect block yields, regardless
|
||||||
@ -1642,7 +1616,7 @@ module RSpec::Matchers
|
|||||||
# @note Your expect block must accept a parameter and pass it on to
|
# @note Your expect block must accept a parameter and pass it on to
|
||||||
# the method-under-test as a block.
|
# the method-under-test as a block.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_yielding_control(*args, **_arg1, &block); end
|
def a_block_yielding_control(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Designed for use with methods that repeatedly yield (such as
|
# Designed for use with methods that repeatedly yield (such as
|
||||||
@ -1660,7 +1634,7 @@ module RSpec::Matchers
|
|||||||
# @note Your expect block must accept a parameter and pass it on to
|
# @note Your expect block must accept a parameter and pass it on to
|
||||||
# the method-under-test as a block.
|
# the method-under-test as a block.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_yielding_successive_args(*args, **_arg1, &block); end
|
def a_block_yielding_successive_args(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given no arguments, matches if the method called in the expect
|
# Given no arguments, matches if the method called in the expect
|
||||||
@ -1687,7 +1661,7 @@ module RSpec::Matchers
|
|||||||
# @note This matcher is not designed for use with methods that yield
|
# @note This matcher is not designed for use with methods that yield
|
||||||
# multiple times.
|
# multiple times.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_yielding_with_args(*args, **_arg1, &block); end
|
def a_block_yielding_with_args(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if the method called in the expect block yields with
|
# Passes if the method called in the expect block yields with
|
||||||
@ -1702,7 +1676,7 @@ module RSpec::Matchers
|
|||||||
# @note This matcher is not designed for use with methods that yield
|
# @note This matcher is not designed for use with methods that yield
|
||||||
# multiple times.
|
# multiple times.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_block_yielding_with_no_args(*args, **_arg1, &block); end
|
def a_block_yielding_with_no_args(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual contains all of the expected regardless of order.
|
# Passes if actual contains all of the expected regardless of order.
|
||||||
@ -1716,7 +1690,7 @@ module RSpec::Matchers
|
|||||||
# but `=~` is not supported with `expect`.
|
# but `=~` is not supported with `expect`.
|
||||||
# @see #match_array
|
# @see #match_array
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_collection_containing_exactly(*args, **_arg1, &block); end
|
def a_collection_containing_exactly(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the actual value ends with the expected value(s). In the case
|
# Matches if the actual value ends with the expected value(s). In the case
|
||||||
@ -1729,7 +1703,7 @@ module RSpec::Matchers
|
|||||||
# expect([0, 1, 2, 3, 4]).to end_with 4
|
# expect([0, 1, 2, 3, 4]).to end_with 4
|
||||||
# expect([0, 2, 3, 4, 4]).to end_with 3, 4
|
# expect([0, 2, 3, 4, 4]).to end_with 3, 4
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_collection_ending_with(*args, **_arg1, &block); end
|
def a_collection_ending_with(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual includes expected. This works for
|
# Passes if actual includes expected. This works for
|
||||||
@ -1750,7 +1724,7 @@ module RSpec::Matchers
|
|||||||
# expect(:a => 1, :b => 2).to include(:c) # fails
|
# expect(:a => 1, :b => 2).to include(:c) # fails
|
||||||
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_collection_including(*args, **_arg1, &block); end
|
def a_collection_including(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the actual value starts with the expected value(s). In the
|
# Matches if the actual value starts with the expected value(s). In the
|
||||||
@ -1763,17 +1737,17 @@ module RSpec::Matchers
|
|||||||
# expect([0, 1, 2, 3, 4]).to start_with 0
|
# expect([0, 1, 2, 3, 4]).to start_with 0
|
||||||
# expect([0, 2, 3, 4, 4]).to start_with 0, 1
|
# expect([0, 2, 3, 4, 4]).to start_with 0, 1
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_collection_starting_with(*args, **_arg1, &block); end
|
def a_collection_starting_with(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual is falsey (false or nil)
|
# Passes if actual is falsey (false or nil)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_falsey_value(*args, **_arg1, &block); end
|
def a_falsey_value(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual is falsey (false or nil)
|
# Passes if actual is falsey (false or nil)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_falsy_value(*args, **_arg1, &block); end
|
def a_falsy_value(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual includes expected. This works for
|
# Passes if actual includes expected. This works for
|
||||||
@ -1794,7 +1768,7 @@ module RSpec::Matchers
|
|||||||
# expect(:a => 1, :b => 2).to include(:c) # fails
|
# expect(:a => 1, :b => 2).to include(:c) # fails
|
||||||
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_hash_including(*args, **_arg1, &block); end
|
def a_hash_including(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual.kind_of?(expected)
|
# Passes if actual.kind_of?(expected)
|
||||||
@ -1804,12 +1778,12 @@ module RSpec::Matchers
|
|||||||
# expect(5).to be_a_kind_of(Numeric)
|
# expect(5).to be_a_kind_of(Numeric)
|
||||||
# expect(5).not_to be_a_kind_of(Float)
|
# expect(5).not_to be_a_kind_of(Float)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_kind_of(*args, **_arg1, &block); end
|
def a_kind_of(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual is nil
|
# Passes if actual is nil
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_nil_value(*args, **_arg1, &block); end
|
def a_nil_value(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual covers expected. This works for
|
# Passes if actual covers expected. This works for
|
||||||
@ -1825,7 +1799,7 @@ module RSpec::Matchers
|
|||||||
# expect(1..10).not_to cover(11)
|
# expect(1..10).not_to cover(11)
|
||||||
# expect(1..10).not_to cover(5) # fails
|
# expect(1..10).not_to cover(5) # fails
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_range_covering(*args, **_arg1, &block); end
|
def a_range_covering(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the actual value ends with the expected value(s). In the case
|
# Matches if the actual value ends with the expected value(s). In the case
|
||||||
@ -1838,7 +1812,7 @@ module RSpec::Matchers
|
|||||||
# expect([0, 1, 2, 3, 4]).to end_with 4
|
# expect([0, 1, 2, 3, 4]).to end_with 4
|
||||||
# expect([0, 2, 3, 4, 4]).to end_with 3, 4
|
# expect([0, 2, 3, 4, 4]).to end_with 3, 4
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_string_ending_with(*args, **_arg1, &block); end
|
def a_string_ending_with(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual includes expected. This works for
|
# Passes if actual includes expected. This works for
|
||||||
@ -1859,7 +1833,7 @@ module RSpec::Matchers
|
|||||||
# expect(:a => 1, :b => 2).to include(:c) # fails
|
# expect(:a => 1, :b => 2).to include(:c) # fails
|
||||||
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_string_including(*args, **_arg1, &block); end
|
def a_string_including(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
||||||
@ -1892,7 +1866,7 @@ module RSpec::Matchers
|
|||||||
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
||||||
# `match` could not be used there), but is no longer needed in 3.x.
|
# `match` could not be used there), but is no longer needed in 3.x.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_string_matching(*args, **_arg1, &block); end
|
def a_string_matching(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the actual value starts with the expected value(s). In the
|
# Matches if the actual value starts with the expected value(s). In the
|
||||||
@ -1905,12 +1879,12 @@ module RSpec::Matchers
|
|||||||
# expect([0, 1, 2, 3, 4]).to start_with 0
|
# expect([0, 1, 2, 3, 4]).to start_with 0
|
||||||
# expect([0, 2, 3, 4, 4]).to start_with 0, 1
|
# expect([0, 2, 3, 4, 4]).to start_with 0, 1
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_string_starting_with(*args, **_arg1, &block); end
|
def a_string_starting_with(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual is truthy (anything but false or nil)
|
# Passes if actual is truthy (anything but false or nil)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_truthy_value(*args, **_arg1, &block); end
|
def a_truthy_value(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given true, false, or nil, will pass if actual value is true, false or
|
# Given true, false, or nil, will pass if actual value is true, false or
|
||||||
@ -1934,7 +1908,7 @@ module RSpec::Matchers
|
|||||||
# expect(actual).not_to be_nil
|
# expect(actual).not_to be_nil
|
||||||
# expect(actual).not_to be_[arbitrary_predicate](*args)
|
# expect(actual).not_to be_[arbitrary_predicate](*args)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_value(*args, **_arg1, &block); end
|
def a_value(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual.between?(min, max). Works with any Comparable object,
|
# Passes if actual.between?(min, max). Works with any Comparable object,
|
||||||
@ -1949,7 +1923,7 @@ module RSpec::Matchers
|
|||||||
# expect(11).not_to be_between(1, 10)
|
# expect(11).not_to be_between(1, 10)
|
||||||
# expect(10).not_to be_between(1, 10).exclusive
|
# expect(10).not_to be_between(1, 10).exclusive
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_value_between(*args, **_arg1, &block); end
|
def a_value_between(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual == expected +/- delta
|
# Passes if actual == expected +/- delta
|
||||||
@ -1958,7 +1932,7 @@ module RSpec::Matchers
|
|||||||
# expect(result).to be_within(0.5).of(3.0)
|
# expect(result).to be_within(0.5).of(3.0)
|
||||||
# expect(result).not_to be_within(0.5).of(3.0)
|
# expect(result).not_to be_within(0.5).of(3.0)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def a_value_within(*args, **_arg1, &block); end
|
def a_value_within(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Allows multiple expectations in the provided block to fail, and then
|
# Allows multiple expectations in the provided block to fail, and then
|
||||||
@ -2021,7 +1995,7 @@ module RSpec::Matchers
|
|||||||
# expect(results).to match_array([1, 2])
|
# expect(results).to match_array([1, 2])
|
||||||
# @see #contain_exactly
|
# @see #contain_exactly
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_array_matching(*args, **_arg1, &block); end
|
def an_array_matching(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual.instance_of?(expected)
|
# Passes if actual.instance_of?(expected)
|
||||||
@ -2031,7 +2005,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).not_to be_an_instance_of(Numeric)
|
# expect(5).not_to be_an_instance_of(Numeric)
|
||||||
# expect(5).not_to be_an_instance_of(Float)
|
# expect(5).not_to be_an_instance_of(Float)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_instance_of(*args, **_arg1, &block); end
|
def an_instance_of(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if <tt>actual == expected</tt>.
|
# Passes if <tt>actual == expected</tt>.
|
||||||
@ -2043,7 +2017,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to eq(5)
|
# expect(5).to eq(5)
|
||||||
# expect(5).not_to eq(3)
|
# expect(5).not_to eq(3)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_eq_to(*args, **_arg1, &block); end
|
def an_object_eq_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if `actual.eql?(expected)`
|
# Passes if `actual.eql?(expected)`
|
||||||
@ -2055,7 +2029,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to eql(5)
|
# expect(5).to eql(5)
|
||||||
# expect(5).not_to eql(3)
|
# expect(5).not_to eql(3)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_eql_to(*args, **_arg1, &block); end
|
def an_object_eql_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if <tt>actual.equal?(expected)</tt> (object identity).
|
# Passes if <tt>actual.equal?(expected)</tt> (object identity).
|
||||||
@ -2067,7 +2041,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to equal(5) # Integers are equal
|
# expect(5).to equal(5) # Integers are equal
|
||||||
# expect("5").not_to equal("5") # Strings that look the same are not the same object
|
# expect("5").not_to equal("5") # Strings that look the same are not the same object
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_equal_to(*args, **_arg1, &block); end
|
def an_object_equal_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if `actual.exist?` or `actual.exists?`
|
# Passes if `actual.exist?` or `actual.exists?`
|
||||||
@ -2075,7 +2049,7 @@ module RSpec::Matchers
|
|||||||
# @example
|
# @example
|
||||||
# expect(File).to exist("path/to/file")
|
# expect(File).to exist("path/to/file")
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_existing(*args, **_arg1, &block); end
|
def an_object_existing(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual's attribute values match the expected attributes hash.
|
# Passes if actual's attribute values match the expected attributes hash.
|
||||||
@ -2091,7 +2065,7 @@ module RSpec::Matchers
|
|||||||
# expect(person).to have_attributes(:color => "red")
|
# expect(person).to have_attributes(:color => "red")
|
||||||
# @note It will fail if actual doesn't respond to any of the expected attributes.
|
# @note It will fail if actual doesn't respond to any of the expected attributes.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_having_attributes(*args, **_arg1, &block); end
|
def an_object_having_attributes(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
||||||
@ -2124,7 +2098,7 @@ module RSpec::Matchers
|
|||||||
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
||||||
# `match` could not be used there), but is no longer needed in 3.x.
|
# `match` could not be used there), but is no longer needed in 3.x.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_matching(*args, **_arg1, &block); end
|
def an_object_matching(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the target object responds to all of the names
|
# Matches if the target object responds to all of the names
|
||||||
@ -2133,7 +2107,7 @@ module RSpec::Matchers
|
|||||||
# @example
|
# @example
|
||||||
# expect("string").to respond_to(:length)
|
# expect("string").to respond_to(:length)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_responding_to(*args, **_arg1, &block); end
|
def an_object_responding_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if the submitted block returns true. Yields target to the
|
# Passes if the submitted block returns true. Yields target to the
|
||||||
@ -2151,7 +2125,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to satisfy("be greater than 3") { |n| n > 3 }
|
# expect(5).to satisfy("be greater than 3") { |n| n > 3 }
|
||||||
# @param description [String] optional description to be used for this matcher.
|
# @param description [String] optional description to be used for this matcher.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def an_object_satisfying(*args, **_arg1, &block); end
|
def an_object_satisfying(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given true, false, or nil, will pass if actual value is true, false or
|
# Given true, false, or nil, will pass if actual value is true, false or
|
||||||
@ -2195,7 +2169,7 @@ module RSpec::Matchers
|
|||||||
|
|
||||||
# passes if target.kind_of?(klass)
|
# passes if target.kind_of?(klass)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers.rb#355
|
# source://rspec-expectations//lib/rspec/matchers.rb#358
|
||||||
def be_an(klass); end
|
def be_an(klass); end
|
||||||
|
|
||||||
# Passes if actual.instance_of?(expected)
|
# Passes if actual.instance_of?(expected)
|
||||||
@ -2230,7 +2204,7 @@ module RSpec::Matchers
|
|||||||
|
|
||||||
# Passes if actual is falsey (false or nil)
|
# Passes if actual is falsey (false or nil)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def be_falsy(*args, **_arg1, &block); end
|
def be_falsy(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual.instance_of?(expected)
|
# Passes if actual.instance_of?(expected)
|
||||||
@ -2240,7 +2214,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).not_to be_an_instance_of(Numeric)
|
# expect(5).not_to be_an_instance_of(Numeric)
|
||||||
# expect(5).not_to be_an_instance_of(Float)
|
# expect(5).not_to be_an_instance_of(Float)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers.rb#366
|
# source://rspec-expectations//lib/rspec/matchers.rb#369
|
||||||
def be_instance_of(expected); end
|
def be_instance_of(expected); end
|
||||||
|
|
||||||
# Passes if actual.kind_of?(expected)
|
# Passes if actual.kind_of?(expected)
|
||||||
@ -2250,7 +2224,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to be_a_kind_of(Numeric)
|
# expect(5).to be_a_kind_of(Numeric)
|
||||||
# expect(5).not_to be_a_kind_of(Float)
|
# expect(5).not_to be_a_kind_of(Float)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers.rb#378
|
# source://rspec-expectations//lib/rspec/matchers.rb#381
|
||||||
def be_kind_of(expected); end
|
def be_kind_of(expected); end
|
||||||
|
|
||||||
# Passes if actual is nil
|
# Passes if actual is nil
|
||||||
@ -2437,7 +2411,7 @@ module RSpec::Matchers
|
|||||||
# @param receiver [Object]
|
# @param receiver [Object]
|
||||||
# @param message [Symbol] the message to send the receiver
|
# @param message [Symbol] the message to send the receiver
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def changing(*args, **_arg1, &block); end
|
def changing(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual contains all of the expected regardless of order.
|
# Passes if actual contains all of the expected regardless of order.
|
||||||
@ -2465,7 +2439,7 @@ module RSpec::Matchers
|
|||||||
# but `=~` is not supported with `expect`.
|
# but `=~` is not supported with `expect`.
|
||||||
# @see #match_array
|
# @see #match_array
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def containing_exactly(*args, **_arg1, &block); end
|
def containing_exactly(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual covers expected. This works for
|
# Passes if actual covers expected. This works for
|
||||||
@ -2497,7 +2471,7 @@ module RSpec::Matchers
|
|||||||
# expect(1..10).not_to cover(11)
|
# expect(1..10).not_to cover(11)
|
||||||
# expect(1..10).not_to cover(5) # fails
|
# expect(1..10).not_to cover(5) # fails
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def covering(*args, **_arg1, &block); end
|
def covering(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the actual value ends with the expected value(s). In the case
|
# Matches if the actual value ends with the expected value(s). In the case
|
||||||
@ -2523,7 +2497,7 @@ module RSpec::Matchers
|
|||||||
# expect([0, 1, 2, 3, 4]).to end_with 4
|
# expect([0, 1, 2, 3, 4]).to end_with 4
|
||||||
# expect([0, 2, 3, 4, 4]).to end_with 3, 4
|
# expect([0, 2, 3, 4, 4]).to end_with 3, 4
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def ending_with(*args, **_arg1, &block); end
|
def ending_with(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if <tt>actual == expected</tt>.
|
# Passes if <tt>actual == expected</tt>.
|
||||||
@ -2547,7 +2521,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to eq(5)
|
# expect(5).to eq(5)
|
||||||
# expect(5).not_to eq(3)
|
# expect(5).not_to eq(3)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def eq_to(*args, **_arg1, &block); end
|
def eq_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if `actual.eql?(expected)`
|
# Passes if `actual.eql?(expected)`
|
||||||
@ -2571,7 +2545,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to eql(5)
|
# expect(5).to eql(5)
|
||||||
# expect(5).not_to eql(3)
|
# expect(5).not_to eql(3)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def eql_to(*args, **_arg1, &block); end
|
def eql_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if <tt>actual.equal?(expected)</tt> (object identity).
|
# Passes if <tt>actual.equal?(expected)</tt> (object identity).
|
||||||
@ -2595,7 +2569,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to equal(5) # Integers are equal
|
# expect(5).to equal(5) # Integers are equal
|
||||||
# expect("5").not_to equal("5") # Strings that look the same are not the same object
|
# expect("5").not_to equal("5") # Strings that look the same are not the same object
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def equal_to(*args, **_arg1, &block); end
|
def equal_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if `actual.exist?` or `actual.exists?`
|
# Passes if `actual.exist?` or `actual.exists?`
|
||||||
@ -2611,7 +2585,7 @@ module RSpec::Matchers
|
|||||||
# @example
|
# @example
|
||||||
# expect(File).to exist("path/to/file")
|
# expect(File).to exist("path/to/file")
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def existing(*args, **_arg1, &block); end
|
def existing(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Supports `expect(actual).to matcher` syntax by wrapping `actual` in an
|
# Supports `expect(actual).to matcher` syntax by wrapping `actual` in an
|
||||||
@ -2624,7 +2598,7 @@ module RSpec::Matchers
|
|||||||
# @see Expectations::ExpectationTarget#to
|
# @see Expectations::ExpectationTarget#to
|
||||||
# @see Expectations::ExpectationTarget#not_to
|
# @see Expectations::ExpectationTarget#not_to
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/expectations/syntax.rb#72
|
# source://rspec-expectations//lib/rspec/expectations/configuration.rb#48
|
||||||
def expect(value = T.unsafe(nil), &block); end
|
def expect(value = T.unsafe(nil), &block); end
|
||||||
|
|
||||||
# Passes if actual's attribute values match the expected attributes hash.
|
# Passes if actual's attribute values match the expected attributes hash.
|
||||||
@ -2656,7 +2630,7 @@ module RSpec::Matchers
|
|||||||
# expect(person).to have_attributes(:color => "red")
|
# expect(person).to have_attributes(:color => "red")
|
||||||
# @note It will fail if actual doesn't respond to any of the expected attributes.
|
# @note It will fail if actual doesn't respond to any of the expected attributes.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def having_attributes(*args, **_arg1, &block); end
|
def having_attributes(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual includes expected. This works for
|
# Passes if actual includes expected. This works for
|
||||||
@ -2698,7 +2672,7 @@ module RSpec::Matchers
|
|||||||
# expect(:a => 1, :b => 2).to include(:c) # fails
|
# expect(:a => 1, :b => 2).to include(:c) # fails
|
||||||
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def including(*args, **_arg1, &block); end
|
def including(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
||||||
@ -2777,7 +2751,7 @@ module RSpec::Matchers
|
|||||||
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
||||||
# `match` could not be used there), but is no longer needed in 3.x.
|
# `match` could not be used there), but is no longer needed in 3.x.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def match_regex(*args, **_arg1, &block); end
|
def match_regex(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
||||||
@ -2810,7 +2784,7 @@ module RSpec::Matchers
|
|||||||
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
||||||
# `match` could not be used there), but is no longer needed in 3.x.
|
# `match` could not be used there), but is no longer needed in 3.x.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def matching(*args, **_arg1, &block); end
|
def matching(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# With no arg, passes if the block outputs `to_stdout` or `to_stderr`.
|
# With no arg, passes if the block outputs `to_stdout` or `to_stderr`.
|
||||||
@ -2883,7 +2857,7 @@ module RSpec::Matchers
|
|||||||
#
|
#
|
||||||
# expect { do_something_risky }.not_to raise_error
|
# expect { do_something_risky }.not_to raise_error
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers.rb#773
|
# source://rspec-expectations//lib/rspec/matchers.rb#776
|
||||||
def raise_exception(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
|
def raise_exception(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
|
||||||
|
|
||||||
# With no args, matches if any error is raised.
|
# With no args, matches if any error is raised.
|
||||||
@ -2903,7 +2877,7 @@ module RSpec::Matchers
|
|||||||
#
|
#
|
||||||
# expect { do_something_risky }.not_to raise_error
|
# expect { do_something_risky }.not_to raise_error
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def raising(*args, **_arg1, &block); end
|
def raising(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the target object responds to all of the names
|
# Matches if the target object responds to all of the names
|
||||||
@ -2921,7 +2895,7 @@ module RSpec::Matchers
|
|||||||
# @example
|
# @example
|
||||||
# expect("string").to respond_to(:length)
|
# expect("string").to respond_to(:length)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def responding_to(*args, **_arg1, &block); end
|
def responding_to(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if the submitted block returns true. Yields target to the
|
# Passes if the submitted block returns true. Yields target to the
|
||||||
@ -2957,7 +2931,7 @@ module RSpec::Matchers
|
|||||||
# expect(5).to satisfy("be greater than 3") { |n| n > 3 }
|
# expect(5).to satisfy("be greater than 3") { |n| n > 3 }
|
||||||
# @param description [String] optional description to be used for this matcher.
|
# @param description [String] optional description to be used for this matcher.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def satisfying(*args, **_arg1, &block); end
|
def satisfying(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Matches if the actual value starts with the expected value(s). In the
|
# Matches if the actual value starts with the expected value(s). In the
|
||||||
@ -2983,7 +2957,7 @@ module RSpec::Matchers
|
|||||||
# expect([0, 1, 2, 3, 4]).to start_with 0
|
# expect([0, 1, 2, 3, 4]).to start_with 0
|
||||||
# expect([0, 2, 3, 4, 4]).to start_with 0, 1
|
# expect([0, 2, 3, 4, 4]).to start_with 0, 1
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def starting_with(*args, **_arg1, &block); end
|
def starting_with(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given no argument, matches if a proc throws any Symbol.
|
# Given no argument, matches if a proc throws any Symbol.
|
||||||
@ -3021,7 +2995,7 @@ module RSpec::Matchers
|
|||||||
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky)
|
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky)
|
||||||
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky, 'culprit')
|
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky, 'culprit')
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def throwing(*args, **_arg1, &block); end
|
def throwing(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if actual == expected +/- delta
|
# Passes if actual == expected +/- delta
|
||||||
@ -3030,7 +3004,7 @@ module RSpec::Matchers
|
|||||||
# expect(result).to be_within(0.5).of(3.0)
|
# expect(result).to be_within(0.5).of(3.0)
|
||||||
# expect(result).not_to be_within(0.5).of(3.0)
|
# expect(result).not_to be_within(0.5).of(3.0)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def within(*args, **_arg1, &block); end
|
def within(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if the method called in the expect block yields, regardless
|
# Passes if the method called in the expect block yields, regardless
|
||||||
@ -3114,7 +3088,7 @@ module RSpec::Matchers
|
|||||||
# @note Your expect block must accept a parameter and pass it on to
|
# @note Your expect block must accept a parameter and pass it on to
|
||||||
# the method-under-test as a block.
|
# the method-under-test as a block.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def yielding_control(*args, **_arg1, &block); end
|
def yielding_control(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Designed for use with methods that repeatedly yield (such as
|
# Designed for use with methods that repeatedly yield (such as
|
||||||
@ -3132,7 +3106,7 @@ module RSpec::Matchers
|
|||||||
# @note Your expect block must accept a parameter and pass it on to
|
# @note Your expect block must accept a parameter and pass it on to
|
||||||
# the method-under-test as a block.
|
# the method-under-test as a block.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def yielding_successive_args(*args, **_arg1, &block); end
|
def yielding_successive_args(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Given no arguments, matches if the method called in the expect
|
# Given no arguments, matches if the method called in the expect
|
||||||
@ -3159,7 +3133,7 @@ module RSpec::Matchers
|
|||||||
# @note This matcher is not designed for use with methods that yield
|
# @note This matcher is not designed for use with methods that yield
|
||||||
# multiple times.
|
# multiple times.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def yielding_with_args(*args, **_arg1, &block); end
|
def yielding_with_args(*args, **_arg1, &block); end
|
||||||
|
|
||||||
# Passes if the method called in the expect block yields with
|
# Passes if the method called in the expect block yields with
|
||||||
@ -3174,7 +3148,7 @@ module RSpec::Matchers
|
|||||||
# @note This matcher is not designed for use with methods that yield
|
# @note This matcher is not designed for use with methods that yield
|
||||||
# multiple times.
|
# multiple times.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#38
|
# source://rspec-expectations//lib/rspec/matchers.rb#251
|
||||||
def yielding_with_no_args(*args, **_arg1, &block); end
|
def yielding_with_no_args(*args, **_arg1, &block); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -3693,7 +3667,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#138
|
# source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#141
|
||||||
def improve_hash_formatting(inspect_string); end
|
def improve_hash_formatting(inspect_string); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3731,7 +3705,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::StringEncodingFormatting
|
|||||||
# @param _value [String]
|
# @param _value [String]
|
||||||
# @return [nil] nil as the curent Ruby version does not support String encoding
|
# @return [nil] nil as the curent Ruby version does not support String encoding
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#172
|
# source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#186
|
||||||
def format_encoding(value); end
|
def format_encoding(value); end
|
||||||
|
|
||||||
# :nocov:
|
# :nocov:
|
||||||
@ -3739,7 +3713,7 @@ module RSpec::Matchers::BuiltIn::BaseMatcher::StringEncodingFormatting
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean] False always as the curent Ruby version does not support String encoding
|
# @return [Boolean] False always as the curent Ruby version does not support String encoding
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#153
|
# source://rspec-expectations//lib/rspec/matchers/built_in/base_matcher.rb#165
|
||||||
def string_encoding_differs?; end
|
def string_encoding_differs?; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -5074,45 +5048,61 @@ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < ::
|
|||||||
# Returns the value of attribute indeterminate_actual_indexes
|
# Returns the value of attribute indeterminate_actual_indexes
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of indeterminate_actual_indexes
|
# @return [Object] the current value of indeterminate_actual_indexes
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def indeterminate_actual_indexes; end
|
def indeterminate_actual_indexes; end
|
||||||
|
|
||||||
# Sets the attribute indeterminate_actual_indexes
|
# Sets the attribute indeterminate_actual_indexes
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute indeterminate_actual_indexes to.
|
# @param value [Object] the value to set the attribute indeterminate_actual_indexes to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def indeterminate_actual_indexes=(_); end
|
def indeterminate_actual_indexes=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute indeterminate_expected_indexes
|
# Returns the value of attribute indeterminate_expected_indexes
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of indeterminate_expected_indexes
|
# @return [Object] the current value of indeterminate_expected_indexes
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def indeterminate_expected_indexes; end
|
def indeterminate_expected_indexes; end
|
||||||
|
|
||||||
# Sets the attribute indeterminate_expected_indexes
|
# Sets the attribute indeterminate_expected_indexes
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute indeterminate_expected_indexes to.
|
# @param value [Object] the value to set the attribute indeterminate_expected_indexes to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def indeterminate_expected_indexes=(_); end
|
def indeterminate_expected_indexes=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute unmatched_actual_indexes
|
# Returns the value of attribute unmatched_actual_indexes
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of unmatched_actual_indexes
|
# @return [Object] the current value of unmatched_actual_indexes
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def unmatched_actual_indexes; end
|
def unmatched_actual_indexes; end
|
||||||
|
|
||||||
# Sets the attribute unmatched_actual_indexes
|
# Sets the attribute unmatched_actual_indexes
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute unmatched_actual_indexes to.
|
# @param value [Object] the value to set the attribute unmatched_actual_indexes to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def unmatched_actual_indexes=(_); end
|
def unmatched_actual_indexes=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute unmatched_expected_indexes
|
# Returns the value of attribute unmatched_expected_indexes
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of unmatched_expected_indexes
|
# @return [Object] the current value of unmatched_expected_indexes
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def unmatched_expected_indexes; end
|
def unmatched_expected_indexes; end
|
||||||
|
|
||||||
# Sets the attribute unmatched_expected_indexes
|
# Sets the attribute unmatched_expected_indexes
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute unmatched_expected_indexes to.
|
# @param value [Object] the value to set the attribute unmatched_expected_indexes to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def unmatched_expected_indexes=(_); end
|
def unmatched_expected_indexes=(_); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -5127,10 +5117,19 @@ class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < ::
|
|||||||
def worse_than?(other); end
|
def worse_than?(other); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/built_in/contain_exactly.rb#190
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -6510,7 +6509,7 @@ class RSpec::Matchers::BuiltIn::RespondTo < ::RSpec::Matchers::BuiltIn::BaseMatc
|
|||||||
# @example
|
# @example
|
||||||
# expect(obj).to respond_to(:message).with_any_keywords
|
# expect(obj).to respond_to(:message).with_any_keywords
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#48
|
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#52
|
||||||
def and_any_keywords; end
|
def and_any_keywords; end
|
||||||
|
|
||||||
# Specifies keyword arguments, if any.
|
# Specifies keyword arguments, if any.
|
||||||
@ -6521,7 +6520,7 @@ class RSpec::Matchers::BuiltIn::RespondTo < ::RSpec::Matchers::BuiltIn::BaseMatc
|
|||||||
# @example with an expected number of arguments
|
# @example with an expected number of arguments
|
||||||
# expect(obj).to respond_to(:message).with(3).arguments.and_keywords(:color, :shape)
|
# expect(obj).to respond_to(:message).with(3).arguments.and_keywords(:color, :shape)
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#36
|
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#40
|
||||||
def and_keywords(*keywords); end
|
def and_keywords(*keywords); end
|
||||||
|
|
||||||
# Specifies that the number of arguments has no upper limit, i.e. the
|
# Specifies that the number of arguments has no upper limit, i.e. the
|
||||||
@ -6531,7 +6530,7 @@ class RSpec::Matchers::BuiltIn::RespondTo < ::RSpec::Matchers::BuiltIn::BaseMatc
|
|||||||
# @example
|
# @example
|
||||||
# expect(obj).to respond_to(:message).with_unlimited_arguments
|
# expect(obj).to respond_to(:message).with_unlimited_arguments
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#60
|
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#64
|
||||||
def and_unlimited_arguments; end
|
def and_unlimited_arguments; end
|
||||||
|
|
||||||
# No-op. Intended to be used as syntactic sugar when using `with`.
|
# No-op. Intended to be used as syntactic sugar when using `with`.
|
||||||
@ -6549,7 +6548,7 @@ class RSpec::Matchers::BuiltIn::RespondTo < ::RSpec::Matchers::BuiltIn::BaseMatc
|
|||||||
# @example
|
# @example
|
||||||
# expect(obj).to respond_to(:message).with(3).arguments
|
# expect(obj).to respond_to(:message).with(3).arguments
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#71
|
# source://rspec-expectations//lib/rspec/matchers/built_in/respond_to.rb#74
|
||||||
def arguments; end
|
def arguments; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -7372,7 +7371,7 @@ module RSpec::Matchers::Composable
|
|||||||
# @note The negative form (`expect(...).not_to matcher.and other`)
|
# @note The negative form (`expect(...).not_to matcher.and other`)
|
||||||
# is not supported at this time.
|
# is not supported at this time.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/composable.rb#22
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#25
|
||||||
def &(matcher); end
|
def &(matcher); end
|
||||||
|
|
||||||
# Delegates to `#matches?`. Allows matchers to be used in composable
|
# Delegates to `#matches?`. Allows matchers to be used in composable
|
||||||
@ -7425,7 +7424,7 @@ module RSpec::Matchers::Composable
|
|||||||
# @note The negative form (`expect(...).not_to matcher.or other`)
|
# @note The negative form (`expect(...).not_to matcher.or other`)
|
||||||
# is not supported at this time.
|
# is not supported at this time.
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/composable.rb#38
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#41
|
||||||
def |(matcher); end
|
def |(matcher); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -7522,7 +7521,7 @@ module RSpec::Matchers::Composable
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/composable.rb#142
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#154
|
||||||
def should_enumerate?(item); end
|
def should_enumerate?(item); end
|
||||||
|
|
||||||
# Transforms the given data structure (typically a hash or array)
|
# Transforms the given data structure (typically a hash or array)
|
||||||
@ -7538,13 +7537,13 @@ module RSpec::Matchers::Composable
|
|||||||
#
|
#
|
||||||
# @api public
|
# @api public
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/composable.rb#98
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#154
|
||||||
def surface_descriptions_in(item); end
|
def surface_descriptions_in(item); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/composable.rb#147
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#154
|
||||||
def unreadable_io?(object); end
|
def unreadable_io?(object); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -7565,12 +7564,16 @@ class RSpec::Matchers::Composable::DescribableItem < ::Struct
|
|||||||
# Returns the value of attribute item
|
# Returns the value of attribute item
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of item
|
# @return [Object] the current value of item
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#158
|
||||||
def item; end
|
def item; end
|
||||||
|
|
||||||
# Sets the attribute item
|
# Sets the attribute item
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute item to.
|
# @param value [Object] the value to set the attribute item to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#158
|
||||||
def item=(_); end
|
def item=(_); end
|
||||||
|
|
||||||
# A pretty printed version of the item description.
|
# A pretty printed version of the item description.
|
||||||
@ -7581,10 +7584,19 @@ class RSpec::Matchers::Composable::DescribableItem < ::Struct
|
|||||||
def pretty_print(pp); end
|
def pretty_print(pp); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#158
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#158
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#158
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#158
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rspec-expectations//lib/rspec/matchers/composable.rb#158
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -7659,7 +7671,7 @@ module RSpec::Matchers::DSL
|
|||||||
# When args are passed to your matcher, they will be yielded here,
|
# When args are passed to your matcher, they will be yielded here,
|
||||||
# usually representing the expected value(s).
|
# usually representing the expected value(s).
|
||||||
#
|
#
|
||||||
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#73
|
# source://rspec-expectations//lib/rspec/matchers/dsl.rb#79
|
||||||
def matcher(name, &declarations); end
|
def matcher(name, &declarations); end
|
||||||
|
|
||||||
private
|
private
|
@ -8,74 +8,6 @@
|
|||||||
# source://rspec-support//lib/rspec/support.rb#3
|
# source://rspec-support//lib/rspec/support.rb#3
|
||||||
module RSpec
|
module RSpec
|
||||||
extend ::RSpec::Support::Warnings
|
extend ::RSpec::Support::Warnings
|
||||||
|
|
||||||
class << self
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#70
|
|
||||||
def clear_examples; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#85
|
|
||||||
def configuration; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
|
|
||||||
def configuration=(_arg0); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#97
|
|
||||||
def configure; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#194
|
|
||||||
def const_missing(name); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def context(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#122
|
|
||||||
def current_example; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#128
|
|
||||||
def current_example=(example); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#154
|
|
||||||
def current_scope; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#134
|
|
||||||
def current_scope=(scope); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def describe(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def example_group(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def fcontext(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def fdescribe(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#58
|
|
||||||
def reset; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
|
|
||||||
def shared_context(name, *args, &block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
|
|
||||||
def shared_examples(name, *args, &block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/shared_example_group.rb#110
|
|
||||||
def shared_examples_for(name, *args, &block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#160
|
|
||||||
def world; end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core.rb#49
|
|
||||||
def world=(_arg0); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def xcontext(*args, &example_group_block); end
|
|
||||||
|
|
||||||
# source://rspec-core/3.13.3/lib/rspec/core/dsl.rb#42
|
|
||||||
def xdescribe(*args, &example_group_block); end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Consistent implementation for "cleaning" the caller method to strip out
|
# Consistent implementation for "cleaning" the caller method to strip out
|
||||||
@ -185,18 +117,6 @@ module RSpec::Support
|
|||||||
# source://rspec-support//lib/rspec/support/matcher_definition.rb#16
|
# source://rspec-support//lib/rspec/support/matcher_definition.rb#16
|
||||||
def register_matcher_definition(&block); end
|
def register_matcher_definition(&block); end
|
||||||
|
|
||||||
# source://rspec-support//lib/rspec/support.rb#25
|
|
||||||
def require_rspec_core(f); end
|
|
||||||
|
|
||||||
# source://rspec-support//lib/rspec/support.rb#25
|
|
||||||
def require_rspec_expectations(f); end
|
|
||||||
|
|
||||||
# source://rspec-support//lib/rspec/support.rb#25
|
|
||||||
def require_rspec_matchers(f); end
|
|
||||||
|
|
||||||
# source://rspec-support//lib/rspec/support.rb#25
|
|
||||||
def require_rspec_mocks(f); end
|
|
||||||
|
|
||||||
# source://rspec-support//lib/rspec/support.rb#25
|
# source://rspec-support//lib/rspec/support.rb#25
|
||||||
def require_rspec_support(f); end
|
def require_rspec_support(f); end
|
||||||
|
|
||||||
@ -467,7 +387,7 @@ class RSpec::Support::EncodedString
|
|||||||
# source://rspec-support//lib/rspec/support/encoded_string.rb#46
|
# source://rspec-support//lib/rspec/support/encoded_string.rb#46
|
||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
# source://rspec-support//lib/rspec/support/encoded_string.rb#46
|
# source://rspec-support//lib/rspec/support/encoded_string.rb#49
|
||||||
def to_str; end
|
def to_str; end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -1055,12 +975,16 @@ class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
|
|||||||
# Returns the value of attribute formatter
|
# Returns the value of attribute formatter
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of formatter
|
# @return [Object] the current value of formatter
|
||||||
|
#
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def formatter; end
|
def formatter; end
|
||||||
|
|
||||||
# Sets the attribute formatter
|
# Sets the attribute formatter
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute formatter to.
|
# @param value [Object] the value to set the attribute formatter to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def formatter=(_); end
|
def formatter=(_); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -1072,12 +996,16 @@ class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
|
|||||||
# Returns the value of attribute object
|
# Returns the value of attribute object
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of object
|
# @return [Object] the current value of object
|
||||||
|
#
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def object; end
|
def object; end
|
||||||
|
|
||||||
# Sets the attribute object
|
# Sets the attribute object
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute object to.
|
# @param value [Object] the value to set the attribute object to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def object=(_); end
|
def object=(_); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -1086,6 +1014,7 @@ class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
|
|||||||
def pretty_print(pp); end
|
def pretty_print(pp); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -1095,9 +1024,16 @@ class RSpec::Support::ObjectFormatter::BaseInspector < ::Struct
|
|||||||
# source://rspec-support//lib/rspec/support/object_formatter.rb#130
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#130
|
||||||
def can_inspect?(_object); end
|
def can_inspect?(_object); end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#129
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1209,19 +1145,32 @@ class RSpec::Support::ObjectFormatter::InspectableItem < ::Struct
|
|||||||
# Returns the value of attribute text
|
# Returns the value of attribute text
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of text
|
# @return [Object] the current value of text
|
||||||
|
#
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#119
|
||||||
def text; end
|
def text; end
|
||||||
|
|
||||||
# Sets the attribute text
|
# Sets the attribute text
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute text to.
|
# @param value [Object] the value to set the attribute text to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#119
|
||||||
def text=(_); end
|
def text=(_); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#119
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#119
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#119
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#119
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rspec-support//lib/rspec/support/object_formatter.rb#119
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
File diff suppressed because it is too large
Load Diff
@ -381,19 +381,32 @@ class RuboCop::CLI::Command::ShowCops::ExactMatcher < ::Struct
|
|||||||
# Returns the value of attribute pattern
|
# Returns the value of attribute pattern
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of pattern
|
# @return [Object] the current value of pattern
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12
|
||||||
def pattern; end
|
def pattern; end
|
||||||
|
|
||||||
# Sets the attribute pattern
|
# Sets the attribute pattern
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute pattern to.
|
# @param value [Object] the value to set the attribute pattern to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12
|
||||||
def pattern=(_); end
|
def pattern=(_); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -408,19 +421,32 @@ class RuboCop::CLI::Command::ShowCops::WildcardMatcher < ::Struct
|
|||||||
# Returns the value of attribute pattern
|
# Returns the value of attribute pattern
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of pattern
|
# @return [Object] the current value of pattern
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18
|
||||||
def pattern; end
|
def pattern; end
|
||||||
|
|
||||||
# Sets the attribute pattern
|
# Sets the attribute pattern
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute pattern to.
|
# @param value [Object] the value to set the attribute pattern to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18
|
||||||
def pattern=(_); end
|
def pattern=(_); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -603,10 +629,10 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#31
|
# source://rubocop//lib/rubocop/config.rb#31
|
||||||
def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end
|
def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def [](*_arg0, **_arg1, &_arg2); end
|
def [](*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def []=(*_arg0, **_arg1, &_arg2); end
|
def []=(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -650,13 +676,13 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#200
|
# source://rubocop//lib/rubocop/config.rb#200
|
||||||
def cop_enabled?(name); end
|
def cop_enabled?(name); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def delete(*_arg0, **_arg1, &_arg2); end
|
def delete(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#139
|
# source://rubocop//lib/rubocop/config.rb#139
|
||||||
def deprecation_check; end
|
def deprecation_check; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def dig(*_arg0, **_arg1, &_arg2); end
|
def dig(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -664,10 +690,10 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#204
|
# source://rubocop//lib/rubocop/config.rb#204
|
||||||
def disabled_new_cops?; end
|
def disabled_new_cops?; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def each(*_arg0, **_arg1, &_arg2); end
|
def each(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def each_key(*_arg0, **_arg1, &_arg2); end
|
def each_key(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -675,7 +701,7 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#208
|
# source://rubocop//lib/rubocop/config.rb#208
|
||||||
def enabled_new_cops?; end
|
def enabled_new_cops?; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def fetch(*_arg0, **_arg1, &_arg2); end
|
def fetch(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -737,10 +763,10 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#110
|
# source://rubocop//lib/rubocop/config.rb#110
|
||||||
def internal?; end
|
def internal?; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def key?(*_arg0, **_arg1, &_arg2); end
|
def key?(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def keys(*_arg0, **_arg1, &_arg2); end
|
def keys(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#81
|
# source://rubocop//lib/rubocop/config.rb#81
|
||||||
@ -757,10 +783,10 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#115
|
# source://rubocop//lib/rubocop/config.rb#115
|
||||||
def make_excludes_absolute; end
|
def make_excludes_absolute; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def map(*_arg0, **_arg1, &_arg2); end
|
def map(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def merge(*_arg0, **_arg1, &_arg2); end
|
def merge(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#293
|
# source://rubocop//lib/rubocop/config.rb#293
|
||||||
@ -786,7 +812,7 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#253
|
# source://rubocop//lib/rubocop/config.rb#253
|
||||||
def possibly_include_hidden?; end
|
def possibly_include_hidden?; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def replace(*_arg0, **_arg1, &_arg2); end
|
def replace(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#105
|
# source://rubocop//lib/rubocop/config.rb#105
|
||||||
@ -803,22 +829,22 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#297
|
# source://rubocop//lib/rubocop/config.rb#297
|
||||||
def target_rails_version; end
|
def target_rails_version; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#99
|
||||||
def target_ruby_version(*_arg0, **_arg1, &_arg2); end
|
def target_ruby_version(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def to_h(*_arg0, **_arg1, &_arg2); end
|
def to_h(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def to_hash(*_arg0, **_arg1, &_arg2); end
|
def to_hash(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#101
|
# source://rubocop//lib/rubocop/config.rb#101
|
||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#97
|
||||||
def transform_values(*_arg0, **_arg1, &_arg2); end
|
def transform_values(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config.rb#99
|
||||||
def validate(*_arg0, **_arg1, &_arg2); end
|
def validate(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#92
|
# source://rubocop//lib/rubocop/config.rb#92
|
||||||
@ -863,30 +889,47 @@ class RuboCop::Config::CopConfig < ::Struct
|
|||||||
# Returns the value of attribute metadata
|
# Returns the value of attribute metadata
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of metadata
|
# @return [Object] the current value of metadata
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def metadata; end
|
def metadata; end
|
||||||
|
|
||||||
# Sets the attribute metadata
|
# Sets the attribute metadata
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute metadata to.
|
# @param value [Object] the value to set the attribute metadata to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def metadata=(_); end
|
def metadata=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute name
|
# Returns the value of attribute name
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of name
|
# @return [Object] the current value of name
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
# Sets the attribute name
|
# Sets the attribute name
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute name to.
|
# @param value [Object] the value to set the attribute name to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def name=(_); end
|
def name=(_); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#17
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1014,7 +1057,7 @@ class RuboCop::ConfigLoader
|
|||||||
|
|
||||||
# Returns the value of attribute debug.
|
# 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
|
def debug?; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config_loader.rb#162
|
# source://rubocop//lib/rubocop/config_loader.rb#162
|
||||||
@ -1065,7 +1108,7 @@ class RuboCop::ConfigLoader
|
|||||||
|
|
||||||
# Returns the value of attribute ignore_parent_exclusion.
|
# 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
|
def ignore_parent_exclusion?; end
|
||||||
|
|
||||||
# Returns the value of attribute ignore_unrecognized_cops.
|
# Returns the value of attribute ignore_unrecognized_cops.
|
||||||
@ -1851,7 +1894,7 @@ class RuboCop::ConfigStore
|
|||||||
|
|
||||||
# Returns the value of attribute validated.
|
# 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
|
def validated?; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1863,10 +1906,10 @@ class RuboCop::ConfigValidator
|
|||||||
# source://rubocop//lib/rubocop/config_validator.rb#28
|
# source://rubocop//lib/rubocop/config_validator.rb#28
|
||||||
def initialize(config); end
|
def initialize(config); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config_validator.rb#26
|
||||||
def for_all_cops(*_arg0, **_arg1, &_arg2); end
|
def for_all_cops(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop-ast/1.44.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19
|
# source://rubocop//lib/rubocop/config_validator.rb#26
|
||||||
def smart_loaded_path(*_arg0, **_arg1, &_arg2); end
|
def smart_loaded_path(*_arg0, **_arg1, &_arg2); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config_validator.rb#65
|
# source://rubocop//lib/rubocop/config_validator.rb#65
|
||||||
@ -2082,19 +2125,32 @@ module RuboCop::Cop::AutocorrectLogic
|
|||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#51
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#51
|
||||||
def disable_offense(offense_range); end
|
def disable_offense(offense_range); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#135
|
|
||||||
def disable_offense_at_end_of_line(range, eol_comment); end
|
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#139
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#139
|
||||||
|
def disable_offense_at_end_of_line(range); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#147
|
||||||
def disable_offense_before_and_after(range_by_lines); end
|
def disable_offense_before_and_after(range_by_lines); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#77
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#77
|
||||||
def disable_offense_with_eol_or_surround_comment(range); end
|
def disable_offense_with_eol_or_surround_comment(range); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#96
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#143
|
||||||
|
def eol_comment; end
|
||||||
|
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#85
|
||||||
|
def eol_comment_would_be_inside_literal?(offense_range, literal_range); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#100
|
||||||
def heredoc_range(node); end
|
def heredoc_range(node); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#131
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#92
|
||||||
|
def line_with_eol_comment_too_long?(range); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#135
|
||||||
def max_line_length; end
|
def max_line_length; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#63
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#63
|
||||||
@ -2102,36 +2158,31 @@ module RuboCop::Cop::AutocorrectLogic
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#108
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#112
|
||||||
def multiline_string?(node); end
|
def multiline_string?(node); end
|
||||||
|
|
||||||
# Expand the given range to include all of any lines it covers. Does not
|
# Expand the given range to include all of any lines it covers. Does not
|
||||||
# include newline at end of the last line.
|
# include newline at end of the last line.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#121
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#125
|
||||||
def range_by_lines(range); end
|
def range_by_lines(range); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#112
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#116
|
||||||
def range_of_first_line(range); end
|
def range_of_first_line(range); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#88
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#108
|
||||||
def range_overlaps_offense?(offense_range, range); end
|
|
||||||
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#104
|
|
||||||
def string_continuation?(node); end
|
def string_continuation?(node); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#92
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#96
|
||||||
def surrounding_heredoc?(node); end
|
def surrounding_heredoc?(node); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#100
|
# source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#104
|
||||||
def surrounding_percent_array?(node); end
|
def surrounding_percent_array?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -2246,7 +2297,7 @@ class RuboCop::Cop::Base
|
|||||||
# source://rubocop//lib/rubocop/cop/base.rb#183
|
# source://rubocop//lib/rubocop/cop/base.rb#183
|
||||||
def message(_range = T.unsafe(nil)); end
|
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
|
def name; end
|
||||||
|
|
||||||
# @deprecated Make potential errors with previous API more obvious
|
# @deprecated Make potential errors with previous API more obvious
|
||||||
@ -2520,52 +2571,77 @@ class RuboCop::Cop::Base::InvestigationReport < ::Struct
|
|||||||
# Returns the value of attribute cop
|
# Returns the value of attribute cop
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of cop
|
# @return [Object] the current value of cop
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def cop; end
|
def cop; end
|
||||||
|
|
||||||
# Sets the attribute cop
|
# Sets the attribute cop
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute cop to.
|
# @param value [Object] the value to set the attribute cop to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def cop=(_); end
|
def cop=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute corrector
|
# Returns the value of attribute corrector
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of corrector
|
# @return [Object] the current value of corrector
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def corrector; end
|
def corrector; end
|
||||||
|
|
||||||
# Sets the attribute corrector
|
# Sets the attribute corrector
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute corrector to.
|
# @param value [Object] the value to set the attribute corrector to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def corrector=(_); end
|
def corrector=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute offenses
|
# Returns the value of attribute offenses
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of offenses
|
# @return [Object] the current value of offenses
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def offenses; end
|
def offenses; end
|
||||||
|
|
||||||
# Sets the attribute offenses
|
# Sets the attribute offenses
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute offenses to.
|
# @param value [Object] the value to set the attribute offenses to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def offenses=(_); end
|
def offenses=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute processed_source
|
# Returns the value of attribute processed_source
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of processed_source
|
# @return [Object] the current value of processed_source
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def processed_source; end
|
def processed_source; end
|
||||||
|
|
||||||
# Sets the attribute processed_source
|
# Sets the attribute processed_source
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute processed_source to.
|
# @param value [Object] the value to set the attribute processed_source to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def processed_source=(_); end
|
def processed_source=(_); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#48
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2735,7 +2811,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter
|
|||||||
|
|
||||||
# Legacy
|
# Legacy
|
||||||
#
|
#
|
||||||
# source://parser/3.3.8.0/lib/parser/source/tree_rewriter.rb#252
|
# source://rubocop//lib/rubocop/cop/corrector.rb#45
|
||||||
def rewrite; end
|
def rewrite; end
|
||||||
|
|
||||||
# Swaps sources at the given ranges.
|
# Swaps sources at the given ranges.
|
||||||
@ -2785,6 +2861,8 @@ RuboCop::Cop::Gemspec::AddRuntimeDependency::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
RuboCop::Cop::Gemspec::AddRuntimeDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Gemspec::AddRuntimeDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
|
RuboCop::Cop::Gemspec::AttributeAssignment::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Gemspec::DependencyVersion::ADD_DEPENDENCY_METHODS = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Gemspec::DependencyVersion::ADD_DEPENDENCY_METHODS = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
RuboCop::Cop::Gemspec::DependencyVersion::FORBIDDEN_MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Gemspec::DependencyVersion::FORBIDDEN_MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -3343,6 +3421,8 @@ RuboCop::Cop::Lint::FloatComparison::FLOAT_INSTANCE_METHODS = T.let(T.unsafe(nil
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::FloatComparison::FLOAT_RETURNING_METHODS = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Lint::FloatComparison::FLOAT_RETURNING_METHODS = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::FloatComparison::MSG_CASE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::FloatComparison::MSG_EQUALITY = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::FloatComparison::MSG_EQUALITY = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::FloatComparison::MSG_INEQUALITY = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::FloatComparison::MSG_INEQUALITY = T.let(T.unsafe(nil), String)
|
||||||
@ -3739,6 +3819,10 @@ RuboCop::Cop::Lint::UselessAssignment::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::UselessConstantScoping::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::UselessConstantScoping::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::UselessDefaultValueArgument::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::UselessDefaultValueArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::UselessDefined::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::UselessDefined::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::UselessDefined::TYPES = T.let(T.unsafe(nil), Hash)
|
RuboCop::Cop::Lint::UselessDefined::TYPES = T.let(T.unsafe(nil), Hash)
|
||||||
@ -3751,6 +3835,10 @@ RuboCop::Cop::Lint::UselessNumericOperation::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::UselessNumericOperation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Lint::UselessNumericOperation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::UselessOr::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::UselessOr::TRUTHY_RETURN_VALUE_METHODS = T.let(T.unsafe(nil), Set)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::UselessRescue::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::UselessRescue::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::UselessRuby2Keywords::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::UselessRuby2Keywords::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -3910,6 +3998,10 @@ RuboCop::Cop::Naming::MethodName::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
RuboCop::Cop::Naming::MethodName::MSG_FORBIDDEN = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Naming::MethodName::MSG_FORBIDDEN = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Naming::PredicateMethod::MSG_NON_PREDICATE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Naming::PredicateMethod::MSG_PREDICATE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Naming::VariableName::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Naming::VariableName::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -4003,7 +4095,7 @@ class RuboCop::Cop::Offense
|
|||||||
# @api public
|
# @api public
|
||||||
# @return [Boolean] returns `true` if two offenses contain same attributes
|
# @return [Boolean] returns `true` if two offenses contain same attributes
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/offense.rb#210
|
# source://rubocop//lib/rubocop/cop/offense.rb#216
|
||||||
def eql?(other); end
|
def eql?(other); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -4091,23 +4183,31 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct
|
|||||||
# Returns the value of attribute begin_pos
|
# Returns the value of attribute begin_pos
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of begin_pos
|
# @return [Object] the current value of begin_pos
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def begin_pos; end
|
def begin_pos; end
|
||||||
|
|
||||||
# Sets the attribute begin_pos
|
# Sets the attribute begin_pos
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute begin_pos to.
|
# @param value [Object] the value to set the attribute begin_pos to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def begin_pos=(_); end
|
def begin_pos=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute column
|
# Returns the value of attribute column
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of column
|
# @return [Object] the current value of column
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def column; end
|
def column; end
|
||||||
|
|
||||||
# Sets the attribute column
|
# Sets the attribute column
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute column to.
|
# @param value [Object] the value to set the attribute column to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def column=(_); end
|
def column=(_); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/offense.rb#69
|
# source://rubocop//lib/rubocop/cop/offense.rb#69
|
||||||
@ -4116,41 +4216,55 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct
|
|||||||
# Returns the value of attribute end_pos
|
# Returns the value of attribute end_pos
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of end_pos
|
# @return [Object] the current value of end_pos
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def end_pos; end
|
def end_pos; end
|
||||||
|
|
||||||
# Sets the attribute end_pos
|
# Sets the attribute end_pos
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute end_pos to.
|
# @param value [Object] the value to set the attribute end_pos to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def end_pos=(_); end
|
def end_pos=(_); end
|
||||||
|
|
||||||
# Returns the value of attribute line
|
# Returns the value of attribute line
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of line
|
# @return [Object] the current value of line
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#65
|
||||||
def first_line; end
|
def first_line; end
|
||||||
|
|
||||||
# Returns the value of attribute column
|
# Returns the value of attribute column
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of column
|
# @return [Object] the current value of column
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#67
|
||||||
def last_column; end
|
def last_column; end
|
||||||
|
|
||||||
# Returns the value of attribute line
|
# Returns the value of attribute line
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of line
|
# @return [Object] the current value of line
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#66
|
||||||
def last_line; end
|
def last_line; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/offense.rb#73
|
# source://rubocop//lib/rubocop/cop/offense.rb#76
|
||||||
def length; end
|
def length; end
|
||||||
|
|
||||||
# Returns the value of attribute line
|
# Returns the value of attribute line
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of line
|
# @return [Object] the current value of line
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def line; end
|
def line; end
|
||||||
|
|
||||||
# Sets the attribute line
|
# Sets the attribute line
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute line to.
|
# @param value [Object] the value to set the attribute line to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def line=(_); end
|
def line=(_); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/offense.rb#73
|
# source://rubocop//lib/rubocop/cop/offense.rb#73
|
||||||
@ -4159,19 +4273,32 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct
|
|||||||
# Returns the value of attribute source_line
|
# Returns the value of attribute source_line
|
||||||
#
|
#
|
||||||
# @return [Object] the current value of source_line
|
# @return [Object] the current value of source_line
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def source_line; end
|
def source_line; end
|
||||||
|
|
||||||
# Sets the attribute source_line
|
# Sets the attribute source_line
|
||||||
#
|
#
|
||||||
# @param value [Object] the value to set the attribute source_line to.
|
# @param value [Object] the value to set the attribute source_line to.
|
||||||
# @return [Object] the newly set value
|
# @return [Object] the newly set value
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def source_line=(_); end
|
def source_line=(_); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def [](*_arg0); end
|
def [](*_arg0); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def keyword_init?; end
|
def keyword_init?; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def members; end
|
def members; end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/offense.rb#63
|
||||||
def new(*_arg0); end
|
def new(*_arg0); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -4622,6 +4749,12 @@ RuboCop::Cop::Style::CollectionCompact::TO_ENUM_METHODS = T.let(T.unsafe(nil), A
|
|||||||
|
|
||||||
RuboCop::Cop::Style::CollectionMethods::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::CollectionMethods::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::CollectionQuerying::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::CollectionQuerying::REPLACEMENTS = T.let(T.unsafe(nil), Hash)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::CollectionQuerying::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
RuboCop::Cop::Style::ColonMethodCall::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::ColonMethodCall::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::ColonMethodDefinition::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::ColonMethodDefinition::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -4780,6 +4913,10 @@ RuboCop::Cop::Style::EmptyMethod::MSG_COMPACT = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
RuboCop::Cop::Style::EmptyMethod::MSG_EXPANDED = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::EmptyMethod::MSG_EXPANDED = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::EmptyStringInsideInterpolation::MSG_TERNARY = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::EmptyStringInsideInterpolation::MSG_TRAILING_CONDITIONAL = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::Encoding::ENCODING_PATTERN = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Style::Encoding::ENCODING_PATTERN = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
RuboCop::Cop::Style::Encoding::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::Encoding::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -4832,7 +4969,9 @@ RuboCop::Cop::Style::ExplicitBlockArgument::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
RuboCop::Cop::Style::ExponentialNotation::MESSAGES = T.let(T.unsafe(nil), Hash)
|
RuboCop::Cop::Style::ExponentialNotation::MESSAGES = T.let(T.unsafe(nil), Hash)
|
||||||
|
|
||||||
RuboCop::Cop::Style::FetchEnvVar::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::FetchEnvVar::MSG_WITHOUT_NIL = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::FetchEnvVar::MSG_WITH_NIL = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::FetchEnvVar::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::FetchEnvVar::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
@ -4982,9 +5121,11 @@ RuboCop::Cop::Style::IpAddresses::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::ItBlockParameter::MSG_AVOID_IT_BLOCK_PARAMETER = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::ItBlockParameter::MSG_AVOID_IT_PARAMETER = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::ItBlockParameter::MSG_USE_IT_BLOCK_PARAMETER = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::ItBlockParameter::MSG_AVOID_IT_PARAMETER_MULTILINE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::ItBlockParameter::MSG_USE_IT_PARAMETER = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::KeywordArgumentsMerging::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::KeywordArgumentsMerging::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
@ -5056,9 +5197,9 @@ RuboCop::Cop::Style::MethodDefParentheses::MSG_PRESENT = T.let(T.unsafe(nil), St
|
|||||||
|
|
||||||
RuboCop::Cop::Style::MinMax::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::MinMax::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::MinMaxComparison::COMPARISON_OPERATORS = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::MinMaxComparison::COMPARISON_OPERATORS = T.let(T.unsafe(nil), Set)
|
||||||
|
|
||||||
RuboCop::Cop::Style::MinMaxComparison::GRATER_OPERATORS = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::MinMaxComparison::GREATER_OPERATORS = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
RuboCop::Cop::Style::MinMaxComparison::LESS_OPERATORS = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::MinMaxComparison::LESS_OPERATORS = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
@ -5254,6 +5395,10 @@ RuboCop::Cop::Style::RedundantArrayConstructor::MSG = T.let(T.unsafe(nil), Strin
|
|||||||
|
|
||||||
RuboCop::Cop::Style::RedundantArrayConstructor::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::RedundantArrayConstructor::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::RedundantArrayFlatten::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::RedundantArrayFlatten::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
RuboCop::Cop::Style::RedundantAssignment::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::RedundantAssignment::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::RedundantBegin::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::RedundantBegin::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -6407,9 +6552,9 @@ RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(ni
|
|||||||
|
|
||||||
RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String)
|
RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter)
|
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::NullPresenter)
|
||||||
|
|
||||||
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter)
|
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::NullPresenter)
|
||||||
|
|
||||||
RuboCop::Formatter::ProgressFormatter::DOT = T.let(T.unsafe(nil), String)
|
RuboCop::Formatter::ProgressFormatter::DOT = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
@ -6924,13 +7069,13 @@ class RuboCop::Runner
|
|||||||
# source://rubocop//lib/rubocop/runner.rb#56
|
# source://rubocop//lib/rubocop/runner.rb#56
|
||||||
def errors; end
|
def errors; end
|
||||||
|
|
||||||
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#50
|
# source://rubocop//lib/rubocop/runner.rb#248
|
||||||
def file_finished(file, offenses); end
|
def file_finished(file, offenses); end
|
||||||
|
|
||||||
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#44
|
# source://rubocop//lib/rubocop/runner.rb#177
|
||||||
def file_offense_cache(file); end
|
def file_offense_cache(file); end
|
||||||
|
|
||||||
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#36
|
# source://rubocop//lib/rubocop/runner.rb#485
|
||||||
def get_processed_source(*args); end
|
def get_processed_source(*args); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#67
|
# source://rubocop//lib/rubocop/runner.rb#67
|
||||||
@ -7143,7 +7288,7 @@ class RuboCop::TargetFinder
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop-md/2.0.1/lib/rubocop/markdown/rubocop_ext.rb#78
|
# source://rubocop//lib/rubocop/target_finder.rb#154
|
||||||
def ruby_file?(file); end
|
def ruby_file?(file); end
|
||||||
|
|
||||||
# Finds all Ruby source files under the current or other supplied directory. A Ruby source file
|
# Finds all Ruby source files under the current or other supplied directory. A Ruby source file
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,24 +8,25 @@
|
|||||||
# source://vernier//lib/vernier/version.rb#3
|
# source://vernier//lib/vernier/version.rb#3
|
||||||
module Vernier
|
module Vernier
|
||||||
class << self
|
class << self
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def memory_rss; end
|
def memory_rss; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#20
|
# source://vernier//lib/vernier.rb#21
|
||||||
def profile(mode: T.unsafe(nil), **collector_options); end
|
def profile(mode: T.unsafe(nil), **collector_options); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#20
|
# source://vernier//lib/vernier.rb#37
|
||||||
def run(mode: T.unsafe(nil), **collector_options); end
|
def run(mode: T.unsafe(nil), **collector_options); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#41
|
# source://vernier//lib/vernier.rb#42
|
||||||
def start_profile(mode: T.unsafe(nil), **collector_options); end
|
def start_profile(mode: T.unsafe(nil), **collector_options); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#53
|
# source://vernier//lib/vernier.rb#54
|
||||||
def stop_profile; end
|
def stop_profile; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#20
|
# source://vernier//lib/vernier.rb#36
|
||||||
def trace(mode: T.unsafe(nil), **collector_options); end
|
def trace(mode: T.unsafe(nil), **collector_options); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#62
|
# source://vernier//lib/vernier.rb#63
|
||||||
def trace_retained(**profile_options, &block); end
|
def trace_retained(**profile_options, &block); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -37,7 +38,7 @@ class Vernier::Collector
|
|||||||
# source://vernier//lib/vernier/collector.rb#8
|
# source://vernier//lib/vernier/collector.rb#8
|
||||||
def initialize(mode, options = T.unsafe(nil)); end
|
def initialize(mode, options = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/collector.rb#53
|
# source://vernier//lib/vernier/collector.rb#54
|
||||||
def add_marker(name:, start:, finish:, thread: T.unsafe(nil), phase: T.unsafe(nil), data: T.unsafe(nil)); end
|
def add_marker(name:, start:, finish:, thread: T.unsafe(nil), phase: T.unsafe(nil), data: T.unsafe(nil)); end
|
||||||
|
|
||||||
# Get the current time.
|
# Get the current time.
|
||||||
@ -46,38 +47,45 @@ class Vernier::Collector
|
|||||||
# integer nanoseconds. It's the same time used by Vernier internals and
|
# integer nanoseconds. It's the same time used by Vernier internals and
|
||||||
# can be used to generate timestamps for custom markers.
|
# can be used to generate timestamps for custom markers.
|
||||||
#
|
#
|
||||||
# source://vernier//lib/vernier/collector.rb#49
|
# source://vernier//lib/vernier/collector.rb#50
|
||||||
def current_time; end
|
def current_time; end
|
||||||
|
|
||||||
# Record an interval with a category and name. Yields to a block and
|
# Record an interval with a category and name. Yields to a block and
|
||||||
# records the amount of time spent in the block as an interval marker.
|
# records the amount of time spent in the block as an interval marker.
|
||||||
#
|
#
|
||||||
# source://vernier//lib/vernier/collector.rb#65
|
# source://vernier//lib/vernier/collector.rb#66
|
||||||
def record_interval(category, name = T.unsafe(nil)); end
|
def record_interval(category, name = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def sample; end
|
def sample; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def stack_table; end
|
def stack_table; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def start; end
|
def start; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/collector.rb#78
|
# source://vernier//lib/vernier/collector.rb#79
|
||||||
def stop; end
|
def stop; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://vernier//lib/vernier/collector.rb#32
|
# source://vernier//lib/vernier/collector.rb#33
|
||||||
def add_hook(hook); end
|
def add_hook(hook); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def finish; end
|
def finish; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def _new(_arg0, _arg1); end
|
def _new(_arg0, _arg1); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#67
|
# source://vernier//lib/vernier.rb#68
|
||||||
def new(mode, options = T.unsafe(nil)); end
|
def new(mode, options = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://vernier//lib/vernier.rb#16
|
# source://vernier//lib/vernier.rb#17
|
||||||
class Vernier::Error < ::StandardError; end
|
class Vernier::Error < ::StandardError; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/hooks.rb#4
|
# source://vernier//lib/vernier/hooks.rb#4
|
||||||
@ -160,9 +168,16 @@ Vernier::Marker::Type::THREAD_STALLED = T.let(T.unsafe(nil), Integer)
|
|||||||
Vernier::Marker::Type::THREAD_SUSPENDED = T.let(T.unsafe(nil), Integer)
|
Vernier::Marker::Type::THREAD_SUSPENDED = T.let(T.unsafe(nil), Integer)
|
||||||
|
|
||||||
class Vernier::MemoryTracker
|
class Vernier::MemoryTracker
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def record; end
|
def record; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def results; end
|
def results; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def start; end
|
def start; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def stop; end
|
def stop; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -180,6 +195,48 @@ end
|
|||||||
# source://vernier//lib/vernier/output/filename_filter.rb#4
|
# source://vernier//lib/vernier/output/filename_filter.rb#4
|
||||||
module Vernier::Output; end
|
module Vernier::Output; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#5
|
||||||
|
class Vernier::Output::Cpuprofile
|
||||||
|
# @return [Cpuprofile] a new instance of Cpuprofile
|
||||||
|
#
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#6
|
||||||
|
def initialize(profile); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#10
|
||||||
|
def output; end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#53
|
||||||
|
def build_nodes; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#128
|
||||||
|
def calculate_time_deltas(timestamps); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#85
|
||||||
|
def create_node_for_stack(stack_idx, nodes, stack_table); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#22
|
||||||
|
def data; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#43
|
||||||
|
def empty_profile; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#18
|
||||||
|
def ns_to_us(timestamp); end
|
||||||
|
|
||||||
|
# Returns the value of attribute profile.
|
||||||
|
#
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#16
|
||||||
|
def profile; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#70
|
||||||
|
def root_node; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/output/cpuprofile.rb#124
|
||||||
|
def stack_to_node_id(stack_idx); end
|
||||||
|
end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/output/file_listing.rb#8
|
# source://vernier//lib/vernier/output/file_listing.rb#8
|
||||||
class Vernier::Output::FileListing
|
class Vernier::Output::FileListing
|
||||||
# @return [FileListing] a new instance of FileListing
|
# @return [FileListing] a new instance of FileListing
|
||||||
@ -573,13 +630,13 @@ end
|
|||||||
class Vernier::Result
|
class Vernier::Result
|
||||||
# Returns the value of attribute stack_table.
|
# Returns the value of attribute stack_table.
|
||||||
#
|
#
|
||||||
# source://vernier//lib/vernier/result.rb#3
|
# source://vernier//lib/vernier/result.rb#4
|
||||||
def _stack_table; end
|
def _stack_table; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#49
|
# source://vernier//lib/vernier/result.rb#61
|
||||||
def each_sample; end
|
def each_sample; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#41
|
# source://vernier//lib/vernier/result.rb#53
|
||||||
def elapsed_seconds; end
|
def elapsed_seconds; end
|
||||||
|
|
||||||
# Returns the value of attribute end_time.
|
# Returns the value of attribute end_time.
|
||||||
@ -611,7 +668,7 @@ class Vernier::Result
|
|||||||
# source://vernier//lib/vernier/result.rb#8
|
# source://vernier//lib/vernier/result.rb#8
|
||||||
def hooks=(_arg0); end
|
def hooks=(_arg0); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#45
|
# source://vernier//lib/vernier/result.rb#57
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#15
|
# source://vernier//lib/vernier/result.rb#15
|
||||||
@ -659,7 +716,7 @@ class Vernier::Result
|
|||||||
# source://vernier//lib/vernier/result.rb#21
|
# source://vernier//lib/vernier/result.rb#21
|
||||||
def samples; end
|
def samples; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#58
|
# source://vernier//lib/vernier/result.rb#70
|
||||||
def stack(idx); end
|
def stack(idx); end
|
||||||
|
|
||||||
# Returns the value of attribute stack_table.
|
# Returns the value of attribute stack_table.
|
||||||
@ -691,10 +748,16 @@ class Vernier::Result
|
|||||||
# source://vernier//lib/vernier/result.rb#11
|
# source://vernier//lib/vernier/result.rb#11
|
||||||
def threads=(_arg0); end
|
def threads=(_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/result.rb#37
|
||||||
|
def to_cpuprofile; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#32
|
# source://vernier//lib/vernier/result.rb#32
|
||||||
|
def to_firefox(gzip: T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/result.rb#35
|
||||||
def to_gecko(gzip: T.unsafe(nil)); end
|
def to_gecko(gzip: T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#62
|
# source://vernier//lib/vernier/result.rb#74
|
||||||
def total_bytes; end
|
def total_bytes; end
|
||||||
|
|
||||||
# TODO: remove these
|
# TODO: remove these
|
||||||
@ -702,28 +765,52 @@ class Vernier::Result
|
|||||||
# source://vernier//lib/vernier/result.rb#20
|
# source://vernier//lib/vernier/result.rb#20
|
||||||
def weights; end
|
def weights; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/result.rb#36
|
# source://vernier//lib/vernier/result.rb#41
|
||||||
def write(out:); end
|
def write(out:, format: T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/stack_table.rb#4
|
# source://vernier//lib/vernier/stack_table.rb#4
|
||||||
class Vernier::StackTable
|
class Vernier::StackTable
|
||||||
include ::Vernier::StackTableHelpers
|
include ::Vernier::StackTableHelpers
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def convert(_arg0, _arg1); end
|
def convert(_arg0, _arg1); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def current_stack(*_arg0); end
|
def current_stack(*_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def frame_count; end
|
def frame_count; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def frame_func_idx(_arg0); end
|
def frame_func_idx(_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def frame_line_no(_arg0); end
|
def frame_line_no(_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def func_count; end
|
def func_count; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def func_filename(_arg0); end
|
def func_filename(_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def func_first_lineno(_arg0); end
|
def func_first_lineno(_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def func_name(_arg0); end
|
def func_name(_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def stack_count; end
|
def stack_count; end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def stack_frame_idx(_arg0); end
|
def stack_frame_idx(_arg0); end
|
||||||
|
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def stack_parent_idx(_arg0); end
|
def stack_parent_idx(_arg0); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
# source://vernier//lib/vernier/marker.rb#3
|
||||||
def new; end
|
def new; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -781,7 +868,7 @@ class Vernier::StackTableHelpers::Frame < ::Vernier::StackTableHelpers::BaseType
|
|||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#83
|
# source://vernier//lib/vernier/stack_table_helpers.rb#83
|
||||||
def line; end
|
def line; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#74
|
# source://vernier//lib/vernier/stack_table_helpers.rb#76
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#87
|
# source://vernier//lib/vernier/stack_table_helpers.rb#87
|
||||||
@ -796,7 +883,7 @@ class Vernier::StackTableHelpers::Func < ::Vernier::StackTableHelpers::BaseType
|
|||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#59
|
# source://vernier//lib/vernier/stack_table_helpers.rb#59
|
||||||
def label; end
|
def label; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#59
|
# source://vernier//lib/vernier/stack_table_helpers.rb#62
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#68
|
# source://vernier//lib/vernier/stack_table_helpers.rb#68
|
||||||
@ -813,7 +900,7 @@ class Vernier::StackTableHelpers::Stack < ::Vernier::StackTableHelpers::BaseType
|
|||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#93
|
# source://vernier//lib/vernier/stack_table_helpers.rb#93
|
||||||
def each; end
|
def each; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#93
|
# source://vernier//lib/vernier/stack_table_helpers.rb#103
|
||||||
def each_frame; end
|
def each_frame; end
|
||||||
|
|
||||||
# source://vernier//lib/vernier/stack_table_helpers.rb#123
|
# source://vernier//lib/vernier/stack_table_helpers.rb#123
|
Loading…
x
Reference in New Issue
Block a user