ipt 1.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/test.yml +41 -0
- data/.gitignore +0 -1
- data/Gemfile.lock +318 -0
- data/README.md +1 -1
- data/bin/tapioca +29 -0
- data/ipt.gemspec +15 -8
- data/lib/pt.rb +8 -9
- data/lib/pt/action.rb +42 -24
- data/lib/pt/cli.rb +1 -1
- data/lib/pt/client.rb +2 -3
- data/lib/pt/configuration.rb +1 -1
- data/lib/pt/data_row.rb +1 -0
- data/lib/pt/data_table.rb +1 -2
- data/lib/pt/io.rb +16 -7
- data/lib/pt/version.rb +2 -1
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/activesupport.rbi +671 -0
- data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
- data/sorbet/rbi/gems/addressable.rbi +147 -0
- data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/anyway_config.rbi +197 -0
- data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
- data/sorbet/rbi/gems/aruba.rbi +917 -0
- data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
- data/sorbet/rbi/gems/childprocess.rbi +107 -0
- data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/colorize.rbi +82 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
- data/sorbet/rbi/gems/config.rbi +124 -0
- data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
- data/sorbet/rbi/gems/contracts.rbi +391 -0
- data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
- data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
- data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
- data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
- data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
- data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
- data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber.rbi +1876 -0
- data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
- data/sorbet/rbi/gems/declarative.rbi +75 -0
- data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
- data/sorbet/rbi/gems/deep_merge.rbi +26 -0
- data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
- data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
- data/sorbet/rbi/gems/equalizer.rbi +23 -0
- data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
- data/sorbet/rbi/gems/equatable.rbi +26 -0
- data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/excon.rbi +378 -0
- data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday.rbi +606 -0
- data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
- data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
- data/sorbet/rbi/gems/formatador.rbi +52 -0
- data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
- data/sorbet/rbi/gems/guard.rbi +397 -0
- data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
- data/sorbet/rbi/gems/highline.rbi +567 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
- data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
- data/sorbet/rbi/gems/lumberjack.rbi +299 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/middleware.rbi +32 -0
- data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
- data/sorbet/rbi/gems/mime-types.rbi +218 -0
- data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/multi_test.rbi +28 -0
- data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
- data/sorbet/rbi/gems/necromancer.rbi +135 -0
- data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/nenv.rbi +60 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
- data/sorbet/rbi/gems/notiffany.rbi +215 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
- data/sorbet/rbi/gems/paint.rbi +31 -0
- data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
- data/sorbet/rbi/gems/parlour.rbi +840 -0
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
- data/sorbet/rbi/gems/parser.rbi +1517 -0
- data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
- data/sorbet/rbi/gems/pastel.rbi +128 -0
- data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
- data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
- data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake.rbi +647 -0
- data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/representable.rbi +227 -0
- data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
- data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/shellany.rbi +29 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
- data/sorbet/rbi/gems/spoom.rbi +872 -0
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
- data/sorbet/rbi/gems/sys-uname.rbi +66 -0
- data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
- data/sorbet/rbi/gems/tapioca.rbi +39 -0
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
- data/sorbet/rbi/gems/terminal-table.rbi +166 -0
- data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
- data/sorbet/rbi/gems/thor.rbi +537 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
- data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
- data/sorbet/rbi/gems/tracker_api.rbi +33 -0
- data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
- data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
- data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-color.rbi +41 -0
- data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-pager.rbi +41 -0
- data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-platform.rbi +36 -0
- data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
- data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-screen.rbi +40 -0
- data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
- data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-table.rbi +417 -0
- data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-which.rbi +22 -0
- data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty.rbi +126 -0
- data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tzinfo.rbi +588 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
- data/sorbet/rbi/gems/uber.rbi +18 -0
- data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
- data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
- data/sorbet/rbi/gems/vcr.rbi +582 -0
- data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
- data/sorbet/rbi/gems/verse.rbi +87 -0
- data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
- data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
- data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
- data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +23 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +341 -23
@@ -0,0 +1,567 @@
|
|
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
|