rubybreaker 0.0.3 → 0.0.4
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.
- data/NEWS +4 -0
- data/README.md +33 -19
- data/Rakefile +31 -13
- data/TODO +6 -4
- data/VERSION +1 -1
- data/bin/rubybreaker +0 -1
- data/lib/rubybreaker/debug/debug.rb +1 -1
- data/lib/rubybreaker/runtime/typesig_unparser.rb +96 -0
- data/lib/rubybreaker/runtime.rb +1 -0
- data/lib/rubybreaker/test/rspec.rb +15 -0
- data/lib/rubybreaker/test/testcase.rb +4 -4
- data/lib/rubybreaker/test.rb +1 -0
- data/lib/rubybreaker/type/type_grammar.treetop +5 -4
- data/lib/rubybreaker/type/type_unparser.rb +69 -25
- data/lib/rubybreaker.rb +9 -77
- data/test/integrated/tc_namespace.rb +56 -0
- data/test/ts_integrated.rb +1 -0
- data/test/ts_rspec.rb +31 -0
- data/test/ts_type.rb +2 -0
- data/test/type/tc_camelize.rb +24 -0
- data/test/type/tc_namespace.rb +25 -0
- data/test/type/tc_unparser.rb +31 -32
- data/webpage/index.html +34 -19
- data/webpage/rdoc/Object.html +308 -0
- data/webpage/rdoc/RubyBreaker/Breakable.html +5 -1
- data/webpage/rdoc/RubyBreaker/Broken/BrokenEigen.html +5 -1
- data/webpage/rdoc/RubyBreaker/Broken.html +5 -1
- data/webpage/rdoc/RubyBreaker/Context.html +5 -1
- data/webpage/rdoc/RubyBreaker/Errors/InternalError.html +4 -0
- data/webpage/rdoc/RubyBreaker/Errors/InvalidSubtypeCheck.html +4 -0
- data/webpage/rdoc/RubyBreaker/Errors/InvalidTypeConstruction.html +4 -0
- data/webpage/rdoc/RubyBreaker/Errors/SubtypeFailure.html +4 -0
- data/webpage/rdoc/RubyBreaker/Errors/TypeError.html +4 -0
- data/webpage/rdoc/RubyBreaker/Errors/UserError.html +4 -0
- data/webpage/rdoc/RubyBreaker/Errors.html +4 -0
- data/webpage/rdoc/RubyBreaker/Main.html +17 -132
- data/webpage/rdoc/RubyBreaker/ObjectPosition.html +5 -1
- data/webpage/rdoc/RubyBreaker/Position.html +5 -1
- data/webpage/rdoc/RubyBreaker/RubyTypeUtils.html +4 -0
- data/webpage/rdoc/RubyBreaker/Runtime/Inspector.html +4 -0
- data/webpage/rdoc/RubyBreaker/Runtime/MethodInfo.html +5 -1
- data/webpage/rdoc/RubyBreaker/Runtime/Monitor.html +5 -1
- data/webpage/rdoc/RubyBreaker/Runtime/MonitorInstaller.html +4 -0
- data/webpage/rdoc/RubyBreaker/Runtime/MonitorSwitch.html +5 -1
- data/webpage/rdoc/RubyBreaker/Runtime/MonitorUtils.html +4 -0
- data/webpage/rdoc/RubyBreaker/Runtime/ObjectWrapper.html +4 -0
- data/webpage/rdoc/RubyBreaker/Runtime/Pluggable.html +4 -0
- data/webpage/rdoc/RubyBreaker/Runtime/TypePlaceholder.html +5 -1
- data/webpage/rdoc/RubyBreaker/Runtime/TypeSigParser.html +4 -0
- data/webpage/rdoc/RubyBreaker/Runtime/TypeSystem.html +5 -1
- data/webpage/rdoc/RubyBreaker/Runtime/TypesigUnparser.html +404 -0
- data/webpage/rdoc/RubyBreaker/Runtime.html +5 -0
- data/webpage/rdoc/RubyBreaker/TestCase.html +47 -43
- data/webpage/rdoc/RubyBreaker/TypeComparer.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/AnyType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/BlockType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/DuckType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/FusionType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/MethodListType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/MethodType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/NilType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/NominalType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/OptionalType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/OrType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/SelfType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs/Type.html +11 -6
- data/webpage/rdoc/RubyBreaker/TypeDefs/VarLengthType.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeDefs.html +4 -0
- data/webpage/rdoc/RubyBreaker/TypeUnparser.html +15 -7
- data/webpage/rdoc/RubyBreaker/Typing.html +4 -0
- data/webpage/rdoc/RubyBreaker/Util.html +4 -0
- data/webpage/rdoc/RubyBreaker.html +6 -6
- data/webpage/rdoc/created.rid +9 -7
- data/webpage/rdoc/index.html +4 -0
- data/webpage/rdoc/js/search_index.js +1 -1
- data/webpage/rdoc/table_of_contents.html +36 -24
- metadata +13 -7
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
|
6
|
+
|
|
7
|
+
<title>class Object - RDoc Documentation</title>
|
|
8
|
+
|
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
|
10
|
+
|
|
11
|
+
<script type="text/javascript">
|
|
12
|
+
var rdoc_rel_prefix = "./";
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<body id="top" class="class">
|
|
24
|
+
<nav id="metadata">
|
|
25
|
+
<nav id="home-section" class="section">
|
|
26
|
+
<h3 class="section-header">
|
|
27
|
+
<a href="./index.html">Home</a>
|
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
|
30
|
+
</h3>
|
|
31
|
+
</nav>
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
+
<h3 class="section-header">
|
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
+
</h3>
|
|
40
|
+
</form>
|
|
41
|
+
|
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
|
43
|
+
</nav>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div id="file-metadata">
|
|
47
|
+
<nav id="file-list-section" class="section">
|
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
|
49
|
+
<ul>
|
|
50
|
+
<li>lib/rubybreaker/test/rspec.rb
|
|
51
|
+
</ul>
|
|
52
|
+
</nav>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<div id="class-metadata">
|
|
58
|
+
|
|
59
|
+
<nav id="parent-class-section" class="section">
|
|
60
|
+
<h3 class="section-header">Parent</h3>
|
|
61
|
+
|
|
62
|
+
<p class="link">BasicObject
|
|
63
|
+
|
|
64
|
+
</nav>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
<!-- Method Quickref -->
|
|
68
|
+
<nav id="method-list-section" class="section">
|
|
69
|
+
<h3 class="section-header">Methods</h3>
|
|
70
|
+
|
|
71
|
+
<ul class="link-list">
|
|
72
|
+
|
|
73
|
+
<li><a href="#method-i-22-23-7BRUBYBREAKER_RSPEC_PREFIX-7D_describe-22">#"#{RUBYBREAKER_RSPEC_PREFIX}_describe"</a>
|
|
74
|
+
|
|
75
|
+
<li><a href="#method-i-describe">#describe</a>
|
|
76
|
+
|
|
77
|
+
</ul>
|
|
78
|
+
</nav>
|
|
79
|
+
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<div id="project-metadata">
|
|
83
|
+
|
|
84
|
+
<nav id="classindex-section" class="section project-section">
|
|
85
|
+
<h3 class="section-header">Class and Module Index</h3>
|
|
86
|
+
|
|
87
|
+
<ul class="link-list">
|
|
88
|
+
|
|
89
|
+
<li><a href="./RubyBreaker.html">RubyBreaker</a>
|
|
90
|
+
|
|
91
|
+
<li><a href="./RubyBreaker/Breakable.html">RubyBreaker::Breakable</a>
|
|
92
|
+
|
|
93
|
+
<li><a href="./RubyBreaker/Broken.html">RubyBreaker::Broken</a>
|
|
94
|
+
|
|
95
|
+
<li><a href="./RubyBreaker/Broken/BrokenEigen.html">RubyBreaker::Broken::BrokenEigen</a>
|
|
96
|
+
|
|
97
|
+
<li><a href="./RubyBreaker/Context.html">RubyBreaker::Context</a>
|
|
98
|
+
|
|
99
|
+
<li><a href="./RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
|
100
|
+
|
|
101
|
+
<li><a href="./RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
|
102
|
+
|
|
103
|
+
<li><a href="./RubyBreaker/Errors/InvalidSubtypeCheck.html">RubyBreaker::Errors::InvalidSubtypeCheck</a>
|
|
104
|
+
|
|
105
|
+
<li><a href="./RubyBreaker/Errors/InvalidTypeConstruction.html">RubyBreaker::Errors::InvalidTypeConstruction</a>
|
|
106
|
+
|
|
107
|
+
<li><a href="./RubyBreaker/Errors/SubtypeFailure.html">RubyBreaker::Errors::SubtypeFailure</a>
|
|
108
|
+
|
|
109
|
+
<li><a href="./RubyBreaker/Errors/TypeError.html">RubyBreaker::Errors::TypeError</a>
|
|
110
|
+
|
|
111
|
+
<li><a href="./RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
|
112
|
+
|
|
113
|
+
<li><a href="./RubyBreaker/Main.html">RubyBreaker::Main</a>
|
|
114
|
+
|
|
115
|
+
<li><a href="./RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
|
116
|
+
|
|
117
|
+
<li><a href="./RubyBreaker/Position.html">RubyBreaker::Position</a>
|
|
118
|
+
|
|
119
|
+
<li><a href="./RubyBreaker/RubyTypeUtils.html">RubyBreaker::RubyTypeUtils</a>
|
|
120
|
+
|
|
121
|
+
<li><a href="./RubyBreaker/Runtime.html">RubyBreaker::Runtime</a>
|
|
122
|
+
|
|
123
|
+
<li><a href="./RubyBreaker/Runtime/Inspector.html">RubyBreaker::Runtime::Inspector</a>
|
|
124
|
+
|
|
125
|
+
<li><a href="./RubyBreaker/Runtime/MethodInfo.html">RubyBreaker::Runtime::MethodInfo</a>
|
|
126
|
+
|
|
127
|
+
<li><a href="./RubyBreaker/Runtime/Monitor.html">RubyBreaker::Runtime::Monitor</a>
|
|
128
|
+
|
|
129
|
+
<li><a href="./RubyBreaker/Runtime/MonitorInstaller.html">RubyBreaker::Runtime::MonitorInstaller</a>
|
|
130
|
+
|
|
131
|
+
<li><a href="./RubyBreaker/Runtime/MonitorSwitch.html">RubyBreaker::Runtime::MonitorSwitch</a>
|
|
132
|
+
|
|
133
|
+
<li><a href="./RubyBreaker/Runtime/MonitorUtils.html">RubyBreaker::Runtime::MonitorUtils</a>
|
|
134
|
+
|
|
135
|
+
<li><a href="./RubyBreaker/Runtime/ObjectWrapper.html">RubyBreaker::Runtime::ObjectWrapper</a>
|
|
136
|
+
|
|
137
|
+
<li><a href="./RubyBreaker/Runtime/Pluggable.html">RubyBreaker::Runtime::Pluggable</a>
|
|
138
|
+
|
|
139
|
+
<li><a href="./RubyBreaker/Runtime/TypePlaceholder.html">RubyBreaker::Runtime::TypePlaceholder</a>
|
|
140
|
+
|
|
141
|
+
<li><a href="./RubyBreaker/Runtime/TypeSigParser.html">RubyBreaker::Runtime::TypeSigParser</a>
|
|
142
|
+
|
|
143
|
+
<li><a href="./RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
144
|
+
|
|
145
|
+
<li><a href="./RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
146
|
+
|
|
147
|
+
<li><a href="./RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
148
|
+
|
|
149
|
+
<li><a href="./RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
150
|
+
|
|
151
|
+
<li><a href="./RubyBreaker/TypeDefs.html">RubyBreaker::TypeDefs</a>
|
|
152
|
+
|
|
153
|
+
<li><a href="./RubyBreaker/TypeDefs/AnyType.html">RubyBreaker::TypeDefs::AnyType</a>
|
|
154
|
+
|
|
155
|
+
<li><a href="./RubyBreaker/TypeDefs/BlockType.html">RubyBreaker::TypeDefs::BlockType</a>
|
|
156
|
+
|
|
157
|
+
<li><a href="./RubyBreaker/TypeDefs/DuckType.html">RubyBreaker::TypeDefs::DuckType</a>
|
|
158
|
+
|
|
159
|
+
<li><a href="./RubyBreaker/TypeDefs/FusionType.html">RubyBreaker::TypeDefs::FusionType</a>
|
|
160
|
+
|
|
161
|
+
<li><a href="./RubyBreaker/TypeDefs/MethodListType.html">RubyBreaker::TypeDefs::MethodListType</a>
|
|
162
|
+
|
|
163
|
+
<li><a href="./RubyBreaker/TypeDefs/MethodType.html">RubyBreaker::TypeDefs::MethodType</a>
|
|
164
|
+
|
|
165
|
+
<li><a href="./RubyBreaker/TypeDefs/NilType.html">RubyBreaker::TypeDefs::NilType</a>
|
|
166
|
+
|
|
167
|
+
<li><a href="./RubyBreaker/TypeDefs/NominalType.html">RubyBreaker::TypeDefs::NominalType</a>
|
|
168
|
+
|
|
169
|
+
<li><a href="./RubyBreaker/TypeDefs/OptionalType.html">RubyBreaker::TypeDefs::OptionalType</a>
|
|
170
|
+
|
|
171
|
+
<li><a href="./RubyBreaker/TypeDefs/OrType.html">RubyBreaker::TypeDefs::OrType</a>
|
|
172
|
+
|
|
173
|
+
<li><a href="./RubyBreaker/TypeDefs/SelfType.html">RubyBreaker::TypeDefs::SelfType</a>
|
|
174
|
+
|
|
175
|
+
<li><a href="./RubyBreaker/TypeDefs/Type.html">RubyBreaker::TypeDefs::Type</a>
|
|
176
|
+
|
|
177
|
+
<li><a href="./RubyBreaker/TypeDefs/VarLengthType.html">RubyBreaker::TypeDefs::VarLengthType</a>
|
|
178
|
+
|
|
179
|
+
<li><a href="./RubyBreaker/TypeUnparser.html">RubyBreaker::TypeUnparser</a>
|
|
180
|
+
|
|
181
|
+
<li><a href="./RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
|
182
|
+
|
|
183
|
+
<li><a href="./RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
184
|
+
|
|
185
|
+
<li><a href="./Object.html">Object</a>
|
|
186
|
+
|
|
187
|
+
</ul>
|
|
188
|
+
</nav>
|
|
189
|
+
|
|
190
|
+
</div>
|
|
191
|
+
</nav>
|
|
192
|
+
|
|
193
|
+
<div id="documentation">
|
|
194
|
+
<h1 class="class">class Object</h1>
|
|
195
|
+
|
|
196
|
+
<div id="description" class="description">
|
|
197
|
+
|
|
198
|
+
</div><!-- description -->
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<!-- Constants -->
|
|
210
|
+
<section id="constants-list" class="section">
|
|
211
|
+
<h3 class="section-header">Constants</h3>
|
|
212
|
+
<dl>
|
|
213
|
+
|
|
214
|
+
<dt id="RUBYBREAKER_RSPEC_PREFIX">RUBYBREAKER_RSPEC_PREFIX
|
|
215
|
+
|
|
216
|
+
<dd class="description"><p>-</p>
|
|
217
|
+
|
|
218
|
+
<pre>This file overrides the describe method of RSpec to call the RubyBreaker
|
|
219
|
+
setup first.</pre>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
</dl>
|
|
223
|
+
</section>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<!-- Methods -->
|
|
229
|
+
|
|
230
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
|
231
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<div id="method-i-22-23-7BRUBYBREAKER_RSPEC_PREFIX-7D_describe-22" class="method-detail method-alias">
|
|
235
|
+
|
|
236
|
+
<div class="method-heading">
|
|
237
|
+
<span class="method-name">"#{RUBYBREAKER_RSPEC_PREFIX}_describe"</span><span
|
|
238
|
+
class="method-args">(*args,&blk)</span>
|
|
239
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<div class="method-description">
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
</div>
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<div class="aliases">
|
|
255
|
+
Alias for: <a href="Object.html#method-i-describe">describe</a>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
</div><!-- 22-23-7BRUBYBREAKER_RSPEC_PREFIX-7D_describe-22-method -->
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
<div id="method-i-describe" class="method-detail ">
|
|
262
|
+
|
|
263
|
+
<div class="method-heading">
|
|
264
|
+
<span class="method-name">describe</span><span
|
|
265
|
+
class="method-args">(*args,&blk)</span>
|
|
266
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<div class="method-description">
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
<div class="method-source-code" id="describe-source">
|
|
277
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/test/rspec.rb, line 11</span>
|
|
278
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">describe</span>(*<span class="ruby-identifier">args</span>,&<span class="ruby-identifier">blk</span>)
|
|
279
|
+
<span class="ruby-constant">RubyBreaker</span><span class="ruby-operator">::</span><span class="ruby-constant">Main</span>.<span class="ruby-identifier">setup</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">defined?</span>(<span class="ruby-constant">RubyBreaker</span>)
|
|
280
|
+
<span class="ruby-identifier">send</span>(<span class="ruby-value">:"#{RUBYBREAKER_RSPEC_PREFIX}_describe"</span>, *<span class="ruby-identifier">args</span>, &<span class="ruby-identifier">blk</span>)
|
|
281
|
+
<span class="ruby-keyword">end</span></pre>
|
|
282
|
+
</div><!-- describe-source -->
|
|
283
|
+
|
|
284
|
+
</div>
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
<div class="aliases">
|
|
288
|
+
Also aliased as: <a href="Object.html#method-i-22-23-7BRUBYBREAKER_RSPEC_PREFIX-7D_describe-22">"#{RUBYBREAKER_RSPEC_PREFIX}_describe"</a>
|
|
289
|
+
</div>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
</div><!-- describe-method -->
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
</section><!-- public-instance-method-details -->
|
|
297
|
+
|
|
298
|
+
</section><!-- 5Buntitled-5D -->
|
|
299
|
+
|
|
300
|
+
</div><!-- documentation -->
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<footer id="validator-badges">
|
|
304
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
305
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
|
306
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
307
|
+
</footer>
|
|
308
|
+
|
|
@@ -134,6 +134,8 @@
|
|
|
134
134
|
|
|
135
135
|
<li><a href="../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
136
136
|
|
|
137
|
+
<li><a href="../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
138
|
+
|
|
137
139
|
<li><a href="../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
138
140
|
|
|
139
141
|
<li><a href="../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -172,6 +174,8 @@
|
|
|
172
174
|
|
|
173
175
|
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
174
176
|
|
|
177
|
+
<li><a href="../Object.html">Object</a>
|
|
178
|
+
|
|
175
179
|
</ul>
|
|
176
180
|
</nav>
|
|
177
181
|
|
|
@@ -246,7 +250,7 @@ later on.</p>
|
|
|
246
250
|
|
|
247
251
|
|
|
248
252
|
<div class="method-source-code" id="included-source">
|
|
249
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker/runtime.rb, line
|
|
253
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/runtime.rb, line 39</span>
|
|
250
254
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">mod</span>)
|
|
251
255
|
<span class="ruby-constant">BREAKABLE</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">mod</span>
|
|
252
256
|
<span class="ruby-constant">BREAKABLE</span> <span class="ruby-operator"><<</span> <span class="ruby-constant">Runtime</span>.<span class="ruby-identifier">eigen_class</span>(<span class="ruby-identifier">mod</span>)
|
|
@@ -150,6 +150,8 @@
|
|
|
150
150
|
|
|
151
151
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
152
152
|
|
|
153
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
154
|
+
|
|
153
155
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
154
156
|
|
|
155
157
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -188,6 +190,8 @@
|
|
|
188
190
|
|
|
189
191
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
190
192
|
|
|
193
|
+
<li><a href="../../Object.html">Object</a>
|
|
194
|
+
|
|
191
195
|
</ul>
|
|
192
196
|
</nav>
|
|
193
197
|
|
|
@@ -251,7 +255,7 @@ the type of a method.</p>
|
|
|
251
255
|
|
|
252
256
|
|
|
253
257
|
<div class="method-source-code" id="typesig-source">
|
|
254
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker/runtime.rb, line
|
|
258
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/runtime.rb, line 74</span>
|
|
255
259
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">typesig</span>(<span class="ruby-identifier">str</span>)
|
|
256
260
|
|
|
257
261
|
<span class="ruby-comment"># This MUST BE set for self type to work in type signatures.</span>
|
|
@@ -150,6 +150,8 @@
|
|
|
150
150
|
|
|
151
151
|
<li><a href="../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
152
152
|
|
|
153
|
+
<li><a href="../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
154
|
+
|
|
153
155
|
<li><a href="../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
154
156
|
|
|
155
157
|
<li><a href="../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -188,6 +190,8 @@
|
|
|
188
190
|
|
|
189
191
|
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
190
192
|
|
|
193
|
+
<li><a href="../Object.html">Object</a>
|
|
194
|
+
|
|
191
195
|
</ul>
|
|
192
196
|
</nav>
|
|
193
197
|
|
|
@@ -255,7 +259,7 @@ class methods too.</p>
|
|
|
255
259
|
|
|
256
260
|
|
|
257
261
|
<div class="method-source-code" id="included-source">
|
|
258
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker/runtime.rb, line
|
|
262
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/runtime.rb, line 106</span>
|
|
259
263
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">mod</span>)
|
|
260
264
|
|
|
261
265
|
<span class="ruby-comment"># Add to the list of broken modules</span>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<nav id="parent-class-section" class="section">
|
|
60
60
|
<h3 class="section-header">Parent</h3>
|
|
61
61
|
|
|
62
|
-
<p class="link">Object
|
|
62
|
+
<p class="link"><a href="../Object.html">Object</a>
|
|
63
63
|
|
|
64
64
|
</nav>
|
|
65
65
|
|
|
@@ -146,6 +146,8 @@
|
|
|
146
146
|
|
|
147
147
|
<li><a href="../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
148
148
|
|
|
149
|
+
<li><a href="../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
150
|
+
|
|
149
151
|
<li><a href="../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
150
152
|
|
|
151
153
|
<li><a href="../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -184,6 +186,8 @@
|
|
|
184
186
|
|
|
185
187
|
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
186
188
|
|
|
189
|
+
<li><a href="../Object.html">Object</a>
|
|
190
|
+
|
|
187
191
|
</ul>
|
|
188
192
|
</nav>
|
|
189
193
|
|
|
@@ -140,6 +140,8 @@
|
|
|
140
140
|
|
|
141
141
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
142
142
|
|
|
143
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
144
|
+
|
|
143
145
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
144
146
|
|
|
145
147
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -178,6 +180,8 @@
|
|
|
178
180
|
|
|
179
181
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
180
182
|
|
|
183
|
+
<li><a href="../../Object.html">Object</a>
|
|
184
|
+
|
|
181
185
|
</ul>
|
|
182
186
|
</nav>
|
|
183
187
|
|
|
@@ -140,6 +140,8 @@
|
|
|
140
140
|
|
|
141
141
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
142
142
|
|
|
143
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
144
|
+
|
|
143
145
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
144
146
|
|
|
145
147
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -178,6 +180,8 @@
|
|
|
178
180
|
|
|
179
181
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
180
182
|
|
|
183
|
+
<li><a href="../../Object.html">Object</a>
|
|
184
|
+
|
|
181
185
|
</ul>
|
|
182
186
|
</nav>
|
|
183
187
|
|
|
@@ -130,6 +130,8 @@
|
|
|
130
130
|
|
|
131
131
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
132
132
|
|
|
133
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
134
|
+
|
|
133
135
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
134
136
|
|
|
135
137
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -168,6 +170,8 @@
|
|
|
168
170
|
|
|
169
171
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
170
172
|
|
|
173
|
+
<li><a href="../../Object.html">Object</a>
|
|
174
|
+
|
|
171
175
|
</ul>
|
|
172
176
|
</nav>
|
|
173
177
|
|
|
@@ -130,6 +130,8 @@
|
|
|
130
130
|
|
|
131
131
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
132
132
|
|
|
133
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
134
|
+
|
|
133
135
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
134
136
|
|
|
135
137
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -168,6 +170,8 @@
|
|
|
168
170
|
|
|
169
171
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
170
172
|
|
|
173
|
+
<li><a href="../../Object.html">Object</a>
|
|
174
|
+
|
|
171
175
|
</ul>
|
|
172
176
|
</nav>
|
|
173
177
|
|
|
@@ -130,6 +130,8 @@
|
|
|
130
130
|
|
|
131
131
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
132
132
|
|
|
133
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
134
|
+
|
|
133
135
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
134
136
|
|
|
135
137
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -168,6 +170,8 @@
|
|
|
168
170
|
|
|
169
171
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
170
172
|
|
|
173
|
+
<li><a href="../../Object.html">Object</a>
|
|
174
|
+
|
|
171
175
|
</ul>
|
|
172
176
|
</nav>
|
|
173
177
|
|
|
@@ -140,6 +140,8 @@
|
|
|
140
140
|
|
|
141
141
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
142
142
|
|
|
143
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
144
|
+
|
|
143
145
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
144
146
|
|
|
145
147
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -178,6 +180,8 @@
|
|
|
178
180
|
|
|
179
181
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
180
182
|
|
|
183
|
+
<li><a href="../../Object.html">Object</a>
|
|
184
|
+
|
|
181
185
|
</ul>
|
|
182
186
|
</nav>
|
|
183
187
|
|
|
@@ -124,6 +124,8 @@
|
|
|
124
124
|
|
|
125
125
|
<li><a href="../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
|
126
126
|
|
|
127
|
+
<li><a href="../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
|
128
|
+
|
|
127
129
|
<li><a href="../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
|
128
130
|
|
|
129
131
|
<li><a href="../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
|
@@ -162,6 +164,8 @@
|
|
|
162
164
|
|
|
163
165
|
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
|
164
166
|
|
|
167
|
+
<li><a href="../Object.html">Object</a>
|
|
168
|
+
|
|
165
169
|
</ul>
|
|
166
170
|
</nav>
|
|
167
171
|
|