repeatable 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +8 -3
- data/CHANGELOG.md +10 -1
- data/Gemfile +2 -1
- data/Gemfile.lock +75 -29
- data/README.md +17 -0
- data/bin/tapioca +29 -0
- data/lib/repeatable/conversions.rb +2 -1
- data/lib/repeatable/expression/base.rb +6 -0
- data/lib/repeatable/expression/biweekly.rb +1 -0
- data/lib/repeatable/expression/date.rb +1 -0
- data/lib/repeatable/expression/day_in_month.rb +1 -0
- data/lib/repeatable/expression/difference.rb +1 -0
- data/lib/repeatable/expression/exact_date.rb +1 -0
- data/lib/repeatable/expression/intersection.rb +2 -0
- data/lib/repeatable/expression/range_in_year.rb +1 -0
- data/lib/repeatable/expression/set.rb +3 -2
- data/lib/repeatable/expression/union.rb +2 -0
- data/lib/repeatable/expression/weekday.rb +1 -0
- data/lib/repeatable/expression/weekday_in_month.rb +1 -0
- data/lib/repeatable/expression.rb +1 -0
- data/lib/repeatable/last_date_of_month.rb +1 -0
- data/lib/repeatable/parse_error.rb +1 -0
- data/lib/repeatable/parser.rb +1 -0
- data/lib/repeatable/schedule.rb +6 -0
- data/lib/repeatable/types.rb +1 -0
- data/lib/repeatable/version.rb +2 -1
- data/lib/repeatable.rb +1 -0
- data/rbi/repeatable.rbi +9 -3
- data/sorbet/config +2 -1
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/{sorbet-typed/lib/rainbow/all → annotations}/rainbow.rbi +23 -30
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +1082 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +376 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/json@2.7.2.rbi +1561 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +239 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
- data/sorbet/rbi/gems/parlour@8.1.0.rbi +3053 -0
- data/sorbet/rbi/gems/parser@3.3.1.0.rbi +7320 -0
- data/sorbet/rbi/gems/prism@0.28.0.rbi +37903 -0
- data/sorbet/rbi/gems/pry@0.14.0.rbi +10072 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
- data/sorbet/rbi/gems/rake@13.0.3.rbi +3024 -0
- data/sorbet/rbi/gems/rbi@0.1.13.rbi +3071 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.0.rbi +3771 -0
- data/sorbet/rbi/gems/rexml@3.2.6.rbi +4781 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +10837 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +7930 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +5247 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +1594 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +76 -0
- data/sorbet/rbi/gems/rubocop-ast@1.31.3.rbi +7014 -0
- data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +8 -0
- data/sorbet/rbi/gems/rubocop@1.62.1.rbi +57542 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +216 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +2135 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
- data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +8 -0
- data/sorbet/rbi/gems/standard-performance@1.3.1.rbi +8 -0
- data/sorbet/rbi/gems/standard@1.35.1.rbi +850 -0
- data/sorbet/rbi/gems/tapioca@0.13.3.rbi +3527 -0
- data/sorbet/rbi/gems/thor@1.3.1.rbi +4351 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +65 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/yard@0.9.36.rbi +18220 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +53 -39
- data/sorbet/rbi/gems/ast.rbi +0 -49
- data/sorbet/rbi/gems/coderay.rbi +0 -285
- data/sorbet/rbi/gems/commander.rbi +0 -197
- data/sorbet/rbi/gems/docile.rbi +0 -36
- data/sorbet/rbi/gems/highline.rbi +0 -577
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/parallel.rbi +0 -83
- data/sorbet/rbi/gems/parlour.rbi +0 -840
- data/sorbet/rbi/gems/parser.rbi +0 -1950
- data/sorbet/rbi/gems/pry.rbi +0 -1898
- data/sorbet/rbi/gems/rainbow.rbi +0 -118
- data/sorbet/rbi/gems/rake.rbi +0 -646
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -926
- data/sorbet/rbi/gems/repeatable.rbi +0 -13
- data/sorbet/rbi/gems/rexml.rbi +0 -583
- data/sorbet/rbi/gems/rspec-core.rbi +0 -1919
- data/sorbet/rbi/gems/rspec-expectations.rbi +0 -1150
- data/sorbet/rbi/gems/rspec-mocks.rbi +0 -1100
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1356
- data/sorbet/rbi/gems/rubocop-performance.rbi +0 -487
- data/sorbet/rbi/gems/rubocop.rbi +0 -7923
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -419
- data/sorbet/rbi/gems/simplecov_json_formatter.rbi +0 -47
- data/sorbet/rbi/gems/standard.rbi +0 -130
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -20
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -4273
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -9013
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +0 -645
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +0 -24
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +0 -12
- data/sorbet/rbi/sorbet-typed/lib/rubocop-performance/~>1.6/rubocop-performance.rbi +0 -149
data/sorbet/rbi/gems/docile.rbi
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/docile/all/docile.rbi
|
9
|
-
#
|
10
|
-
# docile-1.4.0
|
11
|
-
|
12
|
-
module Docile
|
13
|
-
def dsl_eval(dsl, *args, &block); end
|
14
|
-
def dsl_eval_immutable(dsl, *args, &block); end
|
15
|
-
def dsl_eval_with_block_return(dsl, *args, &block); end
|
16
|
-
def self.dsl_eval(dsl, *args, &block); end
|
17
|
-
def self.dsl_eval_immutable(dsl, *args, &block); end
|
18
|
-
def self.dsl_eval_with_block_return(dsl, *args, &block); end
|
19
|
-
extend Docile::Execution
|
20
|
-
end
|
21
|
-
module Docile::Execution
|
22
|
-
def exec_in_proxy_context(dsl, proxy_type, *args, &block); end
|
23
|
-
def self.exec_in_proxy_context(dsl, proxy_type, *args, &block); end
|
24
|
-
end
|
25
|
-
class Docile::FallbackContextProxy
|
26
|
-
def initialize(receiver, fallback); end
|
27
|
-
def instance_variables; end
|
28
|
-
def method_missing(method, *args, &block); end
|
29
|
-
end
|
30
|
-
class Docile::ChainingFallbackContextProxy < Docile::FallbackContextProxy
|
31
|
-
def method_missing(method, *args, &block); end
|
32
|
-
end
|
33
|
-
module Docile::BacktraceFilter
|
34
|
-
def backtrace; end
|
35
|
-
def backtrace_locations; end
|
36
|
-
end
|
@@ -1,577 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/highline/all/highline.rbi
|
9
|
-
#
|
10
|
-
# highline-2.0.3
|
11
|
-
|
12
|
-
class HighLine
|
13
|
-
def actual_length(text); end
|
14
|
-
def agree(yes_or_no_question, character = nil); end
|
15
|
-
def ask(template_or_question, answer_type = nil, &details); end
|
16
|
-
def choose(*items, &details); end
|
17
|
-
def color(string, *colors); end
|
18
|
-
def color_code(*colors); end
|
19
|
-
def confirm(question); end
|
20
|
-
def default_use_color; end
|
21
|
-
def erase_current_line; end
|
22
|
-
def get_line(question); end
|
23
|
-
def get_line_raw_no_echo_mode(question); end
|
24
|
-
def get_response_character_mode(question); end
|
25
|
-
def get_response_getc_mode(question); end
|
26
|
-
def get_response_line_mode(question); end
|
27
|
-
def ignore_arrow_key; end
|
28
|
-
def indent(increase = nil, statement = nil, multiline = nil); end
|
29
|
-
def indent_level; end
|
30
|
-
def indent_level=(arg0); end
|
31
|
-
def indent_size; end
|
32
|
-
def indent_size=(arg0); end
|
33
|
-
def indentation; end
|
34
|
-
def initialize(input = nil, output = nil, wrap_at = nil, page_at = nil, indent_size = nil, indent_level = nil); end
|
35
|
-
def input; end
|
36
|
-
def key; end
|
37
|
-
def key=(arg0); end
|
38
|
-
def last_answer(answers); end
|
39
|
-
def line_overflow_for_question?(line, question); end
|
40
|
-
def list(items, mode = nil, option = nil); end
|
41
|
-
def multi_indent; end
|
42
|
-
def multi_indent=(arg0); end
|
43
|
-
def new_scope; end
|
44
|
-
def newline; end
|
45
|
-
def output; end
|
46
|
-
def output_cols; end
|
47
|
-
def output_erase_char; end
|
48
|
-
def output_rows; end
|
49
|
-
def page_at; end
|
50
|
-
def page_at=(setting); end
|
51
|
-
def puts(*args); end
|
52
|
-
def render_statement(statement); end
|
53
|
-
def reset_use_color; end
|
54
|
-
def say(statement); end
|
55
|
-
def say_last_char_or_echo_char(line, question); end
|
56
|
-
def say_new_line_or_overwrite(question); end
|
57
|
-
def self.String(s); end
|
58
|
-
def self.Style(*args); end
|
59
|
-
def self.agree(*args, &block); end
|
60
|
-
def self.ask(*args, &block); end
|
61
|
-
def self.choose(*args, &block); end
|
62
|
-
def self.color(*args, &block); end
|
63
|
-
def self.color_code(*args, &block); end
|
64
|
-
def self.color_scheme; end
|
65
|
-
def self.color_scheme=(arg0); end
|
66
|
-
def self.colorize_strings; end
|
67
|
-
def self.default_instance; end
|
68
|
-
def self.default_instance=(arg0); end
|
69
|
-
def self.find_or_create_style(arg); end
|
70
|
-
def self.find_or_create_style_list(*args); end
|
71
|
-
def self.reset; end
|
72
|
-
def self.reset_color_scheme; end
|
73
|
-
def self.reset_use_color(*args, &block); end
|
74
|
-
def self.say(*args, &block); end
|
75
|
-
def self.supports_rgb_color?; end
|
76
|
-
def self.track_eof=(*args, &block); end
|
77
|
-
def self.track_eof?(*args, &block); end
|
78
|
-
def self.uncolor(*args, &block); end
|
79
|
-
def self.use_color=(*args, &block); end
|
80
|
-
def self.use_color?(*args, &block); end
|
81
|
-
def self.using_color_scheme?; end
|
82
|
-
def shell_style_lambda(menu); end
|
83
|
-
def terminal; end
|
84
|
-
def track_eof; end
|
85
|
-
def track_eof=(arg0); end
|
86
|
-
def track_eof?; end
|
87
|
-
def uncolor(string); end
|
88
|
-
def unique_answers(list); end
|
89
|
-
def use_color; end
|
90
|
-
def use_color=(arg0); end
|
91
|
-
def use_color?; end
|
92
|
-
def wrap_at; end
|
93
|
-
def wrap_at=(setting); end
|
94
|
-
extend HighLine::BuiltinStyles::ClassMethods
|
95
|
-
extend SingleForwardable
|
96
|
-
include HighLine::BuiltinStyles
|
97
|
-
include HighLine::CustomErrors
|
98
|
-
end
|
99
|
-
class HighLine::Terminal
|
100
|
-
def character_mode; end
|
101
|
-
def get_character; end
|
102
|
-
def get_line(question, highline); end
|
103
|
-
def get_line_default(highline); end
|
104
|
-
def get_line_with_readline(question, highline); end
|
105
|
-
def initialize(input, output); end
|
106
|
-
def initialize_system_extensions; end
|
107
|
-
def input; end
|
108
|
-
def jruby?; end
|
109
|
-
def output; end
|
110
|
-
def raw_no_echo_mode; end
|
111
|
-
def raw_no_echo_mode_exec; end
|
112
|
-
def readline_read(question); end
|
113
|
-
def restore_mode; end
|
114
|
-
def restore_stty; end
|
115
|
-
def rubinius?; end
|
116
|
-
def run_preserving_stty; end
|
117
|
-
def save_stty; end
|
118
|
-
def self.get_terminal(input, output); end
|
119
|
-
def terminal_size; end
|
120
|
-
def windows?; end
|
121
|
-
end
|
122
|
-
module HighLine::CustomErrors
|
123
|
-
end
|
124
|
-
class HighLine::CustomErrors::ExplainableError < StandardError
|
125
|
-
def explanation_key; end
|
126
|
-
end
|
127
|
-
class HighLine::CustomErrors::QuestionError < HighLine::CustomErrors::ExplainableError
|
128
|
-
def explanation_key; end
|
129
|
-
end
|
130
|
-
class HighLine::CustomErrors::NotValidQuestionError < HighLine::CustomErrors::ExplainableError
|
131
|
-
def explanation_key; end
|
132
|
-
end
|
133
|
-
class HighLine::CustomErrors::NotInRangeQuestionError < HighLine::CustomErrors::ExplainableError
|
134
|
-
def explanation_key; end
|
135
|
-
end
|
136
|
-
class HighLine::CustomErrors::NoConfirmationQuestionError < HighLine::CustomErrors::ExplainableError
|
137
|
-
def explanation_key; end
|
138
|
-
end
|
139
|
-
class HighLine::CustomErrors::NoAutoCompleteMatch < HighLine::CustomErrors::ExplainableError
|
140
|
-
def explanation_key; end
|
141
|
-
end
|
142
|
-
class HighLine::Question
|
143
|
-
def above; end
|
144
|
-
def above=(arg0); end
|
145
|
-
def answer; end
|
146
|
-
def answer=(arg0); end
|
147
|
-
def answer_or_default(answer_string); end
|
148
|
-
def answer_type; end
|
149
|
-
def answer_type=(arg0); end
|
150
|
-
def append_default; end
|
151
|
-
def ask_on_error_msg; end
|
152
|
-
def below; end
|
153
|
-
def below=(arg0); end
|
154
|
-
def build_responses(message_source = nil); end
|
155
|
-
def build_responses_new_hash(message_source); end
|
156
|
-
def case; end
|
157
|
-
def case=(arg0); end
|
158
|
-
def change_case(answer_string); end
|
159
|
-
def character; end
|
160
|
-
def character=(arg0); end
|
161
|
-
def check_range; end
|
162
|
-
def choice_error_str(message_source); end
|
163
|
-
def choices_complete(answer_string); end
|
164
|
-
def completion; end
|
165
|
-
def completion=(arg0); end
|
166
|
-
def confirm; end
|
167
|
-
def confirm=(arg0); end
|
168
|
-
def confirm_question(highline); end
|
169
|
-
def convert; end
|
170
|
-
def default; end
|
171
|
-
def default=(arg0); end
|
172
|
-
def default_responses_hash; end
|
173
|
-
def directory; end
|
174
|
-
def directory=(arg0); end
|
175
|
-
def echo; end
|
176
|
-
def echo=(arg0); end
|
177
|
-
def expected_range; end
|
178
|
-
def final_response(error); end
|
179
|
-
def final_responses; end
|
180
|
-
def first_answer; end
|
181
|
-
def first_answer=(arg0); end
|
182
|
-
def first_answer?; end
|
183
|
-
def format_answer(answer_string); end
|
184
|
-
def gather; end
|
185
|
-
def gather=(arg0); end
|
186
|
-
def get_echo_for_response(response); end
|
187
|
-
def get_response(highline); end
|
188
|
-
def get_response_or_default(highline); end
|
189
|
-
def glob; end
|
190
|
-
def glob=(arg0); end
|
191
|
-
def in; end
|
192
|
-
def in=(arg0); end
|
193
|
-
def in_range?; end
|
194
|
-
def initialize(template, answer_type); end
|
195
|
-
def limit; end
|
196
|
-
def limit=(arg0); end
|
197
|
-
def overwrite; end
|
198
|
-
def overwrite=(arg0); end
|
199
|
-
def readline; end
|
200
|
-
def readline=(arg0); end
|
201
|
-
def remove_whitespace(answer_string); end
|
202
|
-
def responses; end
|
203
|
-
def selection; end
|
204
|
-
def self.build(template_or_question, answer_type = nil, &details); end
|
205
|
-
def show_question(highline); end
|
206
|
-
def template; end
|
207
|
-
def template=(arg0); end
|
208
|
-
def to_s; end
|
209
|
-
def valid_answer?; end
|
210
|
-
def validate; end
|
211
|
-
def validate=(arg0); end
|
212
|
-
def verify_match; end
|
213
|
-
def verify_match=(arg0); end
|
214
|
-
def whitespace; end
|
215
|
-
def whitespace=(arg0); end
|
216
|
-
include HighLine::CustomErrors
|
217
|
-
end
|
218
|
-
class HighLine::Question::AnswerConverter
|
219
|
-
def answer(*args, &block); end
|
220
|
-
def answer=(*args, &block); end
|
221
|
-
def answer_type(*args, &block); end
|
222
|
-
def check_range(*args, &block); end
|
223
|
-
def choices_complete(*args, &block); end
|
224
|
-
def convert; end
|
225
|
-
def convert_by_answer_type; end
|
226
|
-
def directory(*args, &block); end
|
227
|
-
def initialize(question); end
|
228
|
-
def to_array; end
|
229
|
-
def to_file; end
|
230
|
-
def to_float; end
|
231
|
-
def to_integer; end
|
232
|
-
def to_pathname; end
|
233
|
-
def to_proc; end
|
234
|
-
def to_regexp; end
|
235
|
-
def to_string; end
|
236
|
-
def to_symbol; end
|
237
|
-
extend Forwardable
|
238
|
-
end
|
239
|
-
class HighLine::QuestionAsker
|
240
|
-
def answer_matches_regex(answer); end
|
241
|
-
def ask_once; end
|
242
|
-
def explain_error(explanation_key); end
|
243
|
-
def gather_answers; end
|
244
|
-
def gather_answers_based_on_type; end
|
245
|
-
def gather_hash; end
|
246
|
-
def gather_integer; end
|
247
|
-
def gather_regexp; end
|
248
|
-
def gather_with_array; end
|
249
|
-
def initialize(question, highline); end
|
250
|
-
def question; end
|
251
|
-
include HighLine::CustomErrors
|
252
|
-
end
|
253
|
-
class HighLine::Menu < HighLine::Question
|
254
|
-
def add_item(item); end
|
255
|
-
def all_items; end
|
256
|
-
def build_item(*args); end
|
257
|
-
def choice(name, help = nil, text = nil, &action); end
|
258
|
-
def choices(*names, &action); end
|
259
|
-
def decorate_index(index); end
|
260
|
-
def decorate_item(text, ix); end
|
261
|
-
def find_item_from_selection(items, selection); end
|
262
|
-
def flow; end
|
263
|
-
def flow=(arg0); end
|
264
|
-
def gather_selected(highline_context, selections, details = nil); end
|
265
|
-
def get_item_by_letter(items, selection); end
|
266
|
-
def get_item_by_number(items, selection); end
|
267
|
-
def header; end
|
268
|
-
def header=(arg0); end
|
269
|
-
def help(topic, help); end
|
270
|
-
def hidden(name, help = nil, &action); end
|
271
|
-
def index; end
|
272
|
-
def index=(style); end
|
273
|
-
def index_color; end
|
274
|
-
def index_color=(arg0); end
|
275
|
-
def index_suffix; end
|
276
|
-
def index_suffix=(arg0); end
|
277
|
-
def init_help; end
|
278
|
-
def initialize; end
|
279
|
-
def layout; end
|
280
|
-
def layout=(new_layout); end
|
281
|
-
def list_option; end
|
282
|
-
def list_option=(arg0); end
|
283
|
-
def map_items_by_index; end
|
284
|
-
def map_items_by_name; end
|
285
|
-
def mark_for_decoration(text, ix); end
|
286
|
-
def nil_on_handled; end
|
287
|
-
def nil_on_handled=(arg0); end
|
288
|
-
def options; end
|
289
|
-
def parse_list; end
|
290
|
-
def prompt; end
|
291
|
-
def prompt=(arg0); end
|
292
|
-
def select(highline_context, selection, details = nil); end
|
293
|
-
def select_by; end
|
294
|
-
def select_by=(arg0); end
|
295
|
-
def self.index_color; end
|
296
|
-
def self.index_color=(arg0); end
|
297
|
-
def shell; end
|
298
|
-
def shell=(arg0); end
|
299
|
-
def show_default_if_any; end
|
300
|
-
def to_ary; end
|
301
|
-
def to_s; end
|
302
|
-
def update_responses; end
|
303
|
-
def value_for_array_selections(items, selections, details); end
|
304
|
-
def value_for_hash_selections(items, selections, details); end
|
305
|
-
def value_for_selected_item(item, details); end
|
306
|
-
end
|
307
|
-
class HighLine::Menu::Item
|
308
|
-
def action; end
|
309
|
-
def help; end
|
310
|
-
def initialize(name, attributes); end
|
311
|
-
def item_help; end
|
312
|
-
def name; end
|
313
|
-
def text; end
|
314
|
-
end
|
315
|
-
class HighLine::ColorScheme
|
316
|
-
def [](color_tag); end
|
317
|
-
def []=(color_tag, constants); end
|
318
|
-
def definition(color_tag); end
|
319
|
-
def include?(color_tag); end
|
320
|
-
def initialize(h = nil); end
|
321
|
-
def keys; end
|
322
|
-
def load_from_hash(h); end
|
323
|
-
def to_constant(v); end
|
324
|
-
def to_hash; end
|
325
|
-
def to_symbol(t); end
|
326
|
-
end
|
327
|
-
class HighLine::SampleColorScheme < HighLine::ColorScheme
|
328
|
-
def initialize(_h = nil); end
|
329
|
-
end
|
330
|
-
class HighLine::Style
|
331
|
-
def blue; end
|
332
|
-
def bright; end
|
333
|
-
def builtin; end
|
334
|
-
def builtin=(arg0); end
|
335
|
-
def code; end
|
336
|
-
def color(string); end
|
337
|
-
def create_bright_variant(variant_name); end
|
338
|
-
def dup; end
|
339
|
-
def find_style(name); end
|
340
|
-
def green; end
|
341
|
-
def initialize(defn = nil); end
|
342
|
-
def light; end
|
343
|
-
def list; end
|
344
|
-
def name; end
|
345
|
-
def on; end
|
346
|
-
def red; end
|
347
|
-
def rgb; end
|
348
|
-
def rgb=(arg0); end
|
349
|
-
def self.ansi_rgb_to_hex(ansi_number); end
|
350
|
-
def self.clear_index; end
|
351
|
-
def self.code_index; end
|
352
|
-
def self.index(style); end
|
353
|
-
def self.list; end
|
354
|
-
def self.rgb(*colors); end
|
355
|
-
def self.rgb_hex(*colors); end
|
356
|
-
def self.rgb_number(*parts); end
|
357
|
-
def self.rgb_parts(hex); end
|
358
|
-
def self.uncolor(string); end
|
359
|
-
def to_hash; end
|
360
|
-
def variant(new_name, options = nil); end
|
361
|
-
end
|
362
|
-
module HighLine::Wrapper
|
363
|
-
def self.actual_length(string_with_escapes); end
|
364
|
-
def self.wrap(text, wrap_at); end
|
365
|
-
end
|
366
|
-
class HighLine::Paginator
|
367
|
-
def continue_paging?; end
|
368
|
-
def highline; end
|
369
|
-
def initialize(highline); end
|
370
|
-
def page_print(text); end
|
371
|
-
end
|
372
|
-
class HighLine::TemplateRenderer
|
373
|
-
def answer(*args, &block); end
|
374
|
-
def answer_type(*args, &block); end
|
375
|
-
def color(*args, &block); end
|
376
|
-
def header(*args, &block); end
|
377
|
-
def highline; end
|
378
|
-
def initialize(template, source, highline); end
|
379
|
-
def key(*args, &block); end
|
380
|
-
def list(*args, &block); end
|
381
|
-
def menu; end
|
382
|
-
def method_missing(method, *args); end
|
383
|
-
def prompt(*args, &block); end
|
384
|
-
def render; end
|
385
|
-
def self.const_missing(name); end
|
386
|
-
def source; end
|
387
|
-
def template; end
|
388
|
-
extend Forwardable
|
389
|
-
end
|
390
|
-
class HighLine::Statement
|
391
|
-
def format_statement; end
|
392
|
-
def highline; end
|
393
|
-
def initialize(source, highline); end
|
394
|
-
def render_template; end
|
395
|
-
def self.const_missing(constant); end
|
396
|
-
def source; end
|
397
|
-
def statement; end
|
398
|
-
def stringfy(template_string); end
|
399
|
-
def template; end
|
400
|
-
def template_string; end
|
401
|
-
def to_s; end
|
402
|
-
end
|
403
|
-
class HighLine::List
|
404
|
-
def build; end
|
405
|
-
def col_down; end
|
406
|
-
def col_down_mode; end
|
407
|
-
def cols; end
|
408
|
-
def cols=(cols); end
|
409
|
-
def initialize(items, options = nil); end
|
410
|
-
def items; end
|
411
|
-
def items_sliced_by_cols; end
|
412
|
-
def items_sliced_by_rows; end
|
413
|
-
def list; end
|
414
|
-
def row_count; end
|
415
|
-
def row_join_str_size; end
|
416
|
-
def row_join_string; end
|
417
|
-
def row_join_string=(arg0); end
|
418
|
-
def slice_by_cols; end
|
419
|
-
def slice_by_rows; end
|
420
|
-
def stringfy(row); end
|
421
|
-
def to_a; end
|
422
|
-
def to_s; end
|
423
|
-
def transpose; end
|
424
|
-
def transpose_mode; end
|
425
|
-
end
|
426
|
-
class HighLine::ListRenderer
|
427
|
-
def actual_length(text); end
|
428
|
-
def actual_lengths_for(line); end
|
429
|
-
def col_count; end
|
430
|
-
def col_count_calculate; end
|
431
|
-
def get_col_widths(lines); end
|
432
|
-
def get_row_widths(lines); end
|
433
|
-
def get_segment_widths(lines); end
|
434
|
-
def highline; end
|
435
|
-
def initialize(items, mode = nil, option = nil, highline); end
|
436
|
-
def inside_line_size_limit?(widths); end
|
437
|
-
def items; end
|
438
|
-
def items_max_length; end
|
439
|
-
def line_size_limit; end
|
440
|
-
def list_columns_across_mode; end
|
441
|
-
def list_columns_down_mode; end
|
442
|
-
def list_default_mode; end
|
443
|
-
def list_inline_mode; end
|
444
|
-
def list_uneven_columns_down_mode; end
|
445
|
-
def list_uneven_columns_mode(list = nil); end
|
446
|
-
def max_length(items); end
|
447
|
-
def mode; end
|
448
|
-
def option; end
|
449
|
-
def pad_char; end
|
450
|
-
def pad_uneven_rows(list, widths); end
|
451
|
-
def render; end
|
452
|
-
def render_list_items(items); end
|
453
|
-
def right_pad_field(field, width); end
|
454
|
-
def right_pad_row(row, widths); end
|
455
|
-
def right_padded_items; end
|
456
|
-
def row_count; end
|
457
|
-
def row_join_str_size; end
|
458
|
-
def row_join_string; end
|
459
|
-
def row_join_string=(arg0); end
|
460
|
-
def row_to_s(row); end
|
461
|
-
def stringfy_list(list); end
|
462
|
-
def transpose(lines); end
|
463
|
-
end
|
464
|
-
module HighLine::BuiltinStyles
|
465
|
-
def self.included(base); end
|
466
|
-
end
|
467
|
-
module HighLine::BuiltinStyles::ClassMethods
|
468
|
-
def const_missing(name); end
|
469
|
-
end
|
470
|
-
class HighLine::Terminal::IOConsole < HighLine::Terminal
|
471
|
-
def get_character; end
|
472
|
-
def raw_no_echo_mode; end
|
473
|
-
def restore_mode; end
|
474
|
-
def terminal_size; end
|
475
|
-
end
|
476
|
-
module HighLine::StringExtensions
|
477
|
-
def self.define_builtin_style_methods(base); end
|
478
|
-
def self.define_style_support_methods(base); end
|
479
|
-
def self.included(base); end
|
480
|
-
end
|
481
|
-
class HighLine::String < String
|
482
|
-
def black; end
|
483
|
-
def blink; end
|
484
|
-
def blue; end
|
485
|
-
def bold; end
|
486
|
-
def bright_black; end
|
487
|
-
def bright_blue; end
|
488
|
-
def bright_cyan; end
|
489
|
-
def bright_gray; end
|
490
|
-
def bright_green; end
|
491
|
-
def bright_grey; end
|
492
|
-
def bright_magenta; end
|
493
|
-
def bright_none; end
|
494
|
-
def bright_red; end
|
495
|
-
def bright_white; end
|
496
|
-
def bright_yellow; end
|
497
|
-
def clear; end
|
498
|
-
def color(*args); end
|
499
|
-
def concealed; end
|
500
|
-
def cyan; end
|
501
|
-
def dark; end
|
502
|
-
def foreground(*args); end
|
503
|
-
def gray; end
|
504
|
-
def green; end
|
505
|
-
def grey; end
|
506
|
-
def light_black; end
|
507
|
-
def light_blue; end
|
508
|
-
def light_cyan; end
|
509
|
-
def light_gray; end
|
510
|
-
def light_green; end
|
511
|
-
def light_grey; end
|
512
|
-
def light_magenta; end
|
513
|
-
def light_none; end
|
514
|
-
def light_red; end
|
515
|
-
def light_white; end
|
516
|
-
def light_yellow; end
|
517
|
-
def magenta; end
|
518
|
-
def method_missing(method, *_args); end
|
519
|
-
def none; end
|
520
|
-
def on(arg); end
|
521
|
-
def on_black; end
|
522
|
-
def on_blue; end
|
523
|
-
def on_bright_black; end
|
524
|
-
def on_bright_blue; end
|
525
|
-
def on_bright_cyan; end
|
526
|
-
def on_bright_gray; end
|
527
|
-
def on_bright_green; end
|
528
|
-
def on_bright_grey; end
|
529
|
-
def on_bright_magenta; end
|
530
|
-
def on_bright_none; end
|
531
|
-
def on_bright_red; end
|
532
|
-
def on_bright_white; end
|
533
|
-
def on_bright_yellow; end
|
534
|
-
def on_cyan; end
|
535
|
-
def on_gray; end
|
536
|
-
def on_green; end
|
537
|
-
def on_grey; end
|
538
|
-
def on_light_black; end
|
539
|
-
def on_light_blue; end
|
540
|
-
def on_light_cyan; end
|
541
|
-
def on_light_gray; end
|
542
|
-
def on_light_green; end
|
543
|
-
def on_light_grey; end
|
544
|
-
def on_light_magenta; end
|
545
|
-
def on_light_none; end
|
546
|
-
def on_light_red; end
|
547
|
-
def on_light_white; end
|
548
|
-
def on_light_yellow; end
|
549
|
-
def on_magenta; end
|
550
|
-
def on_none; end
|
551
|
-
def on_red; end
|
552
|
-
def on_rgb(*colors); end
|
553
|
-
def on_white; end
|
554
|
-
def on_yellow; end
|
555
|
-
def red; end
|
556
|
-
def reset; end
|
557
|
-
def respond_to_missing?(method_name, include_private = nil); end
|
558
|
-
def reverse; end
|
559
|
-
def rgb(*colors); end
|
560
|
-
def setup_color_code(*colors); end
|
561
|
-
def uncolor; end
|
562
|
-
def underline; end
|
563
|
-
def underscore; end
|
564
|
-
def white; end
|
565
|
-
def yellow; end
|
566
|
-
include HighLine::StringExtensions
|
567
|
-
end
|
568
|
-
module Kernel
|
569
|
-
def agree(*args, &block); end
|
570
|
-
def ask(*args, &block); end
|
571
|
-
def choose(*args, &block); end
|
572
|
-
def say(*args, &block); end
|
573
|
-
extend Forwardable
|
574
|
-
end
|
575
|
-
class Object < BasicObject
|
576
|
-
def or_ask(*args, &details); end
|
577
|
-
end
|
@@ -1,64 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/method_source/all/method_source.rbi
|
9
|
-
#
|
10
|
-
# method_source-1.0.0
|
11
|
-
|
12
|
-
module MethodSource
|
13
|
-
def self.comment_helper(source_location, name = nil); end
|
14
|
-
def self.extract_code(source_location); end
|
15
|
-
def self.lines_for(file_name, name = nil); end
|
16
|
-
def self.source_helper(source_location, name = nil); end
|
17
|
-
def self.valid_expression?(str); end
|
18
|
-
extend MethodSource::CodeHelpers
|
19
|
-
end
|
20
|
-
module MethodSource::ReeSourceLocation
|
21
|
-
def source_location; end
|
22
|
-
end
|
23
|
-
module MethodSource::SourceLocation
|
24
|
-
end
|
25
|
-
module MethodSource::SourceLocation::MethodExtensions
|
26
|
-
def source_location; end
|
27
|
-
def trace_func(event, file, line, id, binding, classname); end
|
28
|
-
end
|
29
|
-
module MethodSource::SourceLocation::ProcExtensions
|
30
|
-
def source_location; end
|
31
|
-
end
|
32
|
-
module MethodSource::SourceLocation::UnboundMethodExtensions
|
33
|
-
def source_location; end
|
34
|
-
end
|
35
|
-
module MethodSource::CodeHelpers
|
36
|
-
def comment_describing(file, line_number); end
|
37
|
-
def complete_expression?(str); end
|
38
|
-
def expression_at(file, line_number, options = nil); end
|
39
|
-
def extract_first_expression(lines, consume = nil, &block); end
|
40
|
-
def extract_last_comment(lines); end
|
41
|
-
end
|
42
|
-
module MethodSource::CodeHelpers::IncompleteExpression
|
43
|
-
def self.===(ex); end
|
44
|
-
def self.rbx?; end
|
45
|
-
end
|
46
|
-
class MethodSource::SourceNotFoundError < StandardError
|
47
|
-
end
|
48
|
-
module MethodSource::MethodExtensions
|
49
|
-
def comment; end
|
50
|
-
def self.included(klass); end
|
51
|
-
def source; end
|
52
|
-
end
|
53
|
-
class Method
|
54
|
-
include MethodSource::MethodExtensions
|
55
|
-
include MethodSource::SourceLocation::MethodExtensions
|
56
|
-
end
|
57
|
-
class UnboundMethod
|
58
|
-
include MethodSource::MethodExtensions
|
59
|
-
include MethodSource::SourceLocation::UnboundMethodExtensions
|
60
|
-
end
|
61
|
-
class Proc
|
62
|
-
include MethodSource::MethodExtensions
|
63
|
-
include MethodSource::SourceLocation::ProcExtensions
|
64
|
-
end
|