mangadex 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +81 -0
- data/LICENSE.txt +21 -0
- data/README.md +42 -0
- data/Rakefile +6 -0
- data/bin/console +23 -0
- data/bin/setup +8 -0
- data/lib/extensions.rb +12 -0
- data/lib/mangadex/README.md +93 -0
- data/lib/mangadex/api/context.rb +53 -0
- data/lib/mangadex/api/response.rb +104 -0
- data/lib/mangadex/api/user.rb +48 -0
- data/lib/mangadex/api/version.rb +21 -0
- data/lib/mangadex/api.rb +5 -0
- data/lib/mangadex/artist.rb +13 -0
- data/lib/mangadex/auth.rb +56 -0
- data/lib/mangadex/author.rb +101 -0
- data/lib/mangadex/chapter.rb +105 -0
- data/lib/mangadex/content_rating.rb +75 -0
- data/lib/mangadex/cover_art.rb +93 -0
- data/lib/mangadex/custom_list.rb +127 -0
- data/lib/mangadex/internal/definition.rb +162 -0
- data/lib/mangadex/internal/request.rb +121 -0
- data/lib/mangadex/internal/with_attributes.rb +120 -0
- data/lib/mangadex/internal.rb +3 -0
- data/lib/mangadex/manga.rb +188 -0
- data/lib/mangadex/mangadex_object.rb +62 -0
- data/lib/mangadex/relationship.rb +46 -0
- data/lib/mangadex/report_reason.rb +39 -0
- data/lib/mangadex/scanlation_group.rb +97 -0
- data/lib/mangadex/sorbet.rb +42 -0
- data/lib/mangadex/tag.rb +10 -0
- data/lib/mangadex/types.rb +24 -0
- data/lib/mangadex/upload.rb +78 -0
- data/lib/mangadex/user.rb +103 -0
- data/lib/mangadex/version.rb +4 -0
- data/lib/mangadex.rb +35 -0
- data/mangadex.gemspec +35 -0
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/activesupport.rbi +1267 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1662 -0
- data/sorbet/rbi/gems/domain_name.rbi +52 -0
- data/sorbet/rbi/gems/http-accept.rbi +101 -0
- data/sorbet/rbi/gems/http-cookie.rbi +119 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types.rbi +218 -0
- data/sorbet/rbi/gems/netrc.rbi +51 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/psych.rbi +471 -0
- data/sorbet/rbi/gems/rake.rbi +660 -0
- data/sorbet/rbi/gems/rest-client.rbi +454 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1939 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1150 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/tzinfo.rbi +586 -0
- data/sorbet/rbi/gems/unf.rbi +19 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +3942 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +8210 -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/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/todo.rbi +7 -0
- metadata +243 -0
@@ -0,0 +1,471 @@
|
|
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/psych/all/psych.rbi
|
9
|
+
#
|
10
|
+
# psych-4.0.1
|
11
|
+
|
12
|
+
module Psych
|
13
|
+
def self.add_builtin_type(type_tag, &block); end
|
14
|
+
def self.add_domain_type(domain, type_tag, &block); end
|
15
|
+
def self.add_tag(tag, klass); end
|
16
|
+
def self.domain_types; end
|
17
|
+
def self.domain_types=(arg0); end
|
18
|
+
def self.dump(o, io = nil, options = nil); end
|
19
|
+
def self.dump_stream(*objects); end
|
20
|
+
def self.dump_tags; end
|
21
|
+
def self.dump_tags=(arg0); end
|
22
|
+
def self.libyaml_version; end
|
23
|
+
def self.load(yaml, permitted_classes: nil, permitted_symbols: nil, aliases: nil, filename: nil, fallback: nil, symbolize_names: nil, freeze: nil); end
|
24
|
+
def self.load_file(filename, **kwargs); end
|
25
|
+
def self.load_stream(yaml, filename: nil, fallback: nil, **kwargs); end
|
26
|
+
def self.load_tags; end
|
27
|
+
def self.load_tags=(arg0); end
|
28
|
+
def self.parse(yaml, filename: nil); end
|
29
|
+
def self.parse_caller(at); end
|
30
|
+
def self.parse_file(filename, fallback: nil); end
|
31
|
+
def self.parse_stream(yaml, filename: nil, &block); end
|
32
|
+
def self.parser; end
|
33
|
+
def self.remove_type(type_tag); end
|
34
|
+
def self.safe_dump(o, io = nil, options = nil); end
|
35
|
+
def self.safe_load(yaml, permitted_classes: nil, permitted_symbols: nil, aliases: nil, filename: nil, fallback: nil, symbolize_names: nil, freeze: nil); end
|
36
|
+
def self.safe_load_file(filename, **kwargs); end
|
37
|
+
def self.to_json(object); end
|
38
|
+
def self.unsafe_load(yaml, filename: nil, fallback: nil, symbolize_names: nil, freeze: nil); end
|
39
|
+
def self.unsafe_load_file(filename, **kwargs); end
|
40
|
+
def self.warn_with_uplevel(message, uplevel: nil); end
|
41
|
+
end
|
42
|
+
class Psych::Exception < RuntimeError
|
43
|
+
end
|
44
|
+
class Psych::BadAlias < Psych::Exception
|
45
|
+
end
|
46
|
+
class Psych::DisallowedClass < Psych::Exception
|
47
|
+
def initialize(action, klass_name); end
|
48
|
+
end
|
49
|
+
class Psych::SyntaxError < Psych::Exception
|
50
|
+
def column; end
|
51
|
+
def context; end
|
52
|
+
def file; end
|
53
|
+
def initialize(file, line, col, offset, problem, context); end
|
54
|
+
def line; end
|
55
|
+
def offset; end
|
56
|
+
def problem; end
|
57
|
+
end
|
58
|
+
class Psych::Parser
|
59
|
+
def external_encoding=(arg0); end
|
60
|
+
def handler; end
|
61
|
+
def handler=(arg0); end
|
62
|
+
def initialize(handler = nil); end
|
63
|
+
def mark; end
|
64
|
+
def parse(*arg0); end
|
65
|
+
end
|
66
|
+
class Psych::Emitter < Psych::Handler
|
67
|
+
def alias(arg0); end
|
68
|
+
def canonical; end
|
69
|
+
def canonical=(arg0); end
|
70
|
+
def end_document(arg0); end
|
71
|
+
def end_mapping; end
|
72
|
+
def end_sequence; end
|
73
|
+
def end_stream; end
|
74
|
+
def indentation; end
|
75
|
+
def indentation=(arg0); end
|
76
|
+
def initialize(*arg0); end
|
77
|
+
def line_width; end
|
78
|
+
def line_width=(arg0); end
|
79
|
+
def scalar(arg0, arg1, arg2, arg3, arg4, arg5); end
|
80
|
+
def start_document(arg0, arg1, arg2); end
|
81
|
+
def start_mapping(arg0, arg1, arg2, arg3); end
|
82
|
+
def start_sequence(arg0, arg1, arg2, arg3); end
|
83
|
+
def start_stream(arg0); end
|
84
|
+
end
|
85
|
+
class Psych::Visitors::ToRuby < Psych::Visitors::Visitor
|
86
|
+
def accept(target); end
|
87
|
+
def build_exception(arg0, arg1); end
|
88
|
+
def class_loader; end
|
89
|
+
def deduplicate(key); end
|
90
|
+
def deserialize(o); end
|
91
|
+
def init_with(o, h, node); end
|
92
|
+
def initialize(ss, class_loader, symbolize_names: nil, freeze: nil); end
|
93
|
+
def merge_key(hash, key, val); end
|
94
|
+
def register(node, object); end
|
95
|
+
def register_empty(object); end
|
96
|
+
def resolve_class(klassname); end
|
97
|
+
def revive(klass, node); end
|
98
|
+
def revive_hash(hash, o, tagged = nil); end
|
99
|
+
def self.create(symbolize_names: nil, freeze: nil); end
|
100
|
+
def visit_Psych_Nodes_Alias(o); end
|
101
|
+
def visit_Psych_Nodes_Document(o); end
|
102
|
+
def visit_Psych_Nodes_Mapping(o); end
|
103
|
+
def visit_Psych_Nodes_Scalar(o); end
|
104
|
+
def visit_Psych_Nodes_Sequence(o); end
|
105
|
+
def visit_Psych_Nodes_Stream(o); end
|
106
|
+
end
|
107
|
+
class Psych::ClassLoader
|
108
|
+
def big_decimal; end
|
109
|
+
def complex; end
|
110
|
+
def date; end
|
111
|
+
def date_time; end
|
112
|
+
def exception; end
|
113
|
+
def find(klassname); end
|
114
|
+
def initialize; end
|
115
|
+
def load(klassname); end
|
116
|
+
def object; end
|
117
|
+
def path2class(arg0); end
|
118
|
+
def psych_omap; end
|
119
|
+
def psych_set; end
|
120
|
+
def range; end
|
121
|
+
def rational; end
|
122
|
+
def regexp; end
|
123
|
+
def resolve(klassname); end
|
124
|
+
def struct; end
|
125
|
+
def symbol; end
|
126
|
+
def symbolize(sym); end
|
127
|
+
end
|
128
|
+
class Psych::Omap < Hash
|
129
|
+
end
|
130
|
+
class Psych::Set < Hash
|
131
|
+
end
|
132
|
+
class Psych::ClassLoader::Restricted < Psych::ClassLoader
|
133
|
+
def find(klassname); end
|
134
|
+
def initialize(classes, symbols); end
|
135
|
+
def symbolize(sym); end
|
136
|
+
end
|
137
|
+
class Psych::ScalarScanner
|
138
|
+
def class_loader; end
|
139
|
+
def initialize(class_loader); end
|
140
|
+
def parse_int(string); end
|
141
|
+
def parse_time(string); end
|
142
|
+
def tokenize(string); end
|
143
|
+
end
|
144
|
+
module Psych::Nodes
|
145
|
+
end
|
146
|
+
class Psych::Nodes::Node
|
147
|
+
def alias?; end
|
148
|
+
def children; end
|
149
|
+
def document?; end
|
150
|
+
def each(&block); end
|
151
|
+
def end_column; end
|
152
|
+
def end_column=(arg0); end
|
153
|
+
def end_line; end
|
154
|
+
def end_line=(arg0); end
|
155
|
+
def initialize; end
|
156
|
+
def mapping?; end
|
157
|
+
def scalar?; end
|
158
|
+
def sequence?; end
|
159
|
+
def start_column; end
|
160
|
+
def start_column=(arg0); end
|
161
|
+
def start_line; end
|
162
|
+
def start_line=(arg0); end
|
163
|
+
def stream?; end
|
164
|
+
def tag; end
|
165
|
+
def to_ruby(symbolize_names: nil, freeze: nil); end
|
166
|
+
def to_yaml(io = nil, options = nil); end
|
167
|
+
def transform(symbolize_names: nil, freeze: nil); end
|
168
|
+
def yaml(io = nil, options = nil); end
|
169
|
+
include Enumerable
|
170
|
+
end
|
171
|
+
class Psych::Nodes::Stream < Psych::Nodes::Node
|
172
|
+
def encoding; end
|
173
|
+
def encoding=(arg0); end
|
174
|
+
def initialize(encoding = nil); end
|
175
|
+
def stream?; end
|
176
|
+
end
|
177
|
+
class Psych::Nodes::Document < Psych::Nodes::Node
|
178
|
+
def document?; end
|
179
|
+
def implicit; end
|
180
|
+
def implicit=(arg0); end
|
181
|
+
def implicit_end; end
|
182
|
+
def implicit_end=(arg0); end
|
183
|
+
def initialize(version = nil, tag_directives = nil, implicit = nil); end
|
184
|
+
def root; end
|
185
|
+
def tag_directives; end
|
186
|
+
def tag_directives=(arg0); end
|
187
|
+
def version; end
|
188
|
+
def version=(arg0); end
|
189
|
+
end
|
190
|
+
class Psych::Nodes::Sequence < Psych::Nodes::Node
|
191
|
+
def anchor; end
|
192
|
+
def anchor=(arg0); end
|
193
|
+
def implicit; end
|
194
|
+
def implicit=(arg0); end
|
195
|
+
def initialize(anchor = nil, tag = nil, implicit = nil, style = nil); end
|
196
|
+
def sequence?; end
|
197
|
+
def style; end
|
198
|
+
def style=(arg0); end
|
199
|
+
def tag; end
|
200
|
+
def tag=(arg0); end
|
201
|
+
end
|
202
|
+
class Psych::Nodes::Scalar < Psych::Nodes::Node
|
203
|
+
def anchor; end
|
204
|
+
def anchor=(arg0); end
|
205
|
+
def initialize(value, anchor = nil, tag = nil, plain = nil, quoted = nil, style = nil); end
|
206
|
+
def plain; end
|
207
|
+
def plain=(arg0); end
|
208
|
+
def quoted; end
|
209
|
+
def quoted=(arg0); end
|
210
|
+
def scalar?; end
|
211
|
+
def style; end
|
212
|
+
def style=(arg0); end
|
213
|
+
def tag; end
|
214
|
+
def tag=(arg0); end
|
215
|
+
def value; end
|
216
|
+
def value=(arg0); end
|
217
|
+
end
|
218
|
+
class Psych::Nodes::Mapping < Psych::Nodes::Node
|
219
|
+
def anchor; end
|
220
|
+
def anchor=(arg0); end
|
221
|
+
def implicit; end
|
222
|
+
def implicit=(arg0); end
|
223
|
+
def initialize(anchor = nil, tag = nil, implicit = nil, style = nil); end
|
224
|
+
def mapping?; end
|
225
|
+
def style; end
|
226
|
+
def style=(arg0); end
|
227
|
+
def tag; end
|
228
|
+
def tag=(arg0); end
|
229
|
+
end
|
230
|
+
class Psych::Nodes::Alias < Psych::Nodes::Node
|
231
|
+
def alias?; end
|
232
|
+
def anchor; end
|
233
|
+
def anchor=(arg0); end
|
234
|
+
def initialize(anchor); end
|
235
|
+
end
|
236
|
+
module Psych::Streaming
|
237
|
+
def register(target, obj); end
|
238
|
+
def start(encoding = nil); end
|
239
|
+
end
|
240
|
+
module Psych::Streaming::ClassMethods
|
241
|
+
def new(io); end
|
242
|
+
end
|
243
|
+
module Psych::Visitors
|
244
|
+
end
|
245
|
+
class Psych::Visitors::Visitor
|
246
|
+
def accept(target); end
|
247
|
+
def dispatch; end
|
248
|
+
def self.dispatch_cache; end
|
249
|
+
def visit(target); end
|
250
|
+
end
|
251
|
+
class Psych::Visitors::NoAliasRuby < Psych::Visitors::ToRuby
|
252
|
+
def visit_Psych_Nodes_Alias(o); end
|
253
|
+
end
|
254
|
+
class Psych::Visitors::Emitter < Psych::Visitors::Visitor
|
255
|
+
def initialize(io, options = nil); end
|
256
|
+
def visit_Psych_Nodes_Alias(o); end
|
257
|
+
def visit_Psych_Nodes_Document(o); end
|
258
|
+
def visit_Psych_Nodes_Mapping(o); end
|
259
|
+
def visit_Psych_Nodes_Scalar(o); end
|
260
|
+
def visit_Psych_Nodes_Sequence(o); end
|
261
|
+
def visit_Psych_Nodes_Stream(o); end
|
262
|
+
end
|
263
|
+
class Psych::Handler
|
264
|
+
def alias(anchor); end
|
265
|
+
def empty; end
|
266
|
+
def end_document(implicit); end
|
267
|
+
def end_mapping; end
|
268
|
+
def end_sequence; end
|
269
|
+
def end_stream; end
|
270
|
+
def event_location(start_line, start_column, end_line, end_column); end
|
271
|
+
def scalar(value, anchor, tag, plain, quoted, style); end
|
272
|
+
def start_document(version, tag_directives, implicit); end
|
273
|
+
def start_mapping(anchor, tag, implicit, style); end
|
274
|
+
def start_sequence(anchor, tag, implicit, style); end
|
275
|
+
def start_stream(encoding); end
|
276
|
+
def streaming?; end
|
277
|
+
end
|
278
|
+
class Psych::Handler::DumperOptions
|
279
|
+
def canonical; end
|
280
|
+
def canonical=(arg0); end
|
281
|
+
def indentation; end
|
282
|
+
def indentation=(arg0); end
|
283
|
+
def initialize; end
|
284
|
+
def line_width; end
|
285
|
+
def line_width=(arg0); end
|
286
|
+
end
|
287
|
+
class Psych::TreeBuilder < Psych::Handler
|
288
|
+
def alias(anchor); end
|
289
|
+
def end_document(implicit_end = nil); end
|
290
|
+
def end_mapping; end
|
291
|
+
def end_sequence; end
|
292
|
+
def end_stream; end
|
293
|
+
def event_location(start_line, start_column, end_line, end_column); end
|
294
|
+
def initialize; end
|
295
|
+
def pop; end
|
296
|
+
def push(value); end
|
297
|
+
def root; end
|
298
|
+
def scalar(value, anchor, tag, plain, quoted, style); end
|
299
|
+
def set_end_location(node); end
|
300
|
+
def set_location(node); end
|
301
|
+
def set_start_location(node); end
|
302
|
+
def start_document(version, tag_directives, implicit); end
|
303
|
+
def start_mapping(anchor, tag, implicit, style); end
|
304
|
+
def start_sequence(anchor, tag, implicit, style); end
|
305
|
+
def start_stream(encoding); end
|
306
|
+
end
|
307
|
+
class Psych::Visitors::YAMLTree < Psych::Visitors::Visitor
|
308
|
+
def <<(object); end
|
309
|
+
def accept(target); end
|
310
|
+
def binary?(string); end
|
311
|
+
def dump_coder(o); end
|
312
|
+
def dump_exception(o, msg); end
|
313
|
+
def dump_ivars(target); end
|
314
|
+
def dump_list(o); end
|
315
|
+
def emit_coder(c, o); end
|
316
|
+
def finish; end
|
317
|
+
def finished; end
|
318
|
+
def finished?; end
|
319
|
+
def format_time(time); end
|
320
|
+
def initialize(emitter, ss, options); end
|
321
|
+
def push(object); end
|
322
|
+
def register(target, yaml_obj); end
|
323
|
+
def self.create(options = nil, emitter = nil); end
|
324
|
+
def start(encoding = nil); end
|
325
|
+
def started; end
|
326
|
+
def started?; end
|
327
|
+
def tree; end
|
328
|
+
def visit_Array(o); end
|
329
|
+
def visit_BasicObject(o); end
|
330
|
+
def visit_BigDecimal(o); end
|
331
|
+
def visit_Class(o); end
|
332
|
+
def visit_Complex(o); end
|
333
|
+
def visit_Date(o); end
|
334
|
+
def visit_DateTime(o); end
|
335
|
+
def visit_Delegator(o); end
|
336
|
+
def visit_Encoding(o); end
|
337
|
+
def visit_Enumerator(o); end
|
338
|
+
def visit_Exception(o); end
|
339
|
+
def visit_FalseClass(o); end
|
340
|
+
def visit_Float(o); end
|
341
|
+
def visit_Hash(o); end
|
342
|
+
def visit_Integer(o); end
|
343
|
+
def visit_Module(o); end
|
344
|
+
def visit_NameError(o); end
|
345
|
+
def visit_NilClass(o); end
|
346
|
+
def visit_Object(o); end
|
347
|
+
def visit_Psych_Omap(o); end
|
348
|
+
def visit_Psych_Set(o); end
|
349
|
+
def visit_Range(o); end
|
350
|
+
def visit_Rational(o); end
|
351
|
+
def visit_Regexp(o); end
|
352
|
+
def visit_String(o); end
|
353
|
+
def visit_Struct(o); end
|
354
|
+
def visit_Symbol(o); end
|
355
|
+
def visit_Time(o); end
|
356
|
+
def visit_TrueClass(o); end
|
357
|
+
def visit_array_subclass(o); end
|
358
|
+
def visit_hash_subclass(o); end
|
359
|
+
end
|
360
|
+
class Psych::Visitors::YAMLTree::Registrar
|
361
|
+
def id_for(target); end
|
362
|
+
def initialize; end
|
363
|
+
def key?(target); end
|
364
|
+
def node_for(target); end
|
365
|
+
def register(target, node); end
|
366
|
+
end
|
367
|
+
class Psych::Visitors::RestrictedYAMLTree < Psych::Visitors::YAMLTree
|
368
|
+
def accept(target); end
|
369
|
+
def initialize(emitter, ss, options); end
|
370
|
+
def visit_Symbol(sym); end
|
371
|
+
end
|
372
|
+
module Psych::JSON
|
373
|
+
end
|
374
|
+
module Psych::JSON::RubyEvents
|
375
|
+
def visit_DateTime(o); end
|
376
|
+
def visit_String(o); end
|
377
|
+
def visit_Symbol(o); end
|
378
|
+
def visit_Time(o); end
|
379
|
+
end
|
380
|
+
class Psych::Visitors::JSONTree < Psych::Visitors::YAMLTree
|
381
|
+
def accept(target); end
|
382
|
+
def self.create(options = nil); end
|
383
|
+
include Psych::JSON::RubyEvents
|
384
|
+
end
|
385
|
+
class Psych::Visitors::DepthFirst < Psych::Visitors::Visitor
|
386
|
+
def initialize(block); end
|
387
|
+
def nary(o); end
|
388
|
+
def terminal(o); end
|
389
|
+
def visit_Psych_Nodes_Alias(o); end
|
390
|
+
def visit_Psych_Nodes_Document(o); end
|
391
|
+
def visit_Psych_Nodes_Mapping(o); end
|
392
|
+
def visit_Psych_Nodes_Scalar(o); end
|
393
|
+
def visit_Psych_Nodes_Sequence(o); end
|
394
|
+
def visit_Psych_Nodes_Stream(o); end
|
395
|
+
end
|
396
|
+
class Anonymous_Struct_2 < Struct
|
397
|
+
def column; end
|
398
|
+
def column=(_); end
|
399
|
+
def index; end
|
400
|
+
def index=(_); end
|
401
|
+
def line; end
|
402
|
+
def line=(_); end
|
403
|
+
def self.[](*arg0); end
|
404
|
+
def self.inspect; end
|
405
|
+
def self.members; end
|
406
|
+
def self.new(*arg0); end
|
407
|
+
end
|
408
|
+
class Psych::Parser::Mark < Anonymous_Struct_2
|
409
|
+
end
|
410
|
+
class Psych::Coder
|
411
|
+
def [](k); end
|
412
|
+
def []=(k, v); end
|
413
|
+
def add(k, v); end
|
414
|
+
def implicit; end
|
415
|
+
def implicit=(arg0); end
|
416
|
+
def initialize(tag); end
|
417
|
+
def map(tag = nil, style = nil); end
|
418
|
+
def map=(map); end
|
419
|
+
def object; end
|
420
|
+
def object=(arg0); end
|
421
|
+
def represent_map(tag, map); end
|
422
|
+
def represent_object(tag, obj); end
|
423
|
+
def represent_scalar(tag, value); end
|
424
|
+
def represent_seq(tag, list); end
|
425
|
+
def scalar(*args); end
|
426
|
+
def scalar=(value); end
|
427
|
+
def seq; end
|
428
|
+
def seq=(list); end
|
429
|
+
def style; end
|
430
|
+
def style=(arg0); end
|
431
|
+
def tag; end
|
432
|
+
def tag=(arg0); end
|
433
|
+
def type; end
|
434
|
+
end
|
435
|
+
class Object < BasicObject
|
436
|
+
def self.yaml_tag(url); end
|
437
|
+
def to_yaml(options = nil); end
|
438
|
+
end
|
439
|
+
class Psych::Stream < Psych::Visitors::YAMLTree
|
440
|
+
extend Psych::Streaming::ClassMethods
|
441
|
+
include Psych::Streaming
|
442
|
+
end
|
443
|
+
class Psych::Stream::Emitter < Psych::Emitter
|
444
|
+
def end_document(implicit_end = nil); end
|
445
|
+
def streaming?; end
|
446
|
+
end
|
447
|
+
module Psych::JSON::YAMLEvents
|
448
|
+
def end_document(implicit_end = nil); end
|
449
|
+
def scalar(value, anchor, tag, plain, quoted, style); end
|
450
|
+
def start_document(version, tag_directives, implicit); end
|
451
|
+
def start_mapping(anchor, tag, implicit, style); end
|
452
|
+
def start_sequence(anchor, tag, implicit, style); end
|
453
|
+
end
|
454
|
+
class Psych::JSON::TreeBuilder < Psych::TreeBuilder
|
455
|
+
include Psych::JSON::YAMLEvents
|
456
|
+
end
|
457
|
+
class Psych::JSON::Stream < Psych::Visitors::JSONTree
|
458
|
+
extend Psych::Streaming::ClassMethods
|
459
|
+
include Psych::JSON::RubyEvents
|
460
|
+
include Psych::Streaming
|
461
|
+
end
|
462
|
+
class Psych::JSON::Stream::Emitter < Psych::Stream::Emitter
|
463
|
+
include Psych::JSON::YAMLEvents
|
464
|
+
end
|
465
|
+
module Psych::Handlers
|
466
|
+
end
|
467
|
+
class Psych::Handlers::DocumentStream < Psych::TreeBuilder
|
468
|
+
def end_document(implicit_end = nil); end
|
469
|
+
def initialize(&block); end
|
470
|
+
def start_document(version, tag_directives, implicit); end
|
471
|
+
end
|