etwin 0.0.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.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +11 -0
  5. data/.travis.yml +6 -0
  6. data/Gemfile +9 -0
  7. data/Gemfile.lock +82 -0
  8. data/README.md +30 -0
  9. data/Rakefile +8 -0
  10. data/bin/console +15 -0
  11. data/bin/setup +8 -0
  12. data/etwin.gemspec +37 -0
  13. data/lib/etwin.rb +27 -0
  14. data/lib/etwin/_auth.rb +4 -0
  15. data/lib/etwin/auth.rb +14 -0
  16. data/lib/etwin/auth/_auth_context.rb +30 -0
  17. data/lib/etwin/auth/auth_context.rb +9 -0
  18. data/lib/etwin/auth/auth_scope.rb +25 -0
  19. data/lib/etwin/auth/auth_type.rb +26 -0
  20. data/lib/etwin/auth/guest_auth_context.rb +71 -0
  21. data/lib/etwin/auth/user_auth_context.rb +83 -0
  22. data/lib/etwin/client.rb +11 -0
  23. data/lib/etwin/client/auth.rb +66 -0
  24. data/lib/etwin/client/etwin_client.rb +17 -0
  25. data/lib/etwin/client/http_etwin_client.rb +36 -0
  26. data/lib/etwin/core.rb +10 -0
  27. data/lib/etwin/core/object_type.rb +35 -0
  28. data/lib/etwin/hammerfest.rb +13 -0
  29. data/lib/etwin/hammerfest/hammerfest_server.rb +27 -0
  30. data/lib/etwin/hammerfest/hammerfest_user_id.rb +57 -0
  31. data/lib/etwin/hammerfest/hammerfest_username.rb +57 -0
  32. data/lib/etwin/hammerfest/short_hammerfest_user.rb +103 -0
  33. data/lib/etwin/link.rb +15 -0
  34. data/lib/etwin/link/hammerfest_link.rb +106 -0
  35. data/lib/etwin/link/link_action.rb +93 -0
  36. data/lib/etwin/link/twinoid_link.rb +106 -0
  37. data/lib/etwin/link/versioned_hammerfest_link.rb +93 -0
  38. data/lib/etwin/link/versioned_links.rb +123 -0
  39. data/lib/etwin/link/versioned_twinoid_link.rb +93 -0
  40. data/lib/etwin/twinoid.rb +12 -0
  41. data/lib/etwin/twinoid/short_twinoid_user.rb +93 -0
  42. data/lib/etwin/twinoid/twinoid_user_display_name.rb +57 -0
  43. data/lib/etwin/twinoid/twinoid_user_id.rb +57 -0
  44. data/lib/etwin/user.rb +15 -0
  45. data/lib/etwin/user/short_user.rb +93 -0
  46. data/lib/etwin/user/user.rb +123 -0
  47. data/lib/etwin/user/user_display_name.rb +57 -0
  48. data/lib/etwin/user/user_display_name_version.rb +83 -0
  49. data/lib/etwin/user/user_display_name_versions.rb +83 -0
  50. data/lib/etwin/user/user_id.rb +57 -0
  51. data/lib/etwin/version.rb +6 -0
  52. data/sorbet/config +2 -0
  53. data/sorbet/rbi/gems/ast.rbi +48 -0
  54. data/sorbet/rbi/gems/debase.rbi +67 -0
  55. data/sorbet/rbi/gems/irb.rbi +352 -0
  56. data/sorbet/rbi/gems/parallel.rbi +83 -0
  57. data/sorbet/rbi/gems/parser.rbi +1405 -0
  58. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  59. data/sorbet/rbi/gems/rake.rbi +644 -0
  60. data/sorbet/rbi/gems/regexp_parser.rbi +914 -0
  61. data/sorbet/rbi/gems/reline.rbi +556 -0
  62. data/sorbet/rbi/gems/rexml.rbi +605 -0
  63. data/sorbet/rbi/gems/rspec-core.rbi +1920 -0
  64. data/sorbet/rbi/gems/rspec-expectations.rbi +1148 -0
  65. data/sorbet/rbi/gems/rspec-mocks.rbi +1090 -0
  66. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  67. data/sorbet/rbi/gems/rspec.rbi +15 -0
  68. data/sorbet/rbi/gems/rubocop-ast.rbi +1338 -0
  69. data/sorbet/rbi/gems/rubocop.rbi +7491 -0
  70. data/sorbet/rbi/gems/ruby-debug-ide.rbi +608 -0
  71. data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
  72. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  73. data/sorbet/rbi/hidden-definitions/errors.txt +4905 -0
  74. data/sorbet/rbi/hidden-definitions/hidden.rbi +9193 -0
  75. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  76. data/sorbet/rbi/todo.rbi +7 -0
  77. metadata +220 -0
@@ -0,0 +1,57 @@
1
+ # typed: strict
2
+ # frozen_string_literal: true
3
+
4
+ module Etwin
5
+ module User
6
+ # A valid Eternal-Twin user display name
7
+ class UserDisplayName
8
+ extend T::Helpers
9
+ extend T::Sig
10
+
11
+ final!
12
+
13
+ protected
14
+
15
+ sig(:final) { returns(String) }
16
+ attr_reader :inner
17
+
18
+ public
19
+
20
+ sig(:final) { params(inner: String).void }
21
+ def initialize(inner)
22
+ @inner = T.let(inner.freeze, String)
23
+ freeze
24
+ end
25
+
26
+ sig(:final) { params(other: BasicObject).returns(T::Boolean) }
27
+ def ==(other)
28
+ case other
29
+ when UserDisplayName
30
+ @inner == other.inner
31
+ else
32
+ false
33
+ end
34
+ end
35
+
36
+ sig(:final) { returns(Integer) }
37
+ def hash
38
+ @inner.hash
39
+ end
40
+
41
+ sig(:final) { returns(String) }
42
+ def to_s
43
+ @inner
44
+ end
45
+
46
+ sig(:final) { returns(String) }
47
+ def as_json
48
+ @inner
49
+ end
50
+
51
+ sig(:final) { returns(String) }
52
+ def inspect
53
+ "UserDisplayName(#{@inner})"
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,83 @@
1
+ # typed: strict
2
+ # frozen_string_literal: true
3
+
4
+ module Etwin
5
+ module User
6
+ # Eternal-Twin user display name with metadata
7
+ class UserDisplayNameVersion
8
+ extend T::Helpers
9
+ extend T::Sig
10
+
11
+ final!
12
+
13
+ sig(:final) { returns(UserDisplayName) }
14
+ attr_reader :value
15
+
16
+ sig(:final) { params(value: UserDisplayName).void }
17
+ def initialize(value)
18
+ @value = T.let(value, UserDisplayName)
19
+ freeze
20
+ end
21
+
22
+ sig(:final) { params(other: BasicObject).returns(T::Boolean) }
23
+ def ==(other)
24
+ case other
25
+ when UserDisplayNameVersion
26
+ @value == other.value
27
+ else
28
+ false
29
+ end
30
+ end
31
+
32
+ sig(:final) { returns(Integer) }
33
+ def hash
34
+ [@value].hash
35
+ end
36
+
37
+ # https://github.com/sorbet/sorbet/blob/master/rbi/stdlib/json.rbi#L194
38
+ sig(:final) { params(opts: T.untyped).returns(String) }
39
+ def to_json(opts = nil)
40
+ JSON.generate(as_json, opts)
41
+ end
42
+
43
+ sig(:final) { returns(T::Hash[String, T.untyped]) }
44
+ def as_json
45
+ {
46
+ 'value' => @value.as_json
47
+ }
48
+ end
49
+
50
+ sig(:final) { returns(String) }
51
+ def inspect
52
+ PP.singleline_pp(self, String.new)
53
+ end
54
+
55
+ sig(:final) { params(pp: T.untyped).returns(T.untyped) }
56
+ def pretty_print(pp)
57
+ pp.group(0, "#{self.class.name}(", ')') do
58
+ pp.nest 1 do
59
+ pp.breakable ''
60
+ pp.text 'value='
61
+ pp.pp @value
62
+ end
63
+ pp.breakable ''
64
+ end
65
+ end
66
+
67
+ class << self
68
+ extend T::Sig
69
+
70
+ sig(:final) { params(json_str: String).returns(T.attached_class) }
71
+ def from_json(json_str)
72
+ deserialize JSON.parse(json_str)
73
+ end
74
+
75
+ sig(:final) { params(raw: T.untyped).returns(T.attached_class) }
76
+ def deserialize(raw)
77
+ value = UserDisplayName.new(raw['value'])
78
+ new(value)
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,83 @@
1
+ # typed: strict
2
+ # frozen_string_literal: true
3
+
4
+ module Etwin
5
+ module User
6
+ # Potentially multi-valued Eternal-Twin user display name
7
+ class UserDisplayNameVersions
8
+ extend T::Helpers
9
+ extend T::Sig
10
+
11
+ final!
12
+
13
+ sig(:final) { returns(UserDisplayNameVersion) }
14
+ attr_reader :current
15
+
16
+ sig(:final) { params(current: UserDisplayNameVersion).void }
17
+ def initialize(current)
18
+ @current = T.let(current, UserDisplayNameVersion)
19
+ freeze
20
+ end
21
+
22
+ sig(:final) { params(other: BasicObject).returns(T::Boolean) }
23
+ def ==(other)
24
+ case other
25
+ when UserDisplayNameVersions
26
+ @current == other.current
27
+ else
28
+ false
29
+ end
30
+ end
31
+
32
+ sig(:final) { returns(Integer) }
33
+ def hash
34
+ [@current].hash
35
+ end
36
+
37
+ # https://github.com/sorbet/sorbet/blob/master/rbi/stdlib/json.rbi#L194
38
+ sig(:final) { params(opts: T.untyped).returns(String) }
39
+ def to_json(opts = nil)
40
+ JSON.generate(as_json, opts)
41
+ end
42
+
43
+ sig(:final) { returns(T::Hash[String, T.untyped]) }
44
+ def as_json
45
+ {
46
+ 'current' => @current.as_json
47
+ }
48
+ end
49
+
50
+ sig(:final) { returns(String) }
51
+ def inspect
52
+ PP.singleline_pp(self, String.new)
53
+ end
54
+
55
+ sig(:final) { params(pp: T.untyped).returns(T.untyped) }
56
+ def pretty_print(pp)
57
+ pp.group(0, "#{self.class.name}(", ')') do
58
+ pp.nest 1 do
59
+ pp.breakable ''
60
+ pp.text 'current='
61
+ pp.pp @current
62
+ end
63
+ pp.breakable ''
64
+ end
65
+ end
66
+
67
+ class << self
68
+ extend T::Sig
69
+
70
+ sig(:final) { params(json_str: String).returns(T.attached_class) }
71
+ def from_json(json_str)
72
+ deserialize JSON.parse(json_str)
73
+ end
74
+
75
+ sig(:final) { params(raw: T.untyped).returns(T.attached_class) }
76
+ def deserialize(raw)
77
+ current = UserDisplayNameVersion.deserialize(raw['current'])
78
+ new(current)
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,57 @@
1
+ # typed: strict
2
+ # frozen_string_literal: true
3
+
4
+ module Etwin
5
+ module User
6
+ # A valid Eternal-Twin user id
7
+ class UserId
8
+ extend T::Helpers
9
+ extend T::Sig
10
+
11
+ final!
12
+
13
+ protected
14
+
15
+ sig(:final) { returns(String) }
16
+ attr_reader :inner
17
+
18
+ public
19
+
20
+ sig(:final) { params(inner: String).void }
21
+ def initialize(inner)
22
+ @inner = T.let(inner.freeze, String)
23
+ freeze
24
+ end
25
+
26
+ sig(:final) { params(other: BasicObject).returns(T::Boolean) }
27
+ def ==(other)
28
+ case other
29
+ when UserId
30
+ @inner == other.inner
31
+ else
32
+ false
33
+ end
34
+ end
35
+
36
+ sig(:final) { returns(Integer) }
37
+ def hash
38
+ @inner.hash
39
+ end
40
+
41
+ sig(:final) { returns(String) }
42
+ def to_s
43
+ @inner
44
+ end
45
+
46
+ sig(:final) { returns(String) }
47
+ def as_json
48
+ @inner
49
+ end
50
+
51
+ sig(:final) { returns(String) }
52
+ def inspect
53
+ "UserId(#{@inner})"
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,6 @@
1
+ # typed: strict
2
+ # frozen_string_literal: true
3
+
4
+ module Etwin
5
+ VERSION = '0.0.1'
6
+ end
@@ -0,0 +1,2 @@
1
+ --dir
2
+ .
@@ -0,0 +1,48 @@
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/ast/all/ast.rbi
9
+ #
10
+ # ast-2.4.1
11
+
12
+ module AST
13
+ end
14
+ class AST::Node
15
+ def +(array); end
16
+ def <<(element); end
17
+ def ==(other); end
18
+ def append(element); end
19
+ def assign_properties(properties); end
20
+ def children; end
21
+ def clone; end
22
+ def concat(array); end
23
+ def dup; end
24
+ def eql?(other); end
25
+ def fancy_type; end
26
+ def hash; end
27
+ def initialize(type, children = nil, properties = nil); end
28
+ def inspect(indent = nil); end
29
+ def original_dup; end
30
+ def to_a; end
31
+ def to_ast; end
32
+ def to_s(indent = nil); end
33
+ def to_sexp(indent = nil); end
34
+ def to_sexp_array; end
35
+ def type; end
36
+ def updated(type = nil, children = nil, properties = nil); end
37
+ end
38
+ class AST::Processor
39
+ include AST::Processor::Mixin
40
+ end
41
+ module AST::Processor::Mixin
42
+ def handler_missing(node); end
43
+ def process(node); end
44
+ def process_all(nodes); end
45
+ end
46
+ module AST::Sexp
47
+ def s(type, *children); end
48
+ end
@@ -0,0 +1,67 @@
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/debase/all/debase.rbi
9
+ #
10
+ # debase-2.3.2
11
+
12
+ module Debase
13
+ def self.add_breakpoint(file, line, block_index = nil, is_all_suspensions = nil, expr = nil); end
14
+ def self.add_catchpoint(exception); end
15
+ def self.clear_catchpoints; end
16
+ def self.debug; end
17
+ def self.do_set_flags(iseq, path); end
18
+ def self.file_filter; end
19
+ def self.handler; end
20
+ def self.handler=(arg0); end
21
+ def self.keep_frame_binding; end
22
+ def self.keep_frame_binding=(arg0); end
23
+ def self.last_context; end
24
+ def self.monkey_patch_prepend; end
25
+ def self.mp_load_iseq; end
26
+ def self.post_mortem?; end
27
+ def self.remove_breakpoint(id); end
28
+ def self.remove_catchpoint(exception); end
29
+ def self.skip; end
30
+ def self.source_reload; end
31
+ def self.start(options = nil, &block); end
32
+ def self.start_; end
33
+ def self.stop; end
34
+ def self.tracing; end
35
+ def self.tracing=(arg0); end
36
+ end
37
+ class Debase::Context
38
+ def at_breakpoint(breakpoint); end
39
+ def at_catchpoint(excpt); end
40
+ def at_line(file, line); end
41
+ def at_return(file, line); end
42
+ def at_tracing(file, line); end
43
+ def frame_args_info(frame_no = nil); end
44
+ def frame_class(frame_no = nil); end
45
+ def frame_locals(frame_no = nil); end
46
+ def handler; end
47
+ end
48
+ module InvalidName___Class_0x00___InstructionSequenceMixin_7
49
+ def translate(iseq); end
50
+ end
51
+ module InvalidName___Class_0x00___InstructionSequenceMixin2_8
52
+ def do_set_flags(iseq, path); end
53
+ def load_iseq(path); end
54
+ end
55
+ class Debase::FileFilter
56
+ def accept?(file_path); end
57
+ def disable; end
58
+ def enable; end
59
+ def exclude(file_path); end
60
+ def excluded; end
61
+ def include(file_path); end
62
+ def included; end
63
+ def initialize; end
64
+ end
65
+ class Debase::DebugThread < Thread
66
+ def self.inherited; end
67
+ end
@@ -0,0 +1,352 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
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/irb/all/irb.rbi
9
+ #
10
+ # irb-1.2.7
11
+
12
+ module IRB
13
+ def self.CurrentContext; end
14
+ def self.Inspector(inspect, init = nil); end
15
+ def self.conf; end
16
+ def self.default_src_encoding; end
17
+ def self.delete_caller; end
18
+ def self.easter_egg(type = nil); end
19
+ def self.init_config(ap_path); end
20
+ def self.init_error; end
21
+ def self.irb_abort(irb, exception = nil); end
22
+ def self.irb_at_exit; end
23
+ def self.irb_exit(irb, ret); end
24
+ def self.load_modules; end
25
+ def self.parse_opts(argv: nil); end
26
+ def self.rc_file(ext = nil); end
27
+ def self.rc_file_generators; end
28
+ def self.run_config; end
29
+ def self.set_encoding(extern, intern = nil, override: nil); end
30
+ def self.setup(ap_path, argv: nil); end
31
+ def self.start(ap_path = nil); end
32
+ def self.version; end
33
+ end
34
+ class IRB::DefaultEncodings < Struct
35
+ def external; end
36
+ def external=(_); end
37
+ def internal; end
38
+ def internal=(_); end
39
+ def self.[](*arg0); end
40
+ def self.inspect; end
41
+ def self.members; end
42
+ def self.new(*arg0); end
43
+ end
44
+ class IRB::WorkSpace
45
+ def binding; end
46
+ def code_around_binding; end
47
+ def evaluate(context, statements, file = nil, line = nil); end
48
+ def filter_backtrace(bt); end
49
+ def initialize(*main); end
50
+ def local_variable_get(name); end
51
+ def local_variable_set(name, value); end
52
+ def main; end
53
+ end
54
+ class IRB::Inspector
55
+ def init; end
56
+ def initialize(inspect_proc, init_proc = nil); end
57
+ def inspect_value(v); end
58
+ def self.def_inspector(key, arg = nil, &block); end
59
+ def self.keys_with_inspector(inspector); end
60
+ end
61
+ module IRB::InputCompletor
62
+ def self.ignored_modules; end
63
+ def self.retrieve_completion_data(input, bind: nil, doc_namespace: nil); end
64
+ def self.select_message(receiver, message, candidates, sep = nil); end
65
+ end
66
+ class IRB::InputMethod
67
+ def file_name; end
68
+ def gets; end
69
+ def initialize(file = nil); end
70
+ def inspect; end
71
+ def prompt; end
72
+ def prompt=(arg0); end
73
+ def readable_after_eof?; end
74
+ def winsize; end
75
+ end
76
+ class IRB::StdioInputMethod < IRB::InputMethod
77
+ def encoding; end
78
+ def eof?; end
79
+ def gets; end
80
+ def initialize; end
81
+ def inspect; end
82
+ def line(line_no); end
83
+ def readable_after_eof?; end
84
+ end
85
+ class IRB::FileInputMethod < IRB::InputMethod
86
+ def encoding; end
87
+ def eof?; end
88
+ def file_name; end
89
+ def gets; end
90
+ def initialize(file); end
91
+ def inspect; end
92
+ end
93
+ class IRB::ReadlineInputMethod < IRB::InputMethod
94
+ def encoding; end
95
+ def eof?; end
96
+ def gets; end
97
+ def initialize; end
98
+ def inspect; end
99
+ def line(line_no); end
100
+ def readable_after_eof?; end
101
+ def self.initialize_readline; end
102
+ end
103
+ class IRB::ReidlineInputMethod < IRB::InputMethod
104
+ def auto_indent(&block); end
105
+ def check_termination(&block); end
106
+ def dynamic_prompt(&block); end
107
+ def encoding; end
108
+ def eof?; end
109
+ def gets; end
110
+ def initialize; end
111
+ def inspect; end
112
+ def line(line_no); end
113
+ def readable_after_eof?; end
114
+ include Reline
115
+ end
116
+ class IRB::OutputMethod
117
+ def parse_printf_format(format, opts); end
118
+ def pp(*objs); end
119
+ def ppx(prefix, *objs); end
120
+ def print(*opts); end
121
+ def printf(format, *opts); end
122
+ def printn(*opts); end
123
+ def puts(*objs); end
124
+ end
125
+ class IRB::OutputMethod::NotImplementedError < StandardError
126
+ def initialize(val); end
127
+ end
128
+ class IRB::StdioOutputMethod < IRB::OutputMethod
129
+ def print(*opts); end
130
+ end
131
+ class IRB::Context
132
+ def __exit__(*arg0); end
133
+ def __inspect__; end
134
+ def __to_s__; end
135
+ def ap_name; end
136
+ def ap_name=(arg0); end
137
+ def auto_indent_mode; end
138
+ def auto_indent_mode=(arg0); end
139
+ def back_trace_limit; end
140
+ def back_trace_limit=(arg0); end
141
+ def echo; end
142
+ def echo=(arg0); end
143
+ def echo?; end
144
+ def echo_on_assignment; end
145
+ def echo_on_assignment=(arg0); end
146
+ def echo_on_assignment?; end
147
+ def eval_history=(*opts, &b); end
148
+ def evaluate(line, line_no, exception: nil); end
149
+ def exit(ret = nil); end
150
+ def file_input?; end
151
+ def ignore_eof; end
152
+ def ignore_eof=(arg0); end
153
+ def ignore_eof?; end
154
+ def ignore_sigint; end
155
+ def ignore_sigint=(arg0); end
156
+ def ignore_sigint?; end
157
+ def initialize(irb, workspace = nil, input_method = nil); end
158
+ def inspect; end
159
+ def inspect?; end
160
+ def inspect_last_value; end
161
+ def inspect_mode; end
162
+ def inspect_mode=(opt); end
163
+ def io; end
164
+ def io=(arg0); end
165
+ def irb; end
166
+ def irb=(arg0); end
167
+ def irb_name; end
168
+ def irb_name=(arg0); end
169
+ def irb_path; end
170
+ def irb_path=(arg0); end
171
+ def last_value; end
172
+ def load_modules; end
173
+ def load_modules=(arg0); end
174
+ def main; end
175
+ def newline_before_multiline_output; end
176
+ def newline_before_multiline_output=(arg0); end
177
+ def newline_before_multiline_output?; end
178
+ def prompt_c; end
179
+ def prompt_c=(arg0); end
180
+ def prompt_i; end
181
+ def prompt_i=(arg0); end
182
+ def prompt_mode; end
183
+ def prompt_mode=(mode); end
184
+ def prompt_n; end
185
+ def prompt_n=(arg0); end
186
+ def prompt_s; end
187
+ def prompt_s=(arg0); end
188
+ def prompting?; end
189
+ def rc; end
190
+ def rc=(arg0); end
191
+ def rc?; end
192
+ def return_format; end
193
+ def return_format=(arg0); end
194
+ def save_history=(*opts, &b); end
195
+ def set_last_value(value); end
196
+ def thread; end
197
+ def to_s; end
198
+ def use_colorize; end
199
+ def use_colorize?; end
200
+ def use_loader=(*opts, &b); end
201
+ def use_multiline; end
202
+ def use_multiline?; end
203
+ def use_readline; end
204
+ def use_readline?; end
205
+ def use_reidline; end
206
+ def use_reidline?; end
207
+ def use_singleline; end
208
+ def use_singleline?; end
209
+ def use_tracer=(*opts, &b); end
210
+ def verbose; end
211
+ def verbose=(arg0); end
212
+ def verbose?; end
213
+ def workspace; end
214
+ def workspace=(arg0); end
215
+ def workspace_home; end
216
+ end
217
+ module IRB::ExtendCommandBundle
218
+ def install_alias_method(to, from, override = nil); end
219
+ def irb(*opts, &b); end
220
+ def irb_change_workspace(*opts, &b); end
221
+ def irb_context; end
222
+ def irb_current_working_workspace(*opts, &b); end
223
+ def irb_exit(ret = nil); end
224
+ def irb_fg(*opts, &b); end
225
+ def irb_help(*opts, &b); end
226
+ def irb_info(*opts, &b); end
227
+ def irb_jobs(*opts, &b); end
228
+ def irb_kill(*opts, &b); end
229
+ def irb_load(*opts, &b); end
230
+ def irb_pop_workspace(*opts, &b); end
231
+ def irb_push_workspace(*opts, &b); end
232
+ def irb_require(*opts, &b); end
233
+ def irb_source(*opts, &b); end
234
+ def irb_workspaces(*opts, &b); end
235
+ def self.def_extend_command(cmd_name, cmd_class, load_file = nil, *aliases); end
236
+ def self.extend_object(obj); end
237
+ def self.install_extend_commands; end
238
+ def self.irb_original_method_name(method_name); end
239
+ end
240
+ module IRB::ContextExtender
241
+ def self.def_extend_command(cmd_name, load_file, *aliases); end
242
+ def self.install_extend_commands; end
243
+ end
244
+ module IRB::MethodExtender
245
+ def def_post_proc(base_method, extend_method); end
246
+ def def_pre_proc(base_method, extend_method); end
247
+ def new_alias_name(name, prefix = nil, postfix = nil); end
248
+ end
249
+ class RubyLex
250
+ def check_code_block(code); end
251
+ def check_corresponding_token_depth; end
252
+ def check_newline_depth_difference; end
253
+ def check_state(code); end
254
+ def check_string_literal; end
255
+ def each_top_level_statement; end
256
+ def initialize; end
257
+ def initialize_input; end
258
+ def lex; end
259
+ def process_continue; end
260
+ def process_literal_type; end
261
+ def process_nesting_level; end
262
+ def prompt; end
263
+ def ripper_lex_without_warning(code); end
264
+ def self.compile_with_errors_suppressed(code); end
265
+ def set_auto_indent(context); end
266
+ def set_input(io, p = nil, &block); end
267
+ def set_prompt(p = nil, &block); end
268
+ end
269
+ class RubyLex::TerminateLineInput < StandardError
270
+ def initialize; end
271
+ end
272
+ class IRB::Locale
273
+ def String(mes); end
274
+ def each_localized_path(dir, file); end
275
+ def each_sublocale; end
276
+ def encoding; end
277
+ def find(file, paths = nil); end
278
+ def format(*opts); end
279
+ def gets(*rs); end
280
+ def initialize(locale = nil); end
281
+ def lang; end
282
+ def load(file, priv = nil); end
283
+ def modifier; end
284
+ def print(*opts); end
285
+ def printf(*opts); end
286
+ def puts(*opts); end
287
+ def readline(*rs); end
288
+ def real_load(path, priv); end
289
+ def require(file, priv = nil); end
290
+ def search_file(lib_paths, dir, file); end
291
+ def territory; end
292
+ def toplevel_load(*arg0); end
293
+ end
294
+ module IRB::Color
295
+ def self.clear; end
296
+ def self.colorable?; end
297
+ def self.colorize(text, seq); end
298
+ def self.colorize_code(code, complete: nil); end
299
+ def self.dispatch_seq(token, expr, str, in_symbol:); end
300
+ def self.inspect_colorable?(obj, seen: nil); end
301
+ def self.scan(code, allow_last_error:); end
302
+ def self.supported?; end
303
+ def self.without_circular_ref(obj, seen:, &block); end
304
+ end
305
+ class IRB::Color::SymbolState
306
+ def initialize; end
307
+ def scan_token(token); end
308
+ end
309
+ class InvalidName___Class_0x00___Vec_1
310
+ def cross(other); end
311
+ def dot(other); end
312
+ def initialize(x, y, z); end
313
+ def normalize; end
314
+ def sub(other); end
315
+ def x; end
316
+ def y; end
317
+ def z; end
318
+ end
319
+ class InvalidName___Class_0x00___Canvas_2
320
+ def draw; end
321
+ def initialize(arg0); end
322
+ def line(arg0, arg1); end
323
+ def line0(p1, p2); end
324
+ end
325
+ class InvalidName___Class_0x00___RubyModel_3
326
+ def init_ruby_model; end
327
+ def initialize; end
328
+ def render_frame(i); end
329
+ end
330
+ class IRB::Abort < Exception
331
+ end
332
+ class IRB::Irb
333
+ def assignment_expression?(line); end
334
+ def context; end
335
+ def eval_input; end
336
+ def handle_exception(exc); end
337
+ def initialize(workspace = nil, input_method = nil); end
338
+ def inspect; end
339
+ def output_value(omit = nil); end
340
+ def prompt(prompt, ltype, indent, line_no); end
341
+ def run(conf = nil); end
342
+ def scanner; end
343
+ def scanner=(arg0); end
344
+ def signal_handle; end
345
+ def signal_status(status); end
346
+ def suspend_context(context); end
347
+ def suspend_input_method(input_method); end
348
+ def suspend_name(path = nil, name = nil); end
349
+ def suspend_workspace(workspace); end
350
+ end
351
+ class Binding
352
+ end