blankity 0.10.1 → 1.0.0

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.
@@ -1,247 +0,0 @@
1
- # Generated from lib/blankity/classes.rb with RBS::Inline
2
-
3
- module Blankity
4
- # A Class which only defines +#to_i+; it implements RBS's +_ToI+ interface.
5
- class ToI < Blank
6
- @__value__: Integer
7
-
8
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
9
- #
10
- # @rbs (Integer, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
11
- def initialize: (Integer, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
12
-
13
- # : () -> Integer
14
- def to_i: () -> Integer
15
- end
16
-
17
- # A Class which exclusively defines +#to_int+; it implements RBS's +_ToInt+ interface.
18
- class ToInt < Blank
19
- @__value__: Integer
20
-
21
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
22
- #
23
- # @rbs (Integer, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
24
- def initialize: (Integer, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
25
-
26
- # : () -> Integer
27
- def to_int: () -> Integer
28
- end
29
-
30
- # A Class which exclusively defines +#to_s+; it implements RBS's +_ToS+ interface.
31
- class ToS < Blank
32
- @__value__: String
33
-
34
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
35
- #
36
- # @rbs (String, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
37
- def initialize: (String, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
38
-
39
- # : () -> String
40
- def to_s: () -> String
41
- end
42
-
43
- # A Class which exclusively defines +#to_str+; it implements RBS's +_ToStr+ interface.
44
- class ToStr < Blank
45
- @__value__: String
46
-
47
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
48
- #
49
- # @rbs (String, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
50
- def initialize: (String, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
51
-
52
- # : () -> String
53
- def to_str: () -> String
54
- end
55
-
56
- # A Class which exclusively defines +#to_a+; it implements RBS's +_ToA[T]+ interface.
57
- #
58
- # @rbs generic unchecked out T -- Type of elements
59
- class ToA[unchecked out T] < Blank
60
- @__value__: Array[T]
61
-
62
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
63
- #
64
- # @rbs (Array[T], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
65
- def initialize: (Array[T], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
66
-
67
- # : () -> Array[T]
68
- def to_a: () -> Array[T]
69
- end
70
-
71
- # A Class which exclusively defines +#to_ary+; it implements RBS's +_ToAry[T]+ interface.
72
- #
73
- # @rbs generic unchecked out T -- Type of elements
74
- class ToAry[unchecked out T] < Blank
75
- @__value__: Array[T]
76
-
77
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
78
- #
79
- # @rbs (Array[T], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
80
- def initialize: (Array[T], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
81
-
82
- # : () -> Array[T]
83
- def to_ary: () -> Array[T]
84
- end
85
-
86
- # A Class which exclusively defines +#to_h+; it implements RBS's +_ToH[K, V]+ interface.
87
- #
88
- # @rbs generic unchecked out K -- Type of Key
89
- # @rbs generic unchecked out V -- Type of Value
90
- class ToH[unchecked out K, unchecked out V] < Blank
91
- @__value__: Hash[K, V]
92
-
93
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
94
- #
95
- # @rbs (Hash[K, V], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
96
- def initialize: (Hash[K, V], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
97
-
98
- # : () -> Hash[K, V]
99
- def to_h: () -> Hash[K, V]
100
- end
101
-
102
- # A Class which exclusively defines +#to_hash+; it implements RBS's +_ToHash[K, V]+ interface.
103
- #
104
- # @rbs generic unchecked out K -- Type of Key
105
- # @rbs generic unchecked out V -- Type of Value
106
- class ToHash[unchecked out K, unchecked out V] < Blank
107
- @__value__: Hash[K, V]
108
-
109
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
110
- #
111
- # @rbs (Hash[K, V], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
112
- def initialize: (Hash[K, V], ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
113
-
114
- # : () -> Hash[K, V]
115
- def to_hash: () -> Hash[K, V]
116
- end
117
-
118
- # A Class which exclusively defines +#to_sym+; it implements RBS's +_ToSym+ interface.
119
- class ToSym < Blank
120
- @__value__: Symbol
121
-
122
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
123
- #
124
- # @rbs (Symbol, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
125
- def initialize: (Symbol, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
126
-
127
- # : () -> Symbol
128
- def to_sym: () -> Symbol
129
- end
130
-
131
- # A Class which exclusively defines +#to_r+; it implements RBS's +_ToR+ interface.
132
- class ToR < Blank
133
- @__value__: Rational
134
-
135
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
136
- #
137
- # @rbs (Rational, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
138
- def initialize: (Rational, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
139
-
140
- # : () -> Rational
141
- def to_r: () -> Rational
142
- end
143
-
144
- # A Class which exclusively defines +#to_c+; it implements RBS's +_ToC+ interface.
145
- class ToC < Blank
146
- @__value__: Complex
147
-
148
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
149
- #
150
- # @rbs (Complex, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
151
- def initialize: (Complex, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
152
-
153
- # : () -> Complex
154
- def to_c: () -> Complex
155
- end
156
-
157
- # A Class which exclusively defines +#to_f+; it implements RBS's +_ToF+ interface.
158
- class ToF < Blank
159
- @__value__: Float
160
-
161
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
162
- #
163
- # @rbs (Float, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
164
- def initialize: (Float, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
165
-
166
- # : () -> Float
167
- def to_f: () -> Float
168
- end
169
-
170
- # A Class which exclusively defines +#to_regexp+; it implements RBS's +Regexp::_ToRegexp+ interface.
171
- class ToRegexp < Blank
172
- @__value__: Regexp
173
-
174
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
175
- #
176
- # @rbs (Regexp, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
177
- def initialize: (Regexp, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
178
-
179
- # : () -> Regexp
180
- def to_regexp: () -> Regexp
181
- end
182
-
183
- # A Class which exclusively defines +#to_path+; it implements RBS's +_ToPath+ interface.
184
- class ToPath < Blank
185
- @__value__: String
186
-
187
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
188
- #
189
- # @rbs (String, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
190
- def initialize: (String, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
191
-
192
- # : () -> String
193
- def to_path: () -> String
194
- end
195
-
196
- # A Class which exclusively defines +#to_io+; it implements RBS's +_ToIO+ interface.
197
- class ToIO < Blank
198
- @__value__: IO
199
-
200
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
201
- #
202
- # @rbs (IO, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
203
- def initialize: (IO, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
204
-
205
- # : () -> IO
206
- def to_io: () -> IO
207
- end
208
-
209
- # A Class which exclusively defines +#to_proc+; it implements RBS's +_ToProc+ interface.
210
- class ToProc < Blank
211
- @__value__: Proc
212
-
213
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
214
- #
215
- # @rbs (Proc, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
216
- def initialize: (Proc, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
217
-
218
- # : () -> Proc
219
- def to_proc: () -> Proc
220
- end
221
-
222
- # A Class which defines `#begin`, `#end`, and `#exclude_end?`. It implements RBS's +_Range[T]+
223
- # interface.
224
- #
225
- # @rbs generic out T -- Type to iterate over
226
- class Range[out T] < Blank
227
- @begin: T?
228
-
229
- @end: T?
230
-
231
- @exclude_end: bool
232
-
233
- # Creates a new instance; any additional arguments or block are passed to {Blank#initialize}.
234
- #
235
- # @rbs (T?, T?, ?bool, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
236
- def initialize: (T?, T?, ?bool, ?methods: Array[interned], ?hash: bool) ?{ () [self: instance] -> void } -> void
237
-
238
- # : () -> T?
239
- def begin: () -> T?
240
-
241
- # : () -> T?
242
- def end: () -> T?
243
-
244
- # : () -> bool
245
- def exclude_end?: () -> bool
246
- end
247
- end