steep 0.16.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +0 -3
- data/CHANGELOG.md +24 -0
- data/Rakefile +0 -13
- data/bin/setup +0 -2
- data/bin/smoke_runner.rb +0 -1
- data/exe/steep +0 -1
- data/lib/steep.rb +1 -1
- data/lib/steep/drivers/check.rb +1 -12
- data/lib/steep/drivers/watch.rb +2 -2
- data/lib/steep/project/file.rb +1 -1
- data/lib/steep/project/hover_content.rb +1 -1
- data/lib/steep/project/options.rb +15 -0
- data/lib/steep/server/code_worker.rb +4 -4
- data/lib/steep/server/signature_worker.rb +4 -4
- data/lib/steep/type_construction.rb +13 -19
- data/lib/steep/type_inference/constant_env.rb +2 -10
- data/lib/steep/type_inference/context.rb +1 -0
- data/lib/steep/version.rb +1 -1
- data/steep.gemspec +6 -7
- metadata +23 -146
- data/exe/rbs +0 -3
- data/vendor/ruby-signature/.github/workflows/ruby.yml +0 -27
- data/vendor/ruby-signature/.gitignore +0 -12
- data/vendor/ruby-signature/.rubocop.yml +0 -15
- data/vendor/ruby-signature/BSDL +0 -22
- data/vendor/ruby-signature/COPYING +0 -56
- data/vendor/ruby-signature/Gemfile +0 -6
- data/vendor/ruby-signature/README.md +0 -93
- data/vendor/ruby-signature/Rakefile +0 -142
- data/vendor/ruby-signature/bin/annotate-with-rdoc +0 -157
- data/vendor/ruby-signature/bin/console +0 -14
- data/vendor/ruby-signature/bin/query-rdoc +0 -103
- data/vendor/ruby-signature/bin/setup +0 -10
- data/vendor/ruby-signature/bin/sort +0 -89
- data/vendor/ruby-signature/bin/test_runner.rb +0 -16
- data/vendor/ruby-signature/docs/CONTRIBUTING.md +0 -97
- data/vendor/ruby-signature/docs/sigs.md +0 -148
- data/vendor/ruby-signature/docs/stdlib.md +0 -152
- data/vendor/ruby-signature/docs/syntax.md +0 -528
- data/vendor/ruby-signature/exe/rbs +0 -7
- data/vendor/ruby-signature/lib/rbs.rb +0 -64
- data/vendor/ruby-signature/lib/rbs/ast/annotation.rb +0 -27
- data/vendor/ruby-signature/lib/rbs/ast/comment.rb +0 -27
- data/vendor/ruby-signature/lib/rbs/ast/declarations.rb +0 -395
- data/vendor/ruby-signature/lib/rbs/ast/members.rb +0 -362
- data/vendor/ruby-signature/lib/rbs/buffer.rb +0 -50
- data/vendor/ruby-signature/lib/rbs/builtin_names.rb +0 -55
- data/vendor/ruby-signature/lib/rbs/cli.rb +0 -558
- data/vendor/ruby-signature/lib/rbs/constant.rb +0 -26
- data/vendor/ruby-signature/lib/rbs/constant_table.rb +0 -150
- data/vendor/ruby-signature/lib/rbs/definition.rb +0 -170
- data/vendor/ruby-signature/lib/rbs/definition_builder.rb +0 -919
- data/vendor/ruby-signature/lib/rbs/environment.rb +0 -281
- data/vendor/ruby-signature/lib/rbs/environment_loader.rb +0 -136
- data/vendor/ruby-signature/lib/rbs/environment_walker.rb +0 -124
- data/vendor/ruby-signature/lib/rbs/errors.rb +0 -187
- data/vendor/ruby-signature/lib/rbs/location.rb +0 -102
- data/vendor/ruby-signature/lib/rbs/method_type.rb +0 -123
- data/vendor/ruby-signature/lib/rbs/namespace.rb +0 -91
- data/vendor/ruby-signature/lib/rbs/parser.y +0 -1344
- data/vendor/ruby-signature/lib/rbs/prototype/rb.rb +0 -553
- data/vendor/ruby-signature/lib/rbs/prototype/rbi.rb +0 -587
- data/vendor/ruby-signature/lib/rbs/prototype/runtime.rb +0 -381
- data/vendor/ruby-signature/lib/rbs/substitution.rb +0 -46
- data/vendor/ruby-signature/lib/rbs/test.rb +0 -26
- data/vendor/ruby-signature/lib/rbs/test/errors.rb +0 -61
- data/vendor/ruby-signature/lib/rbs/test/hook.rb +0 -294
- data/vendor/ruby-signature/lib/rbs/test/setup.rb +0 -58
- data/vendor/ruby-signature/lib/rbs/test/spy.rb +0 -325
- data/vendor/ruby-signature/lib/rbs/test/test_helper.rb +0 -183
- data/vendor/ruby-signature/lib/rbs/test/type_check.rb +0 -254
- data/vendor/ruby-signature/lib/rbs/type_name.rb +0 -70
- data/vendor/ruby-signature/lib/rbs/types.rb +0 -936
- data/vendor/ruby-signature/lib/rbs/variance_calculator.rb +0 -138
- data/vendor/ruby-signature/lib/rbs/vendorer.rb +0 -47
- data/vendor/ruby-signature/lib/rbs/version.rb +0 -3
- data/vendor/ruby-signature/lib/rbs/writer.rb +0 -269
- data/vendor/ruby-signature/lib/ruby/signature.rb +0 -7
- data/vendor/ruby-signature/rbs.gemspec +0 -46
- data/vendor/ruby-signature/stdlib/abbrev/abbrev.rbs +0 -60
- data/vendor/ruby-signature/stdlib/base64/base64.rbs +0 -71
- data/vendor/ruby-signature/stdlib/benchmark/benchmark.rbs +0 -372
- data/vendor/ruby-signature/stdlib/builtin/array.rbs +0 -1997
- data/vendor/ruby-signature/stdlib/builtin/basic_object.rbs +0 -280
- data/vendor/ruby-signature/stdlib/builtin/binding.rbs +0 -177
- data/vendor/ruby-signature/stdlib/builtin/builtin.rbs +0 -45
- data/vendor/ruby-signature/stdlib/builtin/class.rbs +0 -145
- data/vendor/ruby-signature/stdlib/builtin/comparable.rbs +0 -116
- data/vendor/ruby-signature/stdlib/builtin/complex.rbs +0 -400
- data/vendor/ruby-signature/stdlib/builtin/constants.rbs +0 -37
- data/vendor/ruby-signature/stdlib/builtin/data.rbs +0 -5
- data/vendor/ruby-signature/stdlib/builtin/deprecated.rbs +0 -2
- data/vendor/ruby-signature/stdlib/builtin/dir.rbs +0 -413
- data/vendor/ruby-signature/stdlib/builtin/encoding.rbs +0 -607
- data/vendor/ruby-signature/stdlib/builtin/enumerable.rbs +0 -404
- data/vendor/ruby-signature/stdlib/builtin/enumerator.rbs +0 -260
- data/vendor/ruby-signature/stdlib/builtin/errno.rbs +0 -781
- data/vendor/ruby-signature/stdlib/builtin/errors.rbs +0 -582
- data/vendor/ruby-signature/stdlib/builtin/exception.rbs +0 -194
- data/vendor/ruby-signature/stdlib/builtin/false_class.rbs +0 -40
- data/vendor/ruby-signature/stdlib/builtin/fiber.rbs +0 -68
- data/vendor/ruby-signature/stdlib/builtin/fiber_error.rbs +0 -12
- data/vendor/ruby-signature/stdlib/builtin/file.rbs +0 -1076
- data/vendor/ruby-signature/stdlib/builtin/file_test.rbs +0 -59
- data/vendor/ruby-signature/stdlib/builtin/float.rbs +0 -696
- data/vendor/ruby-signature/stdlib/builtin/gc.rbs +0 -243
- data/vendor/ruby-signature/stdlib/builtin/hash.rbs +0 -1029
- data/vendor/ruby-signature/stdlib/builtin/integer.rbs +0 -707
- data/vendor/ruby-signature/stdlib/builtin/io.rbs +0 -683
- data/vendor/ruby-signature/stdlib/builtin/kernel.rbs +0 -576
- data/vendor/ruby-signature/stdlib/builtin/marshal.rbs +0 -161
- data/vendor/ruby-signature/stdlib/builtin/match_data.rbs +0 -271
- data/vendor/ruby-signature/stdlib/builtin/math.rbs +0 -369
- data/vendor/ruby-signature/stdlib/builtin/method.rbs +0 -185
- data/vendor/ruby-signature/stdlib/builtin/module.rbs +0 -1104
- data/vendor/ruby-signature/stdlib/builtin/nil_class.rbs +0 -82
- data/vendor/ruby-signature/stdlib/builtin/numeric.rbs +0 -409
- data/vendor/ruby-signature/stdlib/builtin/object.rbs +0 -824
- data/vendor/ruby-signature/stdlib/builtin/proc.rbs +0 -429
- data/vendor/ruby-signature/stdlib/builtin/process.rbs +0 -1227
- data/vendor/ruby-signature/stdlib/builtin/random.rbs +0 -267
- data/vendor/ruby-signature/stdlib/builtin/range.rbs +0 -226
- data/vendor/ruby-signature/stdlib/builtin/rational.rbs +0 -424
- data/vendor/ruby-signature/stdlib/builtin/rb_config.rbs +0 -57
- data/vendor/ruby-signature/stdlib/builtin/regexp.rbs +0 -1083
- data/vendor/ruby-signature/stdlib/builtin/ruby_vm.rbs +0 -14
- data/vendor/ruby-signature/stdlib/builtin/signal.rbs +0 -55
- data/vendor/ruby-signature/stdlib/builtin/string.rbs +0 -1901
- data/vendor/ruby-signature/stdlib/builtin/string_io.rbs +0 -284
- data/vendor/ruby-signature/stdlib/builtin/struct.rbs +0 -40
- data/vendor/ruby-signature/stdlib/builtin/symbol.rbs +0 -228
- data/vendor/ruby-signature/stdlib/builtin/thread.rbs +0 -1108
- data/vendor/ruby-signature/stdlib/builtin/thread_group.rbs +0 -23
- data/vendor/ruby-signature/stdlib/builtin/time.rbs +0 -1047
- data/vendor/ruby-signature/stdlib/builtin/trace_point.rbs +0 -290
- data/vendor/ruby-signature/stdlib/builtin/true_class.rbs +0 -46
- data/vendor/ruby-signature/stdlib/builtin/unbound_method.rbs +0 -153
- data/vendor/ruby-signature/stdlib/builtin/warning.rbs +0 -17
- data/vendor/ruby-signature/stdlib/coverage/coverage.rbs +0 -62
- data/vendor/ruby-signature/stdlib/csv/csv.rbs +0 -773
- data/vendor/ruby-signature/stdlib/erb/erb.rbs +0 -392
- data/vendor/ruby-signature/stdlib/find/find.rbs +0 -40
- data/vendor/ruby-signature/stdlib/ipaddr/ipaddr.rbs +0 -247
- data/vendor/ruby-signature/stdlib/json/json.rbs +0 -335
- data/vendor/ruby-signature/stdlib/pathname/pathname.rbs +0 -1093
- data/vendor/ruby-signature/stdlib/prime/integer-extension.rbs +0 -23
- data/vendor/ruby-signature/stdlib/prime/prime.rbs +0 -188
- data/vendor/ruby-signature/stdlib/securerandom/securerandom.rbs +0 -9
- data/vendor/ruby-signature/stdlib/set/set.rbs +0 -301
- data/vendor/ruby-signature/stdlib/tmpdir/tmpdir.rbs +0 -53
@@ -1,607 +0,0 @@
|
|
1
|
-
class Encoding < Object
|
2
|
-
# Returns the hash of available encoding alias and original encoding name.
|
3
|
-
#
|
4
|
-
# Encoding.aliases
|
5
|
-
# #=> {"BINARY"=>"ASCII-8BIT", "ASCII"=>"US-ASCII", "ANSI_X3.4-1986"=>"US-ASCII",
|
6
|
-
# "SJIS"=>"Shift_JIS", "eucJP"=>"EUC-JP", "CP932"=>"Windows-31J"}
|
7
|
-
def self.aliases: () -> ::Hash[String, String]
|
8
|
-
|
9
|
-
def self.compatible?: (untyped obj1, untyped obj2) -> Encoding?
|
10
|
-
|
11
|
-
# Returns default external encoding.
|
12
|
-
#
|
13
|
-
# The default external encoding is used by default for strings created
|
14
|
-
# from the following locations:
|
15
|
-
#
|
16
|
-
# - CSV
|
17
|
-
#
|
18
|
-
# - [File](https://ruby-doc.org/core-2.6.3/File.html) data read from
|
19
|
-
# disk
|
20
|
-
#
|
21
|
-
# - SDBM
|
22
|
-
#
|
23
|
-
# - StringIO
|
24
|
-
#
|
25
|
-
# - Zlib::GzipReader
|
26
|
-
#
|
27
|
-
# - Zlib::GzipWriter
|
28
|
-
#
|
29
|
-
# - [String\#inspect](https://ruby-doc.org/core-2.6.3/String.html#method-i-inspect)
|
30
|
-
#
|
31
|
-
# - [Regexp\#inspect](https://ruby-doc.org/core-2.6.3/Regexp.html#method-i-inspect)
|
32
|
-
#
|
33
|
-
# While strings created from these locations will have this encoding, the
|
34
|
-
# encoding may not be valid. Be sure to check
|
35
|
-
# [String\#valid\_encoding?](https://ruby-doc.org/core-2.6.3/String.html#method-i-valid_encoding-3F)
|
36
|
-
# .
|
37
|
-
#
|
38
|
-
# [File](https://ruby-doc.org/core-2.6.3/File.html) data written to disk
|
39
|
-
# will be transcoded to the default external encoding when written.
|
40
|
-
#
|
41
|
-
# The default external encoding is initialized by the locale or -E option.
|
42
|
-
def self.default_external: () -> Encoding
|
43
|
-
|
44
|
-
def self.default_external=: (String arg0) -> String
|
45
|
-
| (Encoding arg0) -> Encoding
|
46
|
-
|
47
|
-
# Returns default internal encoding. Strings will be transcoded to the
|
48
|
-
# default internal encoding in the following places if the default
|
49
|
-
# internal encoding is not nil:
|
50
|
-
#
|
51
|
-
# - CSV
|
52
|
-
#
|
53
|
-
# - Etc.sysconfdir and Etc.systmpdir
|
54
|
-
#
|
55
|
-
# - [File](https://ruby-doc.org/core-2.6.3/File.html) data read from
|
56
|
-
# disk
|
57
|
-
#
|
58
|
-
# - [File](https://ruby-doc.org/core-2.6.3/File.html) names from
|
59
|
-
# [Dir](https://ruby-doc.org/core-2.6.3/Dir.html)
|
60
|
-
#
|
61
|
-
# - [Integer\#chr](https://ruby-doc.org/core-2.6.3/Integer.html#method-i-chr)
|
62
|
-
#
|
63
|
-
# - [String\#inspect](https://ruby-doc.org/core-2.6.3/String.html#method-i-inspect)
|
64
|
-
# and
|
65
|
-
# [Regexp\#inspect](https://ruby-doc.org/core-2.6.3/Regexp.html#method-i-inspect)
|
66
|
-
#
|
67
|
-
# - Strings returned from Readline
|
68
|
-
#
|
69
|
-
# - Strings returned from SDBM
|
70
|
-
#
|
71
|
-
# - [Time\#zone](https://ruby-doc.org/core-2.6.3/Time.html#method-i-zone)
|
72
|
-
#
|
73
|
-
# - Values from [ENV](https://ruby-doc.org/core-2.6.3/ENV.html)
|
74
|
-
#
|
75
|
-
# - Values in ARGV including $PROGRAM\_NAME
|
76
|
-
#
|
77
|
-
# Additionally
|
78
|
-
# [String\#encode](https://ruby-doc.org/core-2.6.3/String.html#method-i-encode)
|
79
|
-
# and
|
80
|
-
# [String\#encode\!](https://ruby-doc.org/core-2.6.3/String.html#method-i-encode-21)
|
81
|
-
# use the default internal encoding if no encoding is given.
|
82
|
-
#
|
83
|
-
# The locale encoding (\_\_ENCODING\_\_), not
|
84
|
-
# [::default\_internal](Encoding.downloaded.ruby_doc#method-c-default_internal)
|
85
|
-
# , is used as the encoding of created strings.
|
86
|
-
#
|
87
|
-
# [::default\_internal](Encoding.downloaded.ruby_doc#method-c-default_internal)
|
88
|
-
# is initialized by the source file's internal\_encoding or -E option.
|
89
|
-
def self.default_internal: () -> Encoding?
|
90
|
-
|
91
|
-
def self.default_internal=: (String arg0) -> String?
|
92
|
-
| (Encoding arg0) -> Encoding?
|
93
|
-
| (nil arg0) -> nil
|
94
|
-
|
95
|
-
def self.find: (String | Encoding arg0) -> Encoding
|
96
|
-
|
97
|
-
def self.list: () -> ::Array[Encoding]
|
98
|
-
|
99
|
-
# Returns the list of available encoding names.
|
100
|
-
#
|
101
|
-
# Encoding.name_list
|
102
|
-
# #=> ["US-ASCII", "ASCII-8BIT", "UTF-8",
|
103
|
-
# "ISO-8859-1", "Shift_JIS", "EUC-JP",
|
104
|
-
# "Windows-31J",
|
105
|
-
# "BINARY", "CP932", "eucJP"]
|
106
|
-
def self.name_list: () -> ::Array[String]
|
107
|
-
|
108
|
-
# Returns whether ASCII-compatible or not.
|
109
|
-
#
|
110
|
-
# ```ruby
|
111
|
-
# Encoding::UTF_8.ascii_compatible? #=> true
|
112
|
-
# Encoding::UTF_16BE.ascii_compatible? #=> false
|
113
|
-
# ```
|
114
|
-
def ascii_compatible?: () -> bool
|
115
|
-
|
116
|
-
# Returns true for dummy encodings. A dummy encoding is an encoding for
|
117
|
-
# which character handling is not properly implemented. It is used for
|
118
|
-
# stateful encodings.
|
119
|
-
#
|
120
|
-
# ```ruby
|
121
|
-
# Encoding::ISO_2022_JP.dummy? #=> true
|
122
|
-
# Encoding::UTF_8.dummy? #=> false
|
123
|
-
# ```
|
124
|
-
def dummy?: () -> bool
|
125
|
-
|
126
|
-
def inspect: () -> String
|
127
|
-
|
128
|
-
# Returns the name of the encoding.
|
129
|
-
#
|
130
|
-
# ```ruby
|
131
|
-
# Encoding::UTF_8.name #=> "UTF-8"
|
132
|
-
# ```
|
133
|
-
def name: () -> String
|
134
|
-
|
135
|
-
# Returns the list of name and aliases of the encoding.
|
136
|
-
#
|
137
|
-
# ```ruby
|
138
|
-
# Encoding::WINDOWS_31J.names #=> ["Windows-31J", "CP932", "csWindows31J"]
|
139
|
-
# ```
|
140
|
-
def names: () -> ::Array[String]
|
141
|
-
|
142
|
-
def replicate: (String name) -> Encoding
|
143
|
-
|
144
|
-
# Returns the name of the encoding.
|
145
|
-
#
|
146
|
-
# ```ruby
|
147
|
-
# Encoding::UTF_8.name #=> "UTF-8"
|
148
|
-
# ```
|
149
|
-
def to_s: () -> String
|
150
|
-
end
|
151
|
-
|
152
|
-
Encoding::ANSI_X3_4_1968: Encoding
|
153
|
-
|
154
|
-
Encoding::ASCII: Encoding
|
155
|
-
|
156
|
-
Encoding::ASCII_8BIT: Encoding
|
157
|
-
|
158
|
-
Encoding::BIG5: Encoding
|
159
|
-
|
160
|
-
Encoding::BIG5_HKSCS: Encoding
|
161
|
-
|
162
|
-
Encoding::BIG5_HKSCS_2008: Encoding
|
163
|
-
|
164
|
-
Encoding::BIG5_UAO: Encoding
|
165
|
-
|
166
|
-
Encoding::BINARY: Encoding
|
167
|
-
|
168
|
-
Encoding::Big5: Encoding
|
169
|
-
|
170
|
-
Encoding::Big5_HKSCS: Encoding
|
171
|
-
|
172
|
-
Encoding::Big5_HKSCS_2008: Encoding
|
173
|
-
|
174
|
-
Encoding::Big5_UAO: Encoding
|
175
|
-
|
176
|
-
Encoding::CP1250: Encoding
|
177
|
-
|
178
|
-
Encoding::CP1251: Encoding
|
179
|
-
|
180
|
-
Encoding::CP1252: Encoding
|
181
|
-
|
182
|
-
Encoding::CP1253: Encoding
|
183
|
-
|
184
|
-
Encoding::CP1254: Encoding
|
185
|
-
|
186
|
-
Encoding::CP1255: Encoding
|
187
|
-
|
188
|
-
Encoding::CP1256: Encoding
|
189
|
-
|
190
|
-
Encoding::CP1257: Encoding
|
191
|
-
|
192
|
-
Encoding::CP1258: Encoding
|
193
|
-
|
194
|
-
Encoding::CP437: Encoding
|
195
|
-
|
196
|
-
Encoding::CP50220: Encoding
|
197
|
-
|
198
|
-
Encoding::CP50221: Encoding
|
199
|
-
|
200
|
-
Encoding::CP51932: Encoding
|
201
|
-
|
202
|
-
Encoding::CP65000: Encoding
|
203
|
-
|
204
|
-
Encoding::CP65001: Encoding
|
205
|
-
|
206
|
-
Encoding::CP737: Encoding
|
207
|
-
|
208
|
-
Encoding::CP775: Encoding
|
209
|
-
|
210
|
-
Encoding::CP850: Encoding
|
211
|
-
|
212
|
-
Encoding::CP852: Encoding
|
213
|
-
|
214
|
-
Encoding::CP855: Encoding
|
215
|
-
|
216
|
-
Encoding::CP857: Encoding
|
217
|
-
|
218
|
-
Encoding::CP860: Encoding
|
219
|
-
|
220
|
-
Encoding::CP861: Encoding
|
221
|
-
|
222
|
-
Encoding::CP862: Encoding
|
223
|
-
|
224
|
-
Encoding::CP863: Encoding
|
225
|
-
|
226
|
-
Encoding::CP864: Encoding
|
227
|
-
|
228
|
-
Encoding::CP865: Encoding
|
229
|
-
|
230
|
-
Encoding::CP866: Encoding
|
231
|
-
|
232
|
-
Encoding::CP869: Encoding
|
233
|
-
|
234
|
-
Encoding::CP874: Encoding
|
235
|
-
|
236
|
-
Encoding::CP878: Encoding
|
237
|
-
|
238
|
-
Encoding::CP932: Encoding
|
239
|
-
|
240
|
-
Encoding::CP936: Encoding
|
241
|
-
|
242
|
-
Encoding::CP949: Encoding
|
243
|
-
|
244
|
-
Encoding::CP950: Encoding
|
245
|
-
|
246
|
-
Encoding::CP951: Encoding
|
247
|
-
|
248
|
-
Encoding::CSWINDOWS31J: Encoding
|
249
|
-
|
250
|
-
Encoding::CsWindows31J: Encoding
|
251
|
-
|
252
|
-
Encoding::EBCDIC_CP_US: Encoding
|
253
|
-
|
254
|
-
Encoding::EMACS_MULE: Encoding
|
255
|
-
|
256
|
-
Encoding::EUCCN: Encoding
|
257
|
-
|
258
|
-
Encoding::EUCJP: Encoding
|
259
|
-
|
260
|
-
Encoding::EUCJP_MS: Encoding
|
261
|
-
|
262
|
-
Encoding::EUCKR: Encoding
|
263
|
-
|
264
|
-
Encoding::EUCTW: Encoding
|
265
|
-
|
266
|
-
Encoding::EUC_CN: Encoding
|
267
|
-
|
268
|
-
Encoding::EUC_JISX0213: Encoding
|
269
|
-
|
270
|
-
Encoding::EUC_JIS_2004: Encoding
|
271
|
-
|
272
|
-
Encoding::EUC_JP: Encoding
|
273
|
-
|
274
|
-
Encoding::EUC_JP_MS: Encoding
|
275
|
-
|
276
|
-
Encoding::EUC_KR: Encoding
|
277
|
-
|
278
|
-
Encoding::EUC_TW: Encoding
|
279
|
-
|
280
|
-
Encoding::Emacs_Mule: Encoding
|
281
|
-
|
282
|
-
Encoding::EucCN: Encoding
|
283
|
-
|
284
|
-
Encoding::EucJP: Encoding
|
285
|
-
|
286
|
-
Encoding::EucJP_ms: Encoding
|
287
|
-
|
288
|
-
Encoding::EucKR: Encoding
|
289
|
-
|
290
|
-
Encoding::EucTW: Encoding
|
291
|
-
|
292
|
-
Encoding::GB12345: Encoding
|
293
|
-
|
294
|
-
Encoding::GB18030: Encoding
|
295
|
-
|
296
|
-
Encoding::GB1988: Encoding
|
297
|
-
|
298
|
-
Encoding::GB2312: Encoding
|
299
|
-
|
300
|
-
Encoding::GBK: Encoding
|
301
|
-
|
302
|
-
Encoding::IBM037: Encoding
|
303
|
-
|
304
|
-
Encoding::IBM437: Encoding
|
305
|
-
|
306
|
-
Encoding::IBM737: Encoding
|
307
|
-
|
308
|
-
Encoding::IBM775: Encoding
|
309
|
-
|
310
|
-
Encoding::IBM850: Encoding
|
311
|
-
|
312
|
-
Encoding::IBM852: Encoding
|
313
|
-
|
314
|
-
Encoding::IBM855: Encoding
|
315
|
-
|
316
|
-
Encoding::IBM857: Encoding
|
317
|
-
|
318
|
-
Encoding::IBM860: Encoding
|
319
|
-
|
320
|
-
Encoding::IBM861: Encoding
|
321
|
-
|
322
|
-
Encoding::IBM862: Encoding
|
323
|
-
|
324
|
-
Encoding::IBM863: Encoding
|
325
|
-
|
326
|
-
Encoding::IBM864: Encoding
|
327
|
-
|
328
|
-
Encoding::IBM865: Encoding
|
329
|
-
|
330
|
-
Encoding::IBM866: Encoding
|
331
|
-
|
332
|
-
Encoding::IBM869: Encoding
|
333
|
-
|
334
|
-
Encoding::ISO2022_JP: Encoding
|
335
|
-
|
336
|
-
Encoding::ISO2022_JP2: Encoding
|
337
|
-
|
338
|
-
Encoding::ISO8859_1: Encoding
|
339
|
-
|
340
|
-
Encoding::ISO8859_10: Encoding
|
341
|
-
|
342
|
-
Encoding::ISO8859_11: Encoding
|
343
|
-
|
344
|
-
Encoding::ISO8859_13: Encoding
|
345
|
-
|
346
|
-
Encoding::ISO8859_14: Encoding
|
347
|
-
|
348
|
-
Encoding::ISO8859_15: Encoding
|
349
|
-
|
350
|
-
Encoding::ISO8859_16: Encoding
|
351
|
-
|
352
|
-
Encoding::ISO8859_2: Encoding
|
353
|
-
|
354
|
-
Encoding::ISO8859_3: Encoding
|
355
|
-
|
356
|
-
Encoding::ISO8859_4: Encoding
|
357
|
-
|
358
|
-
Encoding::ISO8859_5: Encoding
|
359
|
-
|
360
|
-
Encoding::ISO8859_6: Encoding
|
361
|
-
|
362
|
-
Encoding::ISO8859_7: Encoding
|
363
|
-
|
364
|
-
Encoding::ISO8859_8: Encoding
|
365
|
-
|
366
|
-
Encoding::ISO8859_9: Encoding
|
367
|
-
|
368
|
-
Encoding::ISO_2022_JP: Encoding
|
369
|
-
|
370
|
-
Encoding::ISO_2022_JP_2: Encoding
|
371
|
-
|
372
|
-
Encoding::ISO_2022_JP_KDDI: Encoding
|
373
|
-
|
374
|
-
Encoding::ISO_8859_1: Encoding
|
375
|
-
|
376
|
-
Encoding::ISO_8859_10: Encoding
|
377
|
-
|
378
|
-
Encoding::ISO_8859_11: Encoding
|
379
|
-
|
380
|
-
Encoding::ISO_8859_13: Encoding
|
381
|
-
|
382
|
-
Encoding::ISO_8859_14: Encoding
|
383
|
-
|
384
|
-
Encoding::ISO_8859_15: Encoding
|
385
|
-
|
386
|
-
Encoding::ISO_8859_16: Encoding
|
387
|
-
|
388
|
-
Encoding::ISO_8859_2: Encoding
|
389
|
-
|
390
|
-
Encoding::ISO_8859_3: Encoding
|
391
|
-
|
392
|
-
Encoding::ISO_8859_4: Encoding
|
393
|
-
|
394
|
-
Encoding::ISO_8859_5: Encoding
|
395
|
-
|
396
|
-
Encoding::ISO_8859_6: Encoding
|
397
|
-
|
398
|
-
Encoding::ISO_8859_7: Encoding
|
399
|
-
|
400
|
-
Encoding::ISO_8859_8: Encoding
|
401
|
-
|
402
|
-
Encoding::ISO_8859_9: Encoding
|
403
|
-
|
404
|
-
Encoding::KOI8_R: Encoding
|
405
|
-
|
406
|
-
Encoding::KOI8_U: Encoding
|
407
|
-
|
408
|
-
Encoding::MACCENTEURO: Encoding
|
409
|
-
|
410
|
-
Encoding::MACCROATIAN: Encoding
|
411
|
-
|
412
|
-
Encoding::MACCYRILLIC: Encoding
|
413
|
-
|
414
|
-
Encoding::MACGREEK: Encoding
|
415
|
-
|
416
|
-
Encoding::MACICELAND: Encoding
|
417
|
-
|
418
|
-
Encoding::MACJAPAN: Encoding
|
419
|
-
|
420
|
-
Encoding::MACJAPANESE: Encoding
|
421
|
-
|
422
|
-
Encoding::MACROMAN: Encoding
|
423
|
-
|
424
|
-
Encoding::MACROMANIA: Encoding
|
425
|
-
|
426
|
-
Encoding::MACTHAI: Encoding
|
427
|
-
|
428
|
-
Encoding::MACTURKISH: Encoding
|
429
|
-
|
430
|
-
Encoding::MACUKRAINE: Encoding
|
431
|
-
|
432
|
-
Encoding::MacCentEuro: Encoding
|
433
|
-
|
434
|
-
Encoding::MacCroatian: Encoding
|
435
|
-
|
436
|
-
Encoding::MacCyrillic: Encoding
|
437
|
-
|
438
|
-
Encoding::MacGreek: Encoding
|
439
|
-
|
440
|
-
Encoding::MacIceland: Encoding
|
441
|
-
|
442
|
-
Encoding::MacJapan: Encoding
|
443
|
-
|
444
|
-
Encoding::MacJapanese: Encoding
|
445
|
-
|
446
|
-
Encoding::MacRoman: Encoding
|
447
|
-
|
448
|
-
Encoding::MacRomania: Encoding
|
449
|
-
|
450
|
-
Encoding::MacThai: Encoding
|
451
|
-
|
452
|
-
Encoding::MacTurkish: Encoding
|
453
|
-
|
454
|
-
Encoding::MacUkraine: Encoding
|
455
|
-
|
456
|
-
Encoding::PCK: Encoding
|
457
|
-
|
458
|
-
Encoding::SHIFT_JIS: Encoding
|
459
|
-
|
460
|
-
Encoding::SJIS: Encoding
|
461
|
-
|
462
|
-
Encoding::SJIS_DOCOMO: Encoding
|
463
|
-
|
464
|
-
Encoding::SJIS_DoCoMo: Encoding
|
465
|
-
|
466
|
-
Encoding::SJIS_KDDI: Encoding
|
467
|
-
|
468
|
-
Encoding::SJIS_SOFTBANK: Encoding
|
469
|
-
|
470
|
-
Encoding::SJIS_SoftBank: Encoding
|
471
|
-
|
472
|
-
Encoding::STATELESS_ISO_2022_JP: Encoding
|
473
|
-
|
474
|
-
Encoding::STATELESS_ISO_2022_JP_KDDI: Encoding
|
475
|
-
|
476
|
-
Encoding::Shift_JIS: Encoding
|
477
|
-
|
478
|
-
Encoding::Stateless_ISO_2022_JP: Encoding
|
479
|
-
|
480
|
-
Encoding::Stateless_ISO_2022_JP_KDDI: Encoding
|
481
|
-
|
482
|
-
Encoding::TIS_620: Encoding
|
483
|
-
|
484
|
-
Encoding::UCS_2BE: Encoding
|
485
|
-
|
486
|
-
Encoding::UCS_4BE: Encoding
|
487
|
-
|
488
|
-
Encoding::UCS_4LE: Encoding
|
489
|
-
|
490
|
-
Encoding::US_ASCII: Encoding
|
491
|
-
|
492
|
-
Encoding::UTF8_DOCOMO: Encoding
|
493
|
-
|
494
|
-
Encoding::UTF8_DoCoMo: Encoding
|
495
|
-
|
496
|
-
Encoding::UTF8_KDDI: Encoding
|
497
|
-
|
498
|
-
Encoding::UTF8_MAC: Encoding
|
499
|
-
|
500
|
-
Encoding::UTF8_SOFTBANK: Encoding
|
501
|
-
|
502
|
-
Encoding::UTF8_SoftBank: Encoding
|
503
|
-
|
504
|
-
Encoding::UTF_16: Encoding
|
505
|
-
|
506
|
-
Encoding::UTF_16BE: Encoding
|
507
|
-
|
508
|
-
Encoding::UTF_16LE: Encoding
|
509
|
-
|
510
|
-
Encoding::UTF_32: Encoding
|
511
|
-
|
512
|
-
Encoding::UTF_32BE: Encoding
|
513
|
-
|
514
|
-
Encoding::UTF_32LE: Encoding
|
515
|
-
|
516
|
-
Encoding::UTF_7: Encoding
|
517
|
-
|
518
|
-
Encoding::UTF_8: Encoding
|
519
|
-
|
520
|
-
Encoding::UTF_8_HFS: Encoding
|
521
|
-
|
522
|
-
Encoding::UTF_8_MAC: Encoding
|
523
|
-
|
524
|
-
Encoding::WINDOWS_1250: Encoding
|
525
|
-
|
526
|
-
Encoding::WINDOWS_1251: Encoding
|
527
|
-
|
528
|
-
Encoding::WINDOWS_1252: Encoding
|
529
|
-
|
530
|
-
Encoding::WINDOWS_1253: Encoding
|
531
|
-
|
532
|
-
Encoding::WINDOWS_1254: Encoding
|
533
|
-
|
534
|
-
Encoding::WINDOWS_1255: Encoding
|
535
|
-
|
536
|
-
Encoding::WINDOWS_1256: Encoding
|
537
|
-
|
538
|
-
Encoding::WINDOWS_1257: Encoding
|
539
|
-
|
540
|
-
Encoding::WINDOWS_1258: Encoding
|
541
|
-
|
542
|
-
Encoding::WINDOWS_31J: Encoding
|
543
|
-
|
544
|
-
Encoding::WINDOWS_874: Encoding
|
545
|
-
|
546
|
-
Encoding::Windows_1250: Encoding
|
547
|
-
|
548
|
-
Encoding::Windows_1251: Encoding
|
549
|
-
|
550
|
-
Encoding::Windows_1252: Encoding
|
551
|
-
|
552
|
-
Encoding::Windows_1253: Encoding
|
553
|
-
|
554
|
-
Encoding::Windows_1254: Encoding
|
555
|
-
|
556
|
-
Encoding::Windows_1255: Encoding
|
557
|
-
|
558
|
-
Encoding::Windows_1256: Encoding
|
559
|
-
|
560
|
-
Encoding::Windows_1257: Encoding
|
561
|
-
|
562
|
-
Encoding::Windows_1258: Encoding
|
563
|
-
|
564
|
-
Encoding::Windows_31J: Encoding
|
565
|
-
|
566
|
-
Encoding::Windows_874: Encoding
|
567
|
-
|
568
|
-
class Encoding::Converter < Data
|
569
|
-
end
|
570
|
-
|
571
|
-
Encoding::Converter::AFTER_OUTPUT: Integer
|
572
|
-
|
573
|
-
Encoding::Converter::CRLF_NEWLINE_DECORATOR: Integer
|
574
|
-
|
575
|
-
Encoding::Converter::CR_NEWLINE_DECORATOR: Integer
|
576
|
-
|
577
|
-
Encoding::Converter::INVALID_MASK: Integer
|
578
|
-
|
579
|
-
Encoding::Converter::INVALID_REPLACE: Integer
|
580
|
-
|
581
|
-
Encoding::Converter::PARTIAL_INPUT: Integer
|
582
|
-
|
583
|
-
Encoding::Converter::UNDEF_HEX_CHARREF: Integer
|
584
|
-
|
585
|
-
Encoding::Converter::UNDEF_MASK: Integer
|
586
|
-
|
587
|
-
Encoding::Converter::UNDEF_REPLACE: Integer
|
588
|
-
|
589
|
-
Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR: Integer
|
590
|
-
|
591
|
-
Encoding::Converter::XML_ATTR_CONTENT_DECORATOR: Integer
|
592
|
-
|
593
|
-
Encoding::Converter::XML_ATTR_QUOTE_DECORATOR: Integer
|
594
|
-
|
595
|
-
Encoding::Converter::XML_TEXT_DECORATOR: Integer
|
596
|
-
|
597
|
-
class Encoding::CompatibilityError < EncodingError
|
598
|
-
end
|
599
|
-
|
600
|
-
class Encoding::ConverterNotFoundError < EncodingError
|
601
|
-
end
|
602
|
-
|
603
|
-
class Encoding::InvalidByteSequenceError < EncodingError
|
604
|
-
end
|
605
|
-
|
606
|
-
class Encoding::UndefinedConversionError < EncodingError
|
607
|
-
end
|