zelkova 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rubocop.yml +57 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +19 -0
- data/Gemfile.lock +173 -0
- data/LICENSE.txt +21 -0
- data/README.md +53 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/bin/tapioca +27 -0
- data/lib/zelkova/edge.rb +26 -0
- data/lib/zelkova/graph.rb +104 -0
- data/lib/zelkova/node.rb +32 -0
- data/lib/zelkova/version.rb +4 -0
- data/lib/zelkova.rb +10 -0
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/byebug.rbi +1041 -0
- data/sorbet/rbi/gems/climate_control.rbi +46 -0
- data/sorbet/rbi/gems/coderay.rbi +92 -0
- data/sorbet/rbi/gems/eikon.rbi +48 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/minitest.rbi +422 -0
- data/sorbet/rbi/gems/pry.rbi +1949 -0
- data/sorbet/rbi/gems/rake.rbi +645 -0
- data/sorbet/rbi/gems/ruby-vips.rbi +656 -0
- data/sorbet/rbi/gems/ruby_jard.rbi +681 -0
- data/sorbet/rbi/gems/terrapin.rbi +116 -0
- data/sorbet/rbi/gems/tty-screen.rbi +66 -0
- data/sorbet/rbi/gems/zelkova.rbi +15 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +34600 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +17564 -0
- data/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +1138 -0
- data/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +408 -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/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/railties/>=6.1/railties.rbi +15 -0
- data/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +110 -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/rubocop/>=1.8/rubocop.rbi +12 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop-performance/~>1.6/rubocop-performance.rbi +149 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rails/~>2.5/rubocop-rails.rbi +328 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +32 -0
- data/sorbet/rbi/todo.rbi +15 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/zelkova.gemspec +31 -0
- metadata +110 -0
@@ -0,0 +1,681 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: ignore
|
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/ruby_jard/all/ruby_jard.rbi
|
9
|
+
#
|
10
|
+
# ruby_jard-0.3.1
|
11
|
+
|
12
|
+
module RubyJard
|
13
|
+
def self.all_files; end
|
14
|
+
def self.benchmark(name); end
|
15
|
+
def self.clear_debug; end
|
16
|
+
def self.config; end
|
17
|
+
def self.debug(*info); end
|
18
|
+
def self.debug_info; end
|
19
|
+
def self.error(exception); end
|
20
|
+
def self.global_key_bindings; end
|
21
|
+
end
|
22
|
+
class RubyJard::PathClassifier
|
23
|
+
def classify(path); end
|
24
|
+
def fetch_gem_paths; end
|
25
|
+
def initialize; end
|
26
|
+
def try_classify_evaluation(path); end
|
27
|
+
def try_classify_gem(path); end
|
28
|
+
def try_classify_internal(path); end
|
29
|
+
def try_classify_ruby_script(path); end
|
30
|
+
def try_classify_source_tree(path); end
|
31
|
+
def try_classify_stdlib(path); end
|
32
|
+
end
|
33
|
+
class RubyJard::PathFilter
|
34
|
+
def initialize(config: nil, path_classifier: nil); end
|
35
|
+
def match?(path); end
|
36
|
+
def match_application?(path); end
|
37
|
+
def match_everything?(path); end
|
38
|
+
def match_excluded?(path, expand_path: nil); end
|
39
|
+
def match_gems?(path); end
|
40
|
+
def match_included?(path, expand_path: nil); end
|
41
|
+
def match_source_tree?(path); end
|
42
|
+
end
|
43
|
+
class RubyJard::ControlFlow
|
44
|
+
def arguments; end
|
45
|
+
def command; end
|
46
|
+
def initialize(command, arguments = nil); end
|
47
|
+
def self.dispatch(command, arguments = nil); end
|
48
|
+
def self.listen; end
|
49
|
+
def validate!; end
|
50
|
+
end
|
51
|
+
class RubyJard::Config
|
52
|
+
def alias_to_debugger; end
|
53
|
+
def alias_to_debugger=(arg0); end
|
54
|
+
def color_scheme; end
|
55
|
+
def color_scheme=(arg0); end
|
56
|
+
def config; end
|
57
|
+
def enabled_screens; end
|
58
|
+
def enabled_screens=(arg0); end
|
59
|
+
def filter; end
|
60
|
+
def filter=(arg0); end
|
61
|
+
def filter_excluded; end
|
62
|
+
def filter_excluded=(arg0); end
|
63
|
+
def filter_included; end
|
64
|
+
def filter_included=(arg0); end
|
65
|
+
def initialize; end
|
66
|
+
def layout; end
|
67
|
+
def layout=(arg0); end
|
68
|
+
def self.load_config(config, path); end
|
69
|
+
def self.smart_load; end
|
70
|
+
end
|
71
|
+
class RubyJard::Keys
|
72
|
+
end
|
73
|
+
class RubyJard::KeyBinding
|
74
|
+
def action; end
|
75
|
+
def initialize(sequence, action); end
|
76
|
+
def sequence; end
|
77
|
+
end
|
78
|
+
class RubyJard::KeyBindings
|
79
|
+
def indexes; end
|
80
|
+
def initialize; end
|
81
|
+
def match(&read_key); end
|
82
|
+
def push(sequence, action); end
|
83
|
+
def reindex(key_binding); end
|
84
|
+
def to_a; end
|
85
|
+
end
|
86
|
+
class RubyJard::Pager
|
87
|
+
def enabled?; end
|
88
|
+
def initialize(pry_instance); end
|
89
|
+
def open(options = nil); end
|
90
|
+
def page(text); end
|
91
|
+
end
|
92
|
+
class RubyJard::Pager::JardPageTracker < Pry::Pager::PageTracker
|
93
|
+
def col; end
|
94
|
+
def row; end
|
95
|
+
end
|
96
|
+
class RubyJard::Pager::LessPager < Pry::Pager::NullPager
|
97
|
+
def close; end
|
98
|
+
def initialize(pry_instance, force_open: nil, pager_start_at_the_end: nil, prompt: nil); end
|
99
|
+
def invoked_pager?; end
|
100
|
+
def list_prompt; end
|
101
|
+
def open_pager; end
|
102
|
+
def write(str); end
|
103
|
+
def write_into_pager(str); end
|
104
|
+
end
|
105
|
+
class RubyJard::ReplProxy
|
106
|
+
def handle_interrupt_command; end
|
107
|
+
def handle_key_binding(key_binding); end
|
108
|
+
def initialize(key_bindings: nil, input: nil, output: nil); end
|
109
|
+
def listen_key_press; end
|
110
|
+
def pry_command_set; end
|
111
|
+
def pry_hooks; end
|
112
|
+
def pry_instance; end
|
113
|
+
def pry_jard_prompt; end
|
114
|
+
def pry_pty_output; end
|
115
|
+
def pry_repl(current_binding); end
|
116
|
+
def read_key; end
|
117
|
+
def repl(current_binding); end
|
118
|
+
def write_output(content); end
|
119
|
+
end
|
120
|
+
class RubyJard::ReplProxy::FlowInterrupt < StandardError
|
121
|
+
def flow; end
|
122
|
+
def initialize(msg = nil, flow = nil); end
|
123
|
+
end
|
124
|
+
class RubyJard::ReplProxy::ReplState
|
125
|
+
def check(method_name); end
|
126
|
+
def exited!; end
|
127
|
+
def exited?; end
|
128
|
+
def exiting!; end
|
129
|
+
def exiting?; end
|
130
|
+
def initialize; end
|
131
|
+
def processing!; end
|
132
|
+
def processing?; end
|
133
|
+
def ready!; end
|
134
|
+
def ready?; end
|
135
|
+
end
|
136
|
+
class RubyJard::Console
|
137
|
+
def self.attachable?; end
|
138
|
+
def self.cached_tput; end
|
139
|
+
def self.clear_screen(output); end
|
140
|
+
def self.clear_screen_to_end(output); end
|
141
|
+
def self.cooked!(output); end
|
142
|
+
def self.disable_cursor!(output); end
|
143
|
+
def self.disable_echo!(output); end
|
144
|
+
def self.enable_cursor!(output); end
|
145
|
+
def self.enable_echo!(output); end
|
146
|
+
def self.getch(input, timeout); end
|
147
|
+
def self.input; end
|
148
|
+
def self.move_to(output, x, y); end
|
149
|
+
def self.output; end
|
150
|
+
def self.raw!(output); end
|
151
|
+
def self.redirected?; end
|
152
|
+
def self.screen_size(output); end
|
153
|
+
def self.stty(*args); end
|
154
|
+
def self.tput(*args); end
|
155
|
+
end
|
156
|
+
module RubyJard::Decorators
|
157
|
+
end
|
158
|
+
class RubyJard::Decorators::ColorDecorator
|
159
|
+
def decorate(style_names, content); end
|
160
|
+
def initialize(color_scheme); end
|
161
|
+
def translate_color(color, foreground); end
|
162
|
+
def translate_styles(styles = nil); end
|
163
|
+
end
|
164
|
+
class RubyJard::Decorators::PathDecorator
|
165
|
+
def compact_with_relative_path(path); end
|
166
|
+
def decorate(path, lineno = nil); end
|
167
|
+
def decorate_gem(_path, lineno, info); end
|
168
|
+
def decorate_source_tree(path, lineno); end
|
169
|
+
def decorate_stdlib(_path, lineno, info); end
|
170
|
+
def initialize(path_classifier: nil); end
|
171
|
+
end
|
172
|
+
class RubyJard::Decorators::LocDecorator
|
173
|
+
def decorate(loc, file = nil); end
|
174
|
+
def extension(file); end
|
175
|
+
def initialize; end
|
176
|
+
end
|
177
|
+
class RubyJard::Decorators::LocDecorator::JardLocEncoder < CodeRay::Encoders::Encoder
|
178
|
+
def begin_group(kind); end
|
179
|
+
def begin_line(kind); end
|
180
|
+
def end_group(_kind); end
|
181
|
+
def end_line(kind); end
|
182
|
+
def open_token(kind); end
|
183
|
+
def setup(options); end
|
184
|
+
def text_token(text, kind); end
|
185
|
+
end
|
186
|
+
class RubyJard::Decorators::SourceDecorator
|
187
|
+
def codes; end
|
188
|
+
def decorate; end
|
189
|
+
def initialize(file, lineno, window); end
|
190
|
+
def window_end; end
|
191
|
+
def window_start; end
|
192
|
+
end
|
193
|
+
class RubyJard::Decorators::ArrayDecorator
|
194
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
195
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
196
|
+
def do_decorate_multiline(variable, lines:, line_limit:, depth: nil); end
|
197
|
+
def initialize(generic_decorator); end
|
198
|
+
def last_line(total, item_count); end
|
199
|
+
def match?(variable); end
|
200
|
+
def same_type?(variable, sample); end
|
201
|
+
end
|
202
|
+
class RubyJard::Decorators::StringDecorator
|
203
|
+
def decorate_multiline(variable, first_line_limit:, line_limit:, lines:, depth: nil); end
|
204
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
205
|
+
def initialize(generic_decorator); end
|
206
|
+
def match?(variable); end
|
207
|
+
end
|
208
|
+
class RubyJard::Decorators::HashDecorator
|
209
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
210
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
211
|
+
def do_decorate_multiline(variable, lines:, line_limit:, depth: nil); end
|
212
|
+
def initialize(generic_decorator); end
|
213
|
+
def last_line(total, item_count); end
|
214
|
+
def match?(variable); end
|
215
|
+
end
|
216
|
+
class RubyJard::Decorators::StructDecorator
|
217
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
218
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
219
|
+
def do_decorate_multiline(variable, lines:, line_limit:, depth: nil); end
|
220
|
+
def initialize(generic_decorator); end
|
221
|
+
def last_line(total, item_count); end
|
222
|
+
def match?(variable); end
|
223
|
+
end
|
224
|
+
class RubyJard::Decorators::ObjectDecorator
|
225
|
+
def call_inspect(variable); end
|
226
|
+
def decorate_custom_inspection(variable, line_limit:); end
|
227
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
228
|
+
def decorate_native_inspection(variable, line_limit:, depth: nil, with_children: nil); end
|
229
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
230
|
+
def initialize(generic_decorator); end
|
231
|
+
def native_inspect?(variable); end
|
232
|
+
end
|
233
|
+
class RubyJard::Decorators::AttributesDecorator
|
234
|
+
def arrow_span; end
|
235
|
+
def ellipsis_span; end
|
236
|
+
def indent_span; end
|
237
|
+
def initialize(generic_decorator); end
|
238
|
+
def inline_pairs(enum, total:, line_limit:, process_key:, value_proc: nil, depth: nil); end
|
239
|
+
def inline_values(enum, total:, line_limit:, depth: nil); end
|
240
|
+
def inspect_key(key, item_limit, process_key:, depth: nil); end
|
241
|
+
def pair(key, value, line_limit:, process_key:, depth: nil); end
|
242
|
+
def pair_limit(depth); end
|
243
|
+
def separator_span; end
|
244
|
+
def too_deep?(depth, line_limit); end
|
245
|
+
def value(value, line_limit:, depth: nil); end
|
246
|
+
def value_limit(_depth); end
|
247
|
+
end
|
248
|
+
class RubyJard::Decorators::RailsDecorator
|
249
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
250
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
251
|
+
def initialize(generic_decorator); end
|
252
|
+
def match?(variable); end
|
253
|
+
end
|
254
|
+
class RubyJard::Decorators::RailsDecorator::ActiveRecordBaseDecorator
|
255
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
256
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
257
|
+
def initialize(generic_decorator); end
|
258
|
+
def match?(variable); end
|
259
|
+
end
|
260
|
+
class RubyJard::Decorators::RailsDecorator::ActiveRecordRelationDecorator
|
261
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
262
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
263
|
+
def initialize(generic_decorator); end
|
264
|
+
def match?(variable); end
|
265
|
+
def relation_summary(variable, line_limit); end
|
266
|
+
end
|
267
|
+
class RubyJard::Decorators::InspectionDecorator
|
268
|
+
def decorate_multiline(variable, first_line_limit:, lines:, line_limit:, depth: nil); end
|
269
|
+
def decorate_primitive(variable, line_limit); end
|
270
|
+
def decorate_singleline(variable, line_limit:, depth: nil); end
|
271
|
+
def initialize; end
|
272
|
+
def primitive?(variable); end
|
273
|
+
end
|
274
|
+
class RubyJard::Screen
|
275
|
+
def build; end
|
276
|
+
def click(relative_x, relative_y); end
|
277
|
+
def cursor; end
|
278
|
+
def cursor=(arg0); end
|
279
|
+
def initialize(layout, session: nil); end
|
280
|
+
def layout; end
|
281
|
+
def layout=(arg0); end
|
282
|
+
def move_down; end
|
283
|
+
def move_up; end
|
284
|
+
def page_down; end
|
285
|
+
def page_up; end
|
286
|
+
def rows; end
|
287
|
+
def rows=(arg0); end
|
288
|
+
def selected; end
|
289
|
+
def selected=(arg0); end
|
290
|
+
def window; end
|
291
|
+
def window=(arg0); end
|
292
|
+
end
|
293
|
+
class RubyJard::Screens
|
294
|
+
def [](name); end
|
295
|
+
def add_screen(name, screen_class); end
|
296
|
+
def get(name); end
|
297
|
+
def initialize; end
|
298
|
+
def names; end
|
299
|
+
def self.[](*args, ****, &block); end
|
300
|
+
def self.add_screen(*args, ****, &block); end
|
301
|
+
def self.get(*args, ****, &block); end
|
302
|
+
def self.instance; end
|
303
|
+
def self.names(*args, ****, &block); end
|
304
|
+
end
|
305
|
+
class RubyJard::Screens::SourceScreen < RubyJard::Screen
|
306
|
+
def build; end
|
307
|
+
def handle_anonymous_evaluation; end
|
308
|
+
def initialize(*args); end
|
309
|
+
def loc_spans(loc); end
|
310
|
+
def span_lineno(lineno); end
|
311
|
+
def span_mark(lineno); end
|
312
|
+
def title; end
|
313
|
+
end
|
314
|
+
class RubyJard::Screens::BacktraceScreen < RubyJard::Screen
|
315
|
+
def build; end
|
316
|
+
def initialize(*args); end
|
317
|
+
def insert_current_frame; end
|
318
|
+
def span_class_label(frame); end
|
319
|
+
def span_frame_pos(frame); end
|
320
|
+
def span_label_preposition; end
|
321
|
+
def span_method_label(frame); end
|
322
|
+
def span_path(frame); end
|
323
|
+
def title; end
|
324
|
+
end
|
325
|
+
class RubyJard::Screens::ThreadsScreen < RubyJard::Screen
|
326
|
+
def bool_to_int(bool); end
|
327
|
+
def build; end
|
328
|
+
def current_thread?(thread); end
|
329
|
+
def initialize(*args); end
|
330
|
+
def sort_threads(threads); end
|
331
|
+
def span_mark(thread); end
|
332
|
+
def span_thread_label(thread); end
|
333
|
+
def span_thread_location(thread); end
|
334
|
+
def span_thread_name(thread); end
|
335
|
+
def span_thread_status(thread); end
|
336
|
+
def thread_status_style(thread); end
|
337
|
+
def title; end
|
338
|
+
end
|
339
|
+
class RubyJard::Screens::VariablesScreen < RubyJard::Screen
|
340
|
+
def base_row(name, size, assignment, mark, base_inspection); end
|
341
|
+
def build; end
|
342
|
+
def fetch_constant(constant_source, const); end
|
343
|
+
def fetch_constants; end
|
344
|
+
def fetch_global_variables; end
|
345
|
+
def fetch_instance_variables; end
|
346
|
+
def fetch_local_variables; end
|
347
|
+
def fetch_relevant_variables; end
|
348
|
+
def generate_file_tokens(file); end
|
349
|
+
def generate_inline_tokens(file, line); end
|
350
|
+
def initialize(*args); end
|
351
|
+
def inline?(name); end
|
352
|
+
def nested_rows(variable, nested_inspections); end
|
353
|
+
def relevant?(kind, name); end
|
354
|
+
def self_variable; end
|
355
|
+
def sort_variables(variables); end
|
356
|
+
def span_mark(variable, nested_inspections); end
|
357
|
+
def span_name(variable); end
|
358
|
+
def span_size(variable); end
|
359
|
+
def title; end
|
360
|
+
end
|
361
|
+
class RubyJard::Screens::MenuScreen < RubyJard::Screen
|
362
|
+
def align(left_spans, right_spans); end
|
363
|
+
def build; end
|
364
|
+
def generate_left_spans; end
|
365
|
+
def generate_right_spans; end
|
366
|
+
def initialize(*args); end
|
367
|
+
end
|
368
|
+
class RubyJard::ColorScheme
|
369
|
+
def initialize(styles: nil); end
|
370
|
+
def styles_for(element); end
|
371
|
+
def update(element, styles); end
|
372
|
+
end
|
373
|
+
class RubyJard::ColorSchemes
|
374
|
+
def [](name); end
|
375
|
+
def add_color_scheme(name, color_scheme_class); end
|
376
|
+
def each(&block); end
|
377
|
+
def get(name); end
|
378
|
+
def initialize; end
|
379
|
+
def length; end
|
380
|
+
def names; end
|
381
|
+
def self.[](*args, ****, &block); end
|
382
|
+
def self.add_color_scheme(*args, ****, &block); end
|
383
|
+
def self.each(*args, ****, &block); end
|
384
|
+
def self.get(*args, ****, &block); end
|
385
|
+
def self.instance; end
|
386
|
+
def self.length(*args, ****, &block); end
|
387
|
+
def self.names(*args, ****, &block); end
|
388
|
+
end
|
389
|
+
class RubyJard::ColorSchemes::DeepSpaceColorScheme < RubyJard::ColorScheme
|
390
|
+
end
|
391
|
+
class RubyJard::ColorSchemes::X256ColorScheme < RubyJard::ColorScheme
|
392
|
+
end
|
393
|
+
class RubyJard::ColorSchemes::X256LightColorScheme < RubyJard::ColorScheme
|
394
|
+
end
|
395
|
+
class RubyJard::ColorSchemes::GruvboxColorScheme < RubyJard::ColorScheme
|
396
|
+
end
|
397
|
+
class RubyJard::ColorSchemes::OneHalfDarkColorScheme < RubyJard::ColorScheme
|
398
|
+
end
|
399
|
+
class RubyJard::ColorSchemes::OneHalfLightColorScheme < RubyJard::ColorScheme
|
400
|
+
end
|
401
|
+
class RubyJard::Layout
|
402
|
+
def box_height; end
|
403
|
+
def box_height=(arg0); end
|
404
|
+
def box_width; end
|
405
|
+
def box_width=(arg0); end
|
406
|
+
def box_x; end
|
407
|
+
def box_x=(arg0); end
|
408
|
+
def box_y; end
|
409
|
+
def box_y=(arg0); end
|
410
|
+
def height; end
|
411
|
+
def height=(arg0); end
|
412
|
+
def initialize(template: nil, parent_template: nil, width: nil, height: nil, x: nil, y: nil, box_width: nil, box_height: nil, box_x: nil, box_y: nil); end
|
413
|
+
def parent_template; end
|
414
|
+
def parent_template=(arg0); end
|
415
|
+
def template; end
|
416
|
+
def template=(arg0); end
|
417
|
+
def width; end
|
418
|
+
def width=(arg0); end
|
419
|
+
def x; end
|
420
|
+
def x=(arg0); end
|
421
|
+
def y; end
|
422
|
+
def y=(arg0); end
|
423
|
+
end
|
424
|
+
module RubyJard::Templates
|
425
|
+
end
|
426
|
+
class RubyJard::Templates::LayoutTemplate
|
427
|
+
def children; end
|
428
|
+
def fill_height; end
|
429
|
+
def fill_width; end
|
430
|
+
def height; end
|
431
|
+
def height_ratio; end
|
432
|
+
def initialize(height_ratio: nil, width_ratio: nil, min_width: nil, min_height: nil, height: nil, width: nil, children: nil, fill_width: nil, fill_height: nil); end
|
433
|
+
def min_height; end
|
434
|
+
def min_width; end
|
435
|
+
def width; end
|
436
|
+
def width_ratio; end
|
437
|
+
end
|
438
|
+
class RubyJard::Templates::ScreenTemplate
|
439
|
+
def adjust_mode; end
|
440
|
+
def height; end
|
441
|
+
def height_ratio; end
|
442
|
+
def initialize(screen: nil, row_template: nil, height_ratio: nil, width_ratio: nil, min_width: nil, min_height: nil, height: nil, width: nil, adjust_mode: nil); end
|
443
|
+
def min_height; end
|
444
|
+
def min_width; end
|
445
|
+
def row_template; end
|
446
|
+
def screen; end
|
447
|
+
def width; end
|
448
|
+
def width_ratio; end
|
449
|
+
end
|
450
|
+
class RubyJard::LayoutPicker
|
451
|
+
def initialize(width, height, layouts: nil, config: nil); end
|
452
|
+
def pick; end
|
453
|
+
end
|
454
|
+
class RubyJard::LayoutCalculator
|
455
|
+
def adjust_layout_overlap(layout); end
|
456
|
+
def calculate; end
|
457
|
+
def calculate_child_height(child_template, parent_height); end
|
458
|
+
def calculate_child_width(child_template, parent_width); end
|
459
|
+
def calculate_layout(template, width, height, x, y, parent_template); end
|
460
|
+
def initialize(layout_template:, width: nil, height: nil, x: nil, y: nil, config: nil); end
|
461
|
+
def self.calculate(**args); end
|
462
|
+
def stretch_children_layouts(parent_template, parent_width, parent_height, lines); end
|
463
|
+
def visible?(template); end
|
464
|
+
def visible_children(template); end
|
465
|
+
end
|
466
|
+
class RubyJard::Layouts
|
467
|
+
def [](name); end
|
468
|
+
def add_layout(name, layout_class); end
|
469
|
+
def each(&block); end
|
470
|
+
def fallback_layout; end
|
471
|
+
def get(name); end
|
472
|
+
def initialize(fallback_layout = nil); end
|
473
|
+
def self.[](*args, ****, &block); end
|
474
|
+
def self.add_layout(*args, ****, &block); end
|
475
|
+
def self.each(*args, ****, &block); end
|
476
|
+
def self.fallback_layout(*args, ****, &block); end
|
477
|
+
def self.get(*args, ****, &block); end
|
478
|
+
def self.instance; end
|
479
|
+
end
|
480
|
+
class RubyJard::Row
|
481
|
+
def columns; end
|
482
|
+
def columns=(arg0); end
|
483
|
+
def content; end
|
484
|
+
def content=(arg0); end
|
485
|
+
def initialize(line_limit: nil, columns: nil, ellipsis: nil); end
|
486
|
+
def line_limit; end
|
487
|
+
def line_limit=(arg0); end
|
488
|
+
def mark_rendered; end
|
489
|
+
def rendered; end
|
490
|
+
def rendered=(arg0); end
|
491
|
+
def rendered?; end
|
492
|
+
def reset_rendered; end
|
493
|
+
extend Forwardable
|
494
|
+
end
|
495
|
+
class RubyJard::Column
|
496
|
+
def content_length; end
|
497
|
+
def content_length=(arg0); end
|
498
|
+
def content_width; end
|
499
|
+
def content_width=(arg0); end
|
500
|
+
def initialize(spans: nil, word_wrap: nil); end
|
501
|
+
def spans; end
|
502
|
+
def spans=(arg0); end
|
503
|
+
def width; end
|
504
|
+
def width=(arg0); end
|
505
|
+
def word_wrap; end
|
506
|
+
def word_wrap=(arg0); end
|
507
|
+
extend Forwardable
|
508
|
+
end
|
509
|
+
class RubyJard::Span
|
510
|
+
def content; end
|
511
|
+
def content=(arg0); end
|
512
|
+
def content_length; end
|
513
|
+
def content_length=(arg0); end
|
514
|
+
def initialize(content: nil, content_length: nil, margin_left: nil, margin_right: nil, styles: nil); end
|
515
|
+
def styles; end
|
516
|
+
def styles=(arg0); end
|
517
|
+
extend Forwardable
|
518
|
+
end
|
519
|
+
class RubyJard::RowRenderer
|
520
|
+
def draw_content(drawing_content, styles); end
|
521
|
+
def generate_bitmap; end
|
522
|
+
def initialize(row:, width:, height:, color_scheme:); end
|
523
|
+
def render; end
|
524
|
+
def render_span(column, span); end
|
525
|
+
end
|
526
|
+
class RubyJard::ScreenRenderer
|
527
|
+
def adjust_column_widths(column_widths); end
|
528
|
+
def calculate_column_widths; end
|
529
|
+
def calculate_content_lengths; end
|
530
|
+
def calculate_window; end
|
531
|
+
def count_columns; end
|
532
|
+
def count_dynamic_columns(column_widths); end
|
533
|
+
def find_cursor_window; end
|
534
|
+
def find_seleted_window; end
|
535
|
+
def initialize(screen:, color_scheme:); end
|
536
|
+
def render; end
|
537
|
+
def render_rows; end
|
538
|
+
def row_content(row); end
|
539
|
+
def sum_fixed_width(column_widths); end
|
540
|
+
end
|
541
|
+
class RubyJard::ScreenAdjuster
|
542
|
+
def adjust; end
|
543
|
+
def compact_screens(screens); end
|
544
|
+
def expand_screens(expandable_screens, budget); end
|
545
|
+
def expandable?(screen); end
|
546
|
+
def initialize(screens); end
|
547
|
+
def same_column?(screens); end
|
548
|
+
def shrink_screens(shrinkable_screens); end
|
549
|
+
def shrinkable?(screen); end
|
550
|
+
def shrinkable_height(screen); end
|
551
|
+
end
|
552
|
+
class RubyJard::BoxDrawer
|
553
|
+
def calculate_corners; end
|
554
|
+
def colorize_border(content); end
|
555
|
+
def draw; end
|
556
|
+
def draw_basic_lines; end
|
557
|
+
def draw_corners(corners); end
|
558
|
+
def draw_titles; end
|
559
|
+
def initialize(output:, screens:, color_scheme:); end
|
560
|
+
def mark_corner(corners, x, y, id); end
|
561
|
+
end
|
562
|
+
class RubyJard::ScreenDrawer
|
563
|
+
def draw; end
|
564
|
+
def initialize(output:, screen:, color_scheme:); end
|
565
|
+
end
|
566
|
+
class RubyJard::ScreenManager
|
567
|
+
def build_screens(layouts); end
|
568
|
+
def calculate_layouts(width, height); end
|
569
|
+
def click; end
|
570
|
+
def draw_box(screens); end
|
571
|
+
def draw_debug(_width, height); end
|
572
|
+
def draw_error(exception, height = nil); end
|
573
|
+
def draw_screens; end
|
574
|
+
def fetch_screen(name); end
|
575
|
+
def initialize(output: nil); end
|
576
|
+
def output; end
|
577
|
+
def output_storage; end
|
578
|
+
def pick_color_scheme; end
|
579
|
+
def render_screen(screen); end
|
580
|
+
def scroll; end
|
581
|
+
def self.draw_error(*args, ****, &block); end
|
582
|
+
def self.draw_screens(*args, ****, &block); end
|
583
|
+
def self.instance; end
|
584
|
+
def self.puts(*args, ****, &block); end
|
585
|
+
def self.start(*args, ****, &block); end
|
586
|
+
def self.started?(*args, ****, &block); end
|
587
|
+
def self.stop(*args, ****, &block); end
|
588
|
+
def self.updating?(*args, ****, &block); end
|
589
|
+
def start; end
|
590
|
+
def started?; end
|
591
|
+
def stop; end
|
592
|
+
def total_screen_height(layouts); end
|
593
|
+
def updating?; end
|
594
|
+
end
|
595
|
+
class RubyJard::Reflection
|
596
|
+
def self.bind_call(owner, method_name, object, *args); end
|
597
|
+
def self.call_class(object); end
|
598
|
+
def self.call_const_defined?(object, const_name); end
|
599
|
+
def self.call_const_get(object, const_name); end
|
600
|
+
def self.call_inspect(object); end
|
601
|
+
def self.call_instance_variable_get(object, variable); end
|
602
|
+
def self.call_instance_variable_set(object, variable, value); end
|
603
|
+
def self.call_instance_variables(object); end
|
604
|
+
def self.call_is_a?(object, comparing_class); end
|
605
|
+
def self.call_respond_to?(object, method_name); end
|
606
|
+
def self.call_to_s(object); end
|
607
|
+
def self.fetch_instance_method(object, method_name); end
|
608
|
+
def self.fetch_method(object, method_name); end
|
609
|
+
def self.instance_bind_call(owner, method_name, object, *args); end
|
610
|
+
end
|
611
|
+
class RubyJard::Frame
|
612
|
+
def c_frame?; end
|
613
|
+
def frame_binding; end
|
614
|
+
def frame_class; end
|
615
|
+
def frame_file; end
|
616
|
+
def frame_line; end
|
617
|
+
def frame_location; end
|
618
|
+
def frame_method; end
|
619
|
+
def frame_self; end
|
620
|
+
def hidden?; end
|
621
|
+
def initialize(context, real_pos, virtual_pos: nil); end
|
622
|
+
def real_pos; end
|
623
|
+
def thread; end
|
624
|
+
def virtual_pos; end
|
625
|
+
def virtual_pos=(arg0); end
|
626
|
+
def visible=(arg0); end
|
627
|
+
def visible?; end
|
628
|
+
end
|
629
|
+
class RubyJard::ThreadInfo
|
630
|
+
def ==(other); end
|
631
|
+
def alive?; end
|
632
|
+
def backtrace_locations; end
|
633
|
+
def id; end
|
634
|
+
def initialize(thread); end
|
635
|
+
def label; end
|
636
|
+
def name; end
|
637
|
+
def self.clear_labels; end
|
638
|
+
def self.generate_label_for(id); end
|
639
|
+
def self.labels; end
|
640
|
+
def self.next_label; end
|
641
|
+
def status; end
|
642
|
+
end
|
643
|
+
class RubyJard::Session
|
644
|
+
def append_output_buffer(string); end
|
645
|
+
def current_backtrace; end
|
646
|
+
def current_frame; end
|
647
|
+
def current_thread; end
|
648
|
+
def frame=(real_pos); end
|
649
|
+
def generate_backtrace; end
|
650
|
+
def initialize(options = nil); end
|
651
|
+
def lock; end
|
652
|
+
def output_buffer; end
|
653
|
+
def output_buffer=(arg0); end
|
654
|
+
def self.append_output_buffer(*args, ****, &block); end
|
655
|
+
def self.attach; end
|
656
|
+
def self.current_backtrace(*args, ****, &block); end
|
657
|
+
def self.current_frame(*args, ****, &block); end
|
658
|
+
def self.current_thread(*args, ****, &block); end
|
659
|
+
def self.frame=(*args, ****, &block); end
|
660
|
+
def self.instance; end
|
661
|
+
def self.lock(*args, ****, &block); end
|
662
|
+
def self.output_buffer(*args, ****, &block); end
|
663
|
+
def self.should_stop?(*args, ****, &block); end
|
664
|
+
def self.step_into(*args, ****, &block); end
|
665
|
+
def self.step_over(*args, ****, &block); end
|
666
|
+
def self.sync(*args, ****, &block); end
|
667
|
+
def self.threads(*args, ****, &block); end
|
668
|
+
def should_stop?; end
|
669
|
+
def start; end
|
670
|
+
def started?; end
|
671
|
+
def step_into(times); end
|
672
|
+
def step_over(times); end
|
673
|
+
def stop; end
|
674
|
+
def sync(context); end
|
675
|
+
def threads; end
|
676
|
+
end
|
677
|
+
class RubyJard::Error < StandardError
|
678
|
+
end
|
679
|
+
module Kernel
|
680
|
+
def jard; end
|
681
|
+
end
|