rubybreaker 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -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
|
|
@@ -142,6 +142,8 @@
|
|
142
142
|
|
143
143
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
144
144
|
|
145
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
146
|
+
|
145
147
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
146
148
|
|
147
149
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
@@ -180,6 +182,8 @@
|
|
180
182
|
|
181
183
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
182
184
|
|
185
|
+
<li><a href="../../Object.html">Object</a>
|
186
|
+
|
183
187
|
</ul>
|
184
188
|
</nav>
|
185
189
|
|
@@ -142,6 +142,8 @@
|
|
142
142
|
|
143
143
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
144
144
|
|
145
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
146
|
+
|
145
147
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
146
148
|
|
147
149
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
@@ -180,6 +182,8 @@
|
|
180
182
|
|
181
183
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
182
184
|
|
185
|
+
<li><a href="../../Object.html">Object</a>
|
186
|
+
|
183
187
|
</ul>
|
184
188
|
</nav>
|
185
189
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -144,6 +144,8 @@
|
|
144
144
|
|
145
145
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
146
146
|
|
147
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
148
|
+
|
147
149
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
148
150
|
|
149
151
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
@@ -182,6 +184,8 @@
|
|
182
184
|
|
183
185
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
184
186
|
|
187
|
+
<li><a href="../../Object.html">Object</a>
|
188
|
+
|
185
189
|
</ul>
|
186
190
|
</nav>
|
187
191
|
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<nav id="parent-class-section" class="section">
|
63
63
|
<h3 class="section-header">Parent</h3>
|
64
64
|
|
65
|
-
<p class="link">Object
|
65
|
+
<p class="link"><a href="../../Object.html">Object</a>
|
66
66
|
|
67
67
|
</nav>
|
68
68
|
|
@@ -149,6 +149,8 @@
|
|
149
149
|
|
150
150
|
<li><a href="../../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
151
151
|
|
152
|
+
<li><a href="../../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
153
|
+
|
152
154
|
<li><a href="../../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
153
155
|
|
154
156
|
<li><a href="../../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
@@ -187,6 +189,8 @@
|
|
187
189
|
|
188
190
|
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
189
191
|
|
192
|
+
<li><a href="../../Object.html">Object</a>
|
193
|
+
|
190
194
|
</ul>
|
191
195
|
</nav>
|
192
196
|
|
@@ -364,21 +368,22 @@ href="../Typing.html#method-c-subtype_rel-3F">RubyBreaker::Typing.subtype_rel?</
|
|
364
368
|
|
365
369
|
<div class="method-heading">
|
366
370
|
<span class="method-name">unparse</span><span
|
367
|
-
class="method-args">()</span>
|
371
|
+
class="method-args">(opts={})</span>
|
368
372
|
<span class="method-click-advice">click to toggle source</span>
|
369
373
|
</div>
|
370
374
|
|
371
375
|
|
372
376
|
<div class="method-description">
|
373
377
|
|
374
|
-
<p>This method
|
378
|
+
<p>This method is a shorthand for calling <a
|
379
|
+
href="../TypeUnparser.html#method-c-unparse">RubyBreaker::TypeUnparser.unparse</a>.</p>
|
375
380
|
|
376
381
|
|
377
382
|
|
378
383
|
<div class="method-source-code" id="unparse-source">
|
379
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker/type/type_unparser.rb, line
|
380
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">unparse</span>()
|
381
|
-
<span class="ruby-constant">TypeUnparser</span>.<span class="ruby-identifier">unparse</span>(<span class="ruby-keyword">self</span>)
|
384
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/type/type_unparser.rb, line 180</span>
|
385
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">unparse</span>(<span class="ruby-identifier">opts</span>={})
|
386
|
+
<span class="ruby-constant">TypeUnparser</span>.<span class="ruby-identifier">unparse</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">opts</span>)
|
382
387
|
<span class="ruby-keyword">end</span></pre>
|
383
388
|
</div><!-- unparse-source -->
|
384
389
|
|
@@ -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
|
|
@@ -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
|
|
@@ -222,25 +226,29 @@ in a user-friendly way.</p>
|
|
222
226
|
|
223
227
|
<div class="method-heading">
|
224
228
|
<span class="method-name">unparse</span><span
|
225
|
-
class="method-args">(t)</span>
|
229
|
+
class="method-args">(t, opts={})</span>
|
226
230
|
<span class="method-click-advice">click to toggle source</span>
|
227
231
|
</div>
|
228
232
|
|
229
233
|
|
230
234
|
<div class="method-description">
|
231
235
|
|
232
|
-
<p>This method
|
233
|
-
|
234
|
-
|
236
|
+
<p>This method unparses the <a href="../RubyBreaker.html">RubyBreaker</a> type
|
237
|
+
according to the specified options.</p>
|
238
|
+
<dl class="rdoc-list note-list"><dt>t
|
239
|
+
<dd>
|
240
|
+
<p><a href="../RubyBreaker.html">RubyBreaker</a> type</p>
|
241
|
+
</dd><dt>opts
|
242
|
+
<dd></dd></dl>
|
235
243
|
|
236
244
|
|
237
245
|
|
238
246
|
<div class="method-source-code" id="unparse-source">
|
239
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker/type/type_unparser.rb, line
|
240
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">unparse</span>(<span class="ruby-identifier">t</span>)
|
247
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/type/type_unparser.rb, line 168</span>
|
248
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">unparse</span>(<span class="ruby-identifier">t</span>, <span class="ruby-identifier">opts</span>={})
|
241
249
|
<span class="ruby-identifier">str</span> = <span class="ruby-string">""</span>
|
242
250
|
<span class="ruby-identifier">pp</span> = <span class="ruby-constant">PrettyPrint</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">str</span>)
|
243
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">unparse_pp</span>(<span class="ruby-identifier">pp</span
|
251
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">unparse_pp</span>(<span class="ruby-identifier">pp</span>, <span class="ruby-identifier">t</span>, <span class="ruby-identifier">opts</span>)
|
244
252
|
<span class="ruby-identifier">pp</span>.<span class="ruby-identifier">flush</span>
|
245
253
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">str</span>.<span class="ruby-identifier">strip</span>()
|
246
254
|
<span class="ruby-keyword">end</span></pre>
|
@@ -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
|
|
@@ -136,6 +136,8 @@
|
|
136
136
|
|
137
137
|
<li><a href="../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
138
138
|
|
139
|
+
<li><a href="../RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
140
|
+
|
139
141
|
<li><a href="../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
140
142
|
|
141
143
|
<li><a href="../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
@@ -174,6 +176,8 @@
|
|
174
176
|
|
175
177
|
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
176
178
|
|
179
|
+
<li><a href="../Object.html">Object</a>
|
180
|
+
|
177
181
|
</ul>
|
178
182
|
</nav>
|
179
183
|
|
@@ -58,6 +58,7 @@
|
|
58
58
|
<li>lib/rubybreaker/runtime/type_placeholder.rb
|
59
59
|
<li>lib/rubybreaker/runtime/type_system.rb
|
60
60
|
<li>lib/rubybreaker/runtime/typesig_parser.rb
|
61
|
+
<li>lib/rubybreaker/runtime/typesig_unparser.rb
|
61
62
|
<li>lib/rubybreaker/runtime/util.rb
|
62
63
|
<li>lib/rubybreaker/runtime.rb
|
63
64
|
<li>lib/rubybreaker/test/testcase.rb
|
@@ -172,6 +173,8 @@
|
|
172
173
|
|
173
174
|
<li><a href="./RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
174
175
|
|
176
|
+
<li><a href="./RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
177
|
+
|
175
178
|
<li><a href="./RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
176
179
|
|
177
180
|
<li><a href="./RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
@@ -210,6 +213,8 @@
|
|
210
213
|
|
211
214
|
<li><a href="./RubyBreaker/Util.html">RubyBreaker::Util</a>
|
212
215
|
|
216
|
+
<li><a href="./Object.html">Object</a>
|
217
|
+
|
213
218
|
</ul>
|
214
219
|
</nav>
|
215
220
|
|
@@ -260,11 +265,6 @@ monitoring tool that documents type information automatically.</p>
|
|
260
265
|
<dd class="description"><p>This constant contains the copyright information.</p>
|
261
266
|
|
262
267
|
|
263
|
-
<dt id="DOCUMENTED">DOCUMENTED
|
264
|
-
|
265
|
-
<dd class="description"><p>This array lists monitored modules/classes that are outputed.</p>
|
266
|
-
|
267
|
-
|
268
268
|
<dt id="EXTENSION">EXTENSION
|
269
269
|
|
270
270
|
<dd class="description"><p>Extension used by <a href="RubyBreaker.html">RubyBreaker</a> for
|
@@ -386,7 +386,7 @@ redirects to the monitor setup code.</p>
|
|
386
386
|
|
387
387
|
|
388
388
|
<div class="method-source-code" id="monitor-source">
|
389
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker.rb, line
|
389
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker.rb, line 161</span>
|
390
390
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">monitor</span>()
|
391
391
|
<span class="ruby-constant">Main</span>.<span class="ruby-identifier">setup</span>()
|
392
392
|
<span class="ruby-keyword">end</span></pre>
|
data/webpage/rdoc/created.rid
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
Tue, 22 May 2012 19:52:58 -0500
|
2
2
|
lib/rubybreaker/debug/context.rb Sun, 06 May 2012 15:29:43 -0500
|
3
|
-
lib/rubybreaker/debug/debug.rb
|
3
|
+
lib/rubybreaker/debug/debug.rb Tue, 22 May 2012 19:51:08 -0500
|
4
4
|
lib/rubybreaker/debug/error.rb Sat, 19 May 2012 11:13:13 -0500
|
5
5
|
lib/rubybreaker/debug.rb Sat, 19 May 2012 11:25:04 -0500
|
6
6
|
lib/rubybreaker/rubylib.rb Sun, 06 May 2012 14:39:35 -0500
|
@@ -12,16 +12,18 @@ lib/rubybreaker/runtime/pluggable.rb Tue, 15 May 2012 19:42:18 -0500
|
|
12
12
|
lib/rubybreaker/runtime/type_placeholder.rb Tue, 15 May 2012 19:44:02 -0500
|
13
13
|
lib/rubybreaker/runtime/type_system.rb Sat, 19 May 2012 11:45:52 -0500
|
14
14
|
lib/rubybreaker/runtime/typesig_parser.rb Tue, 15 May 2012 21:00:26 -0500
|
15
|
+
lib/rubybreaker/runtime/typesig_unparser.rb Tue, 22 May 2012 17:28:36 -0500
|
15
16
|
lib/rubybreaker/runtime/util.rb Mon, 14 May 2012 22:42:02 -0500
|
16
|
-
lib/rubybreaker/runtime.rb
|
17
|
-
lib/rubybreaker/test/
|
18
|
-
lib/rubybreaker/test.rb Sun,
|
17
|
+
lib/rubybreaker/runtime.rb Mon, 21 May 2012 21:43:01 -0500
|
18
|
+
lib/rubybreaker/test/rspec.rb Sun, 20 May 2012 21:39:09 -0500
|
19
|
+
lib/rubybreaker/test/testcase.rb Sun, 20 May 2012 21:08:49 -0500
|
20
|
+
lib/rubybreaker/test.rb Sun, 20 May 2012 21:10:31 -0500
|
19
21
|
lib/rubybreaker/type/type.rb Sat, 19 May 2012 11:13:36 -0500
|
20
22
|
lib/rubybreaker/type/type_comparer.rb Wed, 16 May 2012 23:20:10 -0500
|
21
|
-
lib/rubybreaker/type/type_unparser.rb
|
23
|
+
lib/rubybreaker/type/type_unparser.rb Tue, 22 May 2012 18:41:24 -0500
|
22
24
|
lib/rubybreaker/type.rb Thu, 10 May 2012 19:24:47 -0500
|
23
25
|
lib/rubybreaker/typing/rubytype.rb Sun, 06 May 2012 15:30:57 -0500
|
24
26
|
lib/rubybreaker/typing/subtyping.rb Wed, 16 May 2012 23:20:53 -0500
|
25
27
|
lib/rubybreaker/typing.rb Sun, 06 May 2012 14:40:10 -0500
|
26
28
|
lib/rubybreaker/util.rb Sat, 19 May 2012 11:14:28 -0500
|
27
|
-
lib/rubybreaker.rb
|
29
|
+
lib/rubybreaker.rb Tue, 22 May 2012 18:49:28 -0500
|
data/webpage/rdoc/index.html
CHANGED
@@ -106,6 +106,8 @@
|
|
106
106
|
|
107
107
|
<li><a href="./RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
|
108
108
|
|
109
|
+
<li><a href="./RubyBreaker/Runtime/TypesigUnparser.html">RubyBreaker::Runtime::TypesigUnparser</a>
|
110
|
+
|
109
111
|
<li><a href="./RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
|
110
112
|
|
111
113
|
<li><a href="./RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
|
@@ -144,6 +146,8 @@
|
|
144
146
|
|
145
147
|
<li><a href="./RubyBreaker/Util.html">RubyBreaker::Util</a>
|
146
148
|
|
149
|
+
<li><a href="./Object.html">Object</a>
|
150
|
+
|
147
151
|
</ul>
|
148
152
|
</nav>
|
149
153
|
|