sorbet-result 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +17 -17
- data/sorbet/rbi/gems/{parser@3.2.2.0.rbi → parser@3.2.2.1.rbi} +162 -162
- data/sorbet/rbi/gems/{rubocop-ast@1.28.0.rbi → rubocop-ast@1.28.1.rbi} +4 -1
- data/sorbet/rbi/gems/{rubocop-minitest@0.30.0.rbi → rubocop-minitest@0.31.0.rbi} +48 -5
- data/sorbet/rbi/gems/{rubocop@1.50.2.rbi → rubocop@1.51.0.rbi} +495 -326
- data/sorbet/rbi/gems/{tapioca@0.11.5.rbi → tapioca@0.11.6.rbi} +43 -10
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +69 -60
- data/sorbet/rbi/gems/{zeitwerk@2.6.7.rbi → zeitwerk@2.6.8.rbi} +67 -47
- metadata +14 -14
@@ -185,7 +185,7 @@ class RBI::TypedParam < ::T::Struct
|
|
185
185
|
const :type, ::String
|
186
186
|
|
187
187
|
class << self
|
188
|
-
# source://sorbet-runtime/0.5.
|
188
|
+
# source://sorbet-runtime/0.5.10832/lib/types/struct.rb#13
|
189
189
|
def inherited(s); end
|
190
190
|
end
|
191
191
|
end
|
@@ -564,7 +564,7 @@ class Tapioca::Commands::Command
|
|
564
564
|
sig { abstract.void }
|
565
565
|
def execute; end
|
566
566
|
|
567
|
-
# source://thor/1.2.
|
567
|
+
# source://thor/1.2.2/lib/thor/base.rb#139
|
568
568
|
sig { returns(::Thor::Actions) }
|
569
569
|
def file_writer; end
|
570
570
|
|
@@ -589,6 +589,11 @@ class Tapioca::Commands::Command
|
|
589
589
|
# source://tapioca//lib/tapioca/commands/command.rb#56
|
590
590
|
sig { params(path: T.any(::Pathname, ::String), verbose: T::Boolean).void }
|
591
591
|
def remove_file(path, verbose: T.unsafe(nil)); end
|
592
|
+
|
593
|
+
class << self
|
594
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/abstract/declare.rb#37
|
595
|
+
def new(*args, **_arg1, &blk); end
|
596
|
+
end
|
592
597
|
end
|
593
598
|
|
594
599
|
# source://tapioca//lib/tapioca/commands/command.rb#10
|
@@ -606,6 +611,11 @@ class Tapioca::Commands::CommandWithoutTracker < ::Tapioca::Commands::Command
|
|
606
611
|
# source://tapioca//lib/tapioca/commands/command_without_tracker.rb#12
|
607
612
|
sig { void }
|
608
613
|
def initialize; end
|
614
|
+
|
615
|
+
class << self
|
616
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/abstract/declare.rb#37
|
617
|
+
def new(*args, **_arg1, &blk); end
|
618
|
+
end
|
609
619
|
end
|
610
620
|
|
611
621
|
# source://tapioca//lib/tapioca/commands/configure.rb#6
|
@@ -967,7 +977,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|
967
977
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
968
978
|
|
969
979
|
class << self
|
970
|
-
# source://sorbet-runtime/0.5.
|
980
|
+
# source://sorbet-runtime/0.5.10832/lib/types/struct.rb#13
|
971
981
|
def inherited(s); end
|
972
982
|
end
|
973
983
|
end
|
@@ -978,7 +988,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|
978
988
|
const :colors, T::Array[::Symbol]
|
979
989
|
|
980
990
|
class << self
|
981
|
-
# source://sorbet-runtime/0.5.
|
991
|
+
# source://sorbet-runtime/0.5.10832/lib/types/struct.rb#13
|
982
992
|
def inherited(s); end
|
983
993
|
end
|
984
994
|
end
|
@@ -1094,6 +1104,9 @@ class Tapioca::Dsl::Compiler
|
|
1094
1104
|
sig { params(constant: ::Module).returns(T::Boolean) }
|
1095
1105
|
def handles?(constant); end
|
1096
1106
|
|
1107
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/abstract/declare.rb#37
|
1108
|
+
def new(*args, **_arg1, &blk); end
|
1109
|
+
|
1097
1110
|
# source://tapioca//lib/tapioca/dsl/compiler.rb#37
|
1098
1111
|
sig { returns(T::Set[::Module]) }
|
1099
1112
|
def processable_constants; end
|
@@ -1241,6 +1254,12 @@ class Tapioca::Executor
|
|
1241
1254
|
).returns(T::Array[T.type_parameter(:T)])
|
1242
1255
|
end
|
1243
1256
|
def run_in_parallel(&block); end
|
1257
|
+
|
1258
|
+
private
|
1259
|
+
|
1260
|
+
# source://tapioca//lib/tapioca/executor.rb#37
|
1261
|
+
sig { returns(::Integer) }
|
1262
|
+
def max_processors; end
|
1244
1263
|
end
|
1245
1264
|
|
1246
1265
|
# source://tapioca//lib/tapioca/executor.rb#8
|
@@ -1281,8 +1300,10 @@ end
|
|
1281
1300
|
class Tapioca::Gem::Event
|
1282
1301
|
abstract!
|
1283
1302
|
|
1284
|
-
|
1285
|
-
|
1303
|
+
class << self
|
1304
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/abstract/declare.rb#37
|
1305
|
+
def new(*args, **_arg1, &blk); end
|
1306
|
+
end
|
1286
1307
|
end
|
1287
1308
|
|
1288
1309
|
# source://tapioca//lib/tapioca/gem/events.rb#43
|
@@ -1333,6 +1354,11 @@ class Tapioca::Gem::Listeners::Base
|
|
1333
1354
|
# source://tapioca//lib/tapioca/gem/listeners/base.rb#41
|
1334
1355
|
sig { params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
1335
1356
|
def on_scope(event); end
|
1357
|
+
|
1358
|
+
class << self
|
1359
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/abstract/declare.rb#37
|
1360
|
+
def new(*args, **_arg1, &blk); end
|
1361
|
+
end
|
1336
1362
|
end
|
1337
1363
|
|
1338
1364
|
# source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#7
|
@@ -1713,6 +1739,11 @@ class Tapioca::Gem::NodeAdded < ::Tapioca::Gem::Event
|
|
1713
1739
|
# source://tapioca//lib/tapioca/gem/events.rb#64
|
1714
1740
|
sig { returns(::String) }
|
1715
1741
|
def symbol; end
|
1742
|
+
|
1743
|
+
class << self
|
1744
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/abstract/declare.rb#37
|
1745
|
+
def new(*args, **_arg1, &blk); end
|
1746
|
+
end
|
1716
1747
|
end
|
1717
1748
|
|
1718
1749
|
# source://tapioca//lib/tapioca/gem/pipeline.rb#6
|
@@ -2196,9 +2227,6 @@ class Tapioca::Loaders::Loader
|
|
2196
2227
|
|
2197
2228
|
abstract!
|
2198
2229
|
|
2199
|
-
# source://sorbet-runtime/0.5.10792/lib/types/private/abstract/declare.rb#37
|
2200
|
-
def initialize(*args, **_arg1, &blk); end
|
2201
|
-
|
2202
2230
|
# @abstract
|
2203
2231
|
#
|
2204
2232
|
# source://tapioca//lib/tapioca/loaders/loader.rb#17
|
@@ -2264,6 +2292,11 @@ class Tapioca::Loaders::Loader
|
|
2264
2292
|
# source://tapioca//lib/tapioca/loaders/loader.rb#129
|
2265
2293
|
sig { returns(T::Boolean) }
|
2266
2294
|
def zeitwerk_mode?; end
|
2295
|
+
|
2296
|
+
class << self
|
2297
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/abstract/declare.rb#37
|
2298
|
+
def new(*args, **_arg1, &blk); end
|
2299
|
+
end
|
2267
2300
|
end
|
2268
2301
|
|
2269
2302
|
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#5
|
@@ -3088,7 +3121,7 @@ module Tapioca::Static::SymbolLoader
|
|
3088
3121
|
|
3089
3122
|
# @return [Array<T.class_of(Rails::Engine)>]
|
3090
3123
|
#
|
3091
|
-
# source://sorbet-runtime/0.5.
|
3124
|
+
# source://sorbet-runtime/0.5.10832/lib/types/private/methods/_methods.rb#255
|
3092
3125
|
def engines(*args, **_arg1, &blk); end
|
3093
3126
|
|
3094
3127
|
# source://tapioca//lib/tapioca/static/symbol_loader.rb#73
|
@@ -693,7 +693,7 @@ module Thor::Actions
|
|
693
693
|
# flag<Regexp|String>:: the regexp or string to be replaced
|
694
694
|
# replacement<String>:: the replacement, can be also given as a block
|
695
695
|
# config<Hash>:: give :verbose => false to not log the status, and
|
696
|
-
# :force => true, to force the replacement
|
696
|
+
# :force => true, to force the replacement regardless of runner behavior.
|
697
697
|
#
|
698
698
|
# ==== Example
|
699
699
|
#
|
@@ -871,7 +871,7 @@ module Thor::Actions
|
|
871
871
|
# run('ln -s ~/edge rails')
|
872
872
|
# end
|
873
873
|
#
|
874
|
-
# source://thor//lib/thor/actions.rb#
|
874
|
+
# source://thor//lib/thor/actions.rb#249
|
875
875
|
def run(command, config = T.unsafe(nil)); end
|
876
876
|
|
877
877
|
# Executes a ruby script (taking into account WIN32 platform quirks).
|
@@ -880,7 +880,7 @@ module Thor::Actions
|
|
880
880
|
# command<String>:: the command to be executed.
|
881
881
|
# config<Hash>:: give :verbose => false to not log the status.
|
882
882
|
#
|
883
|
-
# source://thor//lib/thor/actions.rb#
|
883
|
+
# source://thor//lib/thor/actions.rb#286
|
884
884
|
def run_ruby_script(command, config = T.unsafe(nil)); end
|
885
885
|
|
886
886
|
# Holds source paths in instance so they can be manipulated.
|
@@ -924,7 +924,7 @@ module Thor::Actions
|
|
924
924
|
# thor :list, :all => true, :substring => 'rails'
|
925
925
|
# #=> thor list --all --substring=rails
|
926
926
|
#
|
927
|
-
# source://thor//lib/thor/actions.rb#
|
927
|
+
# source://thor//lib/thor/actions.rb#309
|
928
928
|
def thor(command, *args); end
|
929
929
|
|
930
930
|
# Uncomment all lines matching a given regex. It will leave the space
|
@@ -945,12 +945,12 @@ module Thor::Actions
|
|
945
945
|
|
946
946
|
protected
|
947
947
|
|
948
|
-
# source://thor//lib/thor/actions.rb#
|
948
|
+
# source://thor//lib/thor/actions.rb#330
|
949
949
|
def _cleanup_options_and_set(options, key); end
|
950
950
|
|
951
951
|
# Allow current root to be shared between invocations.
|
952
952
|
#
|
953
|
-
# source://thor//lib/thor/actions.rb#
|
953
|
+
# source://thor//lib/thor/actions.rb#326
|
954
954
|
def _shared_configuration; end
|
955
955
|
|
956
956
|
private
|
@@ -1297,10 +1297,10 @@ end
|
|
1297
1297
|
# source://thor//lib/thor/actions/inject_into_file.rb#24
|
1298
1298
|
Thor::Actions::WARNINGS = T.let(T.unsafe(nil), Hash)
|
1299
1299
|
|
1300
|
-
# source://thor//lib/thor/error.rb#
|
1300
|
+
# source://thor//lib/thor/error.rb#68
|
1301
1301
|
class Thor::AmbiguousCommandError < ::Thor::Error; end
|
1302
1302
|
|
1303
|
-
# source://thor//lib/thor/error.rb#
|
1303
|
+
# source://thor//lib/thor/error.rb#70
|
1304
1304
|
Thor::AmbiguousTaskError = Thor::AmbiguousCommandError
|
1305
1305
|
|
1306
1306
|
# source://thor//lib/thor/parser/argument.rb#2
|
@@ -1982,12 +1982,12 @@ module Thor::Base::ClassMethods
|
|
1982
1982
|
# SIGNATURE: Sets the baseclass. This is where the superclass lookup
|
1983
1983
|
# finishes.
|
1984
1984
|
#
|
1985
|
-
# source://thor//lib/thor/base.rb#
|
1985
|
+
# source://thor//lib/thor/base.rb#678
|
1986
1986
|
def baseclass; end
|
1987
1987
|
|
1988
1988
|
# The basename of the program invoking the thor class.
|
1989
1989
|
#
|
1990
|
-
# source://thor//lib/thor/base.rb#
|
1990
|
+
# source://thor//lib/thor/base.rb#672
|
1991
1991
|
def basename; end
|
1992
1992
|
|
1993
1993
|
# Build an option and adds it to the given scope.
|
@@ -1997,7 +1997,7 @@ module Thor::Base::ClassMethods
|
|
1997
1997
|
# options<Hash>:: Described in both class_option and method_option.
|
1998
1998
|
# scope<Hash>:: Options hash that is being built up
|
1999
1999
|
#
|
2000
|
-
# source://thor//lib/thor/base.rb#
|
2000
|
+
# source://thor//lib/thor/base.rb#589
|
2001
2001
|
def build_option(name, options, scope); end
|
2002
2002
|
|
2003
2003
|
# Receives a hash of options, parse them and add to the scope. This is a
|
@@ -2008,7 +2008,7 @@ module Thor::Base::ClassMethods
|
|
2008
2008
|
# ==== Parameters
|
2009
2009
|
# Hash[Symbol => Object]
|
2010
2010
|
#
|
2011
|
-
# source://thor//lib/thor/base.rb#
|
2011
|
+
# source://thor//lib/thor/base.rb#600
|
2012
2012
|
def build_options(options, scope); end
|
2013
2013
|
|
2014
2014
|
# Prints the class options per group. If an option does not belong to
|
@@ -2020,65 +2020,65 @@ module Thor::Base::ClassMethods
|
|
2020
2020
|
# SIGNATURE: Creates a new command if valid_command? is true. This method is
|
2021
2021
|
# called when a new method is added to the class.
|
2022
2022
|
#
|
2023
|
-
# source://thor//lib/thor/base.rb#
|
2023
|
+
# source://thor//lib/thor/base.rb#683
|
2024
2024
|
def create_command(meth); end
|
2025
2025
|
|
2026
2026
|
# SIGNATURE: Creates a new command if valid_command? is true. This method is
|
2027
2027
|
# called when a new method is added to the class.
|
2028
2028
|
#
|
2029
|
-
# source://thor//lib/thor/base.rb#
|
2029
|
+
# source://thor//lib/thor/base.rb#683
|
2030
2030
|
def create_task(meth); end
|
2031
2031
|
|
2032
2032
|
# SIGNATURE: The hook invoked by start.
|
2033
2033
|
#
|
2034
2034
|
# @raise [NotImplementedError]
|
2035
2035
|
#
|
2036
|
-
# source://thor//lib/thor/base.rb#
|
2036
|
+
# source://thor//lib/thor/base.rb#693
|
2037
2037
|
def dispatch(command, given_args, given_opts, config); end
|
2038
2038
|
|
2039
2039
|
# Finds a command with the given name. If the command belongs to the current
|
2040
2040
|
# class, just return it, otherwise dup it and add the fresh copy to the
|
2041
2041
|
# current command hash.
|
2042
2042
|
#
|
2043
|
-
# source://thor//lib/thor/base.rb#
|
2043
|
+
# source://thor//lib/thor/base.rb#609
|
2044
2044
|
def find_and_refresh_command(name); end
|
2045
2045
|
|
2046
2046
|
# Finds a command with the given name. If the command belongs to the current
|
2047
2047
|
# class, just return it, otherwise dup it and add the fresh copy to the
|
2048
2048
|
# current command hash.
|
2049
2049
|
#
|
2050
|
-
# source://thor//lib/thor/base.rb#
|
2050
|
+
# source://thor//lib/thor/base.rb#609
|
2051
2051
|
def find_and_refresh_task(name); end
|
2052
2052
|
|
2053
2053
|
# Retrieves a value from superclass. If it reaches the baseclass,
|
2054
2054
|
# returns default.
|
2055
2055
|
#
|
2056
|
-
# source://thor//lib/thor/base.rb#
|
2056
|
+
# source://thor//lib/thor/base.rb#650
|
2057
2057
|
def from_superclass(method, default = T.unsafe(nil)); end
|
2058
2058
|
|
2059
|
-
#
|
2059
|
+
# Every time someone inherits from a Thor class, register the klass
|
2060
2060
|
# and file into baseclass.
|
2061
2061
|
#
|
2062
|
-
# source://thor//lib/thor/base.rb#
|
2062
|
+
# source://thor//lib/thor/base.rb#622
|
2063
2063
|
def inherited(klass); end
|
2064
2064
|
|
2065
2065
|
# SIGNATURE: Defines behavior when the initialize method is added to the
|
2066
2066
|
# class.
|
2067
2067
|
#
|
2068
|
-
# source://thor//lib/thor/base.rb#
|
2068
|
+
# source://thor//lib/thor/base.rb#689
|
2069
2069
|
def initialize_added; end
|
2070
2070
|
|
2071
2071
|
# Raises an error if the word given is a Thor reserved word.
|
2072
2072
|
#
|
2073
2073
|
# @return [Boolean]
|
2074
2074
|
#
|
2075
|
-
# source://thor//lib/thor/base.rb#
|
2075
|
+
# source://thor//lib/thor/base.rb#578
|
2076
2076
|
def is_thor_reserved_word?(word, type); end
|
2077
2077
|
|
2078
2078
|
# Fire this callback whenever a method is added. Added methods are
|
2079
2079
|
# tracked as commands by invoking the create_command method.
|
2080
2080
|
#
|
2081
|
-
# source://thor//lib/thor/base.rb#
|
2081
|
+
# source://thor//lib/thor/base.rb#630
|
2082
2082
|
def method_added(meth); end
|
2083
2083
|
|
2084
2084
|
# Receives a set of options and print them.
|
@@ -2241,8 +2241,14 @@ class Thor::CoreExt::HashWithIndifferentAccess < ::Hash
|
|
2241
2241
|
def method_missing(method, *args); end
|
2242
2242
|
end
|
2243
2243
|
|
2244
|
-
# source://thor//lib/thor/error.rb#
|
2245
|
-
Thor::Correctable
|
2244
|
+
# source://thor//lib/thor/error.rb#14
|
2245
|
+
module Thor::Correctable
|
2246
|
+
# source://thor//lib/thor/error.rb#19
|
2247
|
+
def corrections; end
|
2248
|
+
|
2249
|
+
# source://thor//lib/thor/error.rb#15
|
2250
|
+
def to_s; end
|
2251
|
+
end
|
2246
2252
|
|
2247
2253
|
# A dynamic command that handles method missing scenarios.
|
2248
2254
|
#
|
@@ -2267,7 +2273,7 @@ Thor::DynamicTask = Thor::DynamicCommand
|
|
2267
2273
|
# overwrites a thor keyword, SHOULD NOT raise a Thor::Error. This way, we
|
2268
2274
|
# ensure that developer errors are shown with full backtrace.
|
2269
2275
|
#
|
2270
|
-
# source://thor//lib/thor/error.rb#
|
2276
|
+
# source://thor//lib/thor/error.rb#31
|
2271
2277
|
class Thor::Error < ::StandardError; end
|
2272
2278
|
|
2273
2279
|
# Thor has a special class called Thor::Group. The main difference to Thor class
|
@@ -2605,7 +2611,7 @@ end
|
|
2605
2611
|
|
2606
2612
|
# Raised when a command was found, but not invoked properly.
|
2607
2613
|
#
|
2608
|
-
# source://thor//lib/thor/error.rb#
|
2614
|
+
# source://thor//lib/thor/error.rb#73
|
2609
2615
|
class Thor::InvocationError < ::Thor::Error; end
|
2610
2616
|
|
2611
2617
|
# source://thor//lib/thor/line_editor/basic.rb#2
|
@@ -2718,7 +2724,7 @@ class Thor::LineEditor::Readline::PathCompletion
|
|
2718
2724
|
def text; end
|
2719
2725
|
end
|
2720
2726
|
|
2721
|
-
# source://thor//lib/thor/error.rb#
|
2727
|
+
# source://thor//lib/thor/error.rb#109
|
2722
2728
|
class Thor::MalformattedArgumentError < ::Thor::InvocationError; end
|
2723
2729
|
|
2724
2730
|
# source://thor//lib/thor/nested_context.rb#2
|
@@ -2763,10 +2769,13 @@ class Thor::Option < ::Thor::Argument
|
|
2763
2769
|
# source://thor//lib/thor/parser/option.rb#3
|
2764
2770
|
def aliases; end
|
2765
2771
|
|
2766
|
-
# source://thor//lib/thor/parser/option.rb#
|
2772
|
+
# source://thor//lib/thor/parser/option.rb#99
|
2773
|
+
def aliases_for_usage; end
|
2774
|
+
|
2775
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2767
2776
|
def array?; end
|
2768
2777
|
|
2769
|
-
# source://thor//lib/thor/parser/option.rb#
|
2778
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2770
2779
|
def boolean?; end
|
2771
2780
|
|
2772
2781
|
# Returns the value of attribute group.
|
@@ -2774,7 +2783,7 @@ class Thor::Option < ::Thor::Argument
|
|
2774
2783
|
# source://thor//lib/thor/parser/option.rb#3
|
2775
2784
|
def group; end
|
2776
2785
|
|
2777
|
-
# source://thor//lib/thor/parser/option.rb#
|
2786
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2778
2787
|
def hash?; end
|
2779
2788
|
|
2780
2789
|
# Returns the value of attribute hide.
|
@@ -2790,7 +2799,7 @@ class Thor::Option < ::Thor::Argument
|
|
2790
2799
|
# source://thor//lib/thor/parser/option.rb#3
|
2791
2800
|
def lazy_default; end
|
2792
2801
|
|
2793
|
-
# source://thor//lib/thor/parser/option.rb#
|
2802
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2794
2803
|
def numeric?; end
|
2795
2804
|
|
2796
2805
|
# Returns the value of attribute repeatable.
|
@@ -2798,7 +2807,7 @@ class Thor::Option < ::Thor::Argument
|
|
2798
2807
|
# source://thor//lib/thor/parser/option.rb#3
|
2799
2808
|
def repeatable; end
|
2800
2809
|
|
2801
|
-
# source://thor//lib/thor/parser/option.rb#
|
2810
|
+
# source://thor//lib/thor/parser/option.rb#109
|
2802
2811
|
def string?; end
|
2803
2812
|
|
2804
2813
|
# source://thor//lib/thor/parser/option.rb#75
|
@@ -2809,23 +2818,23 @@ class Thor::Option < ::Thor::Argument
|
|
2809
2818
|
|
2810
2819
|
protected
|
2811
2820
|
|
2812
|
-
# source://thor//lib/thor/parser/option.rb#
|
2821
|
+
# source://thor//lib/thor/parser/option.rb#159
|
2813
2822
|
def dasherize(str); end
|
2814
2823
|
|
2815
2824
|
# @return [Boolean]
|
2816
2825
|
#
|
2817
|
-
# source://thor//lib/thor/parser/option.rb#
|
2826
|
+
# source://thor//lib/thor/parser/option.rb#151
|
2818
2827
|
def dasherized?; end
|
2819
2828
|
|
2820
|
-
# source://thor//lib/thor/parser/option.rb#
|
2829
|
+
# source://thor//lib/thor/parser/option.rb#155
|
2821
2830
|
def undasherize(str); end
|
2822
2831
|
|
2823
2832
|
# @raise [ArgumentError]
|
2824
2833
|
#
|
2825
|
-
# source://thor//lib/thor/parser/option.rb#
|
2834
|
+
# source://thor//lib/thor/parser/option.rb#117
|
2826
2835
|
def validate!; end
|
2827
2836
|
|
2828
|
-
# source://thor//lib/thor/parser/option.rb#
|
2837
|
+
# source://thor//lib/thor/parser/option.rb#122
|
2829
2838
|
def validate_default_type!; end
|
2830
2839
|
|
2831
2840
|
class << self
|
@@ -3010,7 +3019,7 @@ module Thor::RakeCompat
|
|
3010
3019
|
end
|
3011
3020
|
end
|
3012
3021
|
|
3013
|
-
# source://thor//lib/thor/error.rb#
|
3022
|
+
# source://thor//lib/thor/error.rb#106
|
3014
3023
|
class Thor::RequiredArgumentMissingError < ::Thor::InvocationError; end
|
3015
3024
|
|
3016
3025
|
# source://thor//lib/thor/util.rb#4
|
@@ -3679,84 +3688,84 @@ Thor::Task = Thor::Command
|
|
3679
3688
|
|
3680
3689
|
# Raised when a command was not found.
|
3681
3690
|
#
|
3682
|
-
# source://thor//lib/thor/error.rb#
|
3691
|
+
# source://thor//lib/thor/error.rb#35
|
3683
3692
|
class Thor::UndefinedCommandError < ::Thor::Error
|
3684
|
-
include ::
|
3693
|
+
include ::Thor::Correctable
|
3685
3694
|
|
3686
3695
|
# @return [UndefinedCommandError] a new instance of UndefinedCommandError
|
3687
3696
|
#
|
3688
|
-
# source://thor//lib/thor/error.rb#
|
3697
|
+
# source://thor//lib/thor/error.rb#54
|
3689
3698
|
def initialize(command, all_commands, namespace); end
|
3690
3699
|
|
3691
3700
|
# Returns the value of attribute all_commands.
|
3692
3701
|
#
|
3693
|
-
# source://thor//lib/thor/error.rb#
|
3702
|
+
# source://thor//lib/thor/error.rb#52
|
3694
3703
|
def all_commands; end
|
3695
3704
|
|
3696
3705
|
# Returns the value of attribute command.
|
3697
3706
|
#
|
3698
|
-
# source://thor//lib/thor/error.rb#
|
3707
|
+
# source://thor//lib/thor/error.rb#52
|
3699
3708
|
def command; end
|
3700
3709
|
end
|
3701
3710
|
|
3702
|
-
# source://thor//lib/thor/error.rb#
|
3711
|
+
# source://thor//lib/thor/error.rb#36
|
3703
3712
|
class Thor::UndefinedCommandError::SpellChecker
|
3704
3713
|
# @return [SpellChecker] a new instance of SpellChecker
|
3705
3714
|
#
|
3706
|
-
# source://thor//lib/thor/error.rb#
|
3715
|
+
# source://thor//lib/thor/error.rb#39
|
3707
3716
|
def initialize(error); end
|
3708
3717
|
|
3709
|
-
# source://thor//lib/thor/error.rb#
|
3718
|
+
# source://thor//lib/thor/error.rb#43
|
3710
3719
|
def corrections; end
|
3711
3720
|
|
3712
3721
|
# Returns the value of attribute error.
|
3713
3722
|
#
|
3714
|
-
# source://thor//lib/thor/error.rb#
|
3723
|
+
# source://thor//lib/thor/error.rb#37
|
3715
3724
|
def error; end
|
3716
3725
|
|
3717
|
-
# source://thor//lib/thor/error.rb#
|
3726
|
+
# source://thor//lib/thor/error.rb#47
|
3718
3727
|
def spell_checker; end
|
3719
3728
|
end
|
3720
3729
|
|
3721
|
-
# source://thor//lib/thor/error.rb#
|
3730
|
+
# source://thor//lib/thor/error.rb#66
|
3722
3731
|
Thor::UndefinedTaskError = Thor::UndefinedCommandError
|
3723
3732
|
|
3724
|
-
# source://thor//lib/thor/error.rb#
|
3733
|
+
# source://thor//lib/thor/error.rb#76
|
3725
3734
|
class Thor::UnknownArgumentError < ::Thor::Error
|
3726
|
-
include ::
|
3735
|
+
include ::Thor::Correctable
|
3727
3736
|
|
3728
3737
|
# @return [UnknownArgumentError] a new instance of UnknownArgumentError
|
3729
3738
|
#
|
3730
|
-
# source://thor//lib/thor/error.rb#
|
3739
|
+
# source://thor//lib/thor/error.rb#96
|
3731
3740
|
def initialize(switches, unknown); end
|
3732
3741
|
|
3733
3742
|
# Returns the value of attribute switches.
|
3734
3743
|
#
|
3735
|
-
# source://thor//lib/thor/error.rb#
|
3744
|
+
# source://thor//lib/thor/error.rb#94
|
3736
3745
|
def switches; end
|
3737
3746
|
|
3738
3747
|
# Returns the value of attribute unknown.
|
3739
3748
|
#
|
3740
|
-
# source://thor//lib/thor/error.rb#
|
3749
|
+
# source://thor//lib/thor/error.rb#94
|
3741
3750
|
def unknown; end
|
3742
3751
|
end
|
3743
3752
|
|
3744
|
-
# source://thor//lib/thor/error.rb#
|
3753
|
+
# source://thor//lib/thor/error.rb#77
|
3745
3754
|
class Thor::UnknownArgumentError::SpellChecker
|
3746
3755
|
# @return [SpellChecker] a new instance of SpellChecker
|
3747
3756
|
#
|
3748
|
-
# source://thor//lib/thor/error.rb#
|
3757
|
+
# source://thor//lib/thor/error.rb#80
|
3749
3758
|
def initialize(error); end
|
3750
3759
|
|
3751
|
-
# source://thor//lib/thor/error.rb#
|
3760
|
+
# source://thor//lib/thor/error.rb#84
|
3752
3761
|
def corrections; end
|
3753
3762
|
|
3754
3763
|
# Returns the value of attribute error.
|
3755
3764
|
#
|
3756
|
-
# source://thor//lib/thor/error.rb#
|
3765
|
+
# source://thor//lib/thor/error.rb#78
|
3757
3766
|
def error; end
|
3758
3767
|
|
3759
|
-
# source://thor//lib/thor/error.rb#
|
3768
|
+
# source://thor//lib/thor/error.rb#89
|
3760
3769
|
def spell_checker; end
|
3761
3770
|
end
|
3762
3771
|
|