rubybreaker 0.0.1 → 0.0.2

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.
Files changed (122) hide show
  1. data/NEWS +48 -0
  2. data/README.md +56 -20
  3. data/Rakefile +9 -34
  4. data/TODO +10 -10
  5. data/VERSION +1 -0
  6. data/bin/gen_stub_rubylib +35 -36
  7. data/bin/rubybreaker +1 -4
  8. data/lib/rubybreaker/debug.rb +8 -4
  9. data/lib/rubybreaker/rubylib/core.rb +738 -571
  10. data/lib/rubybreaker/runtime/inspector.rb +16 -7
  11. data/lib/rubybreaker/runtime/monitor.rb +14 -18
  12. data/lib/rubybreaker/runtime/object_wrapper.rb +9 -3
  13. data/lib/rubybreaker/runtime/overrides.rb +51 -8
  14. data/lib/rubybreaker/runtime/pluggable.rb +1 -3
  15. data/lib/rubybreaker/runtime/type_placeholder.rb +2 -6
  16. data/lib/rubybreaker/runtime/type_system.rb +53 -17
  17. data/lib/rubybreaker/runtime/typesig_parser.rb +1 -0
  18. data/lib/rubybreaker/runtime/util.rb +18 -0
  19. data/lib/rubybreaker/runtime.rb +42 -15
  20. data/lib/rubybreaker/type/type_comparer.rb +10 -10
  21. data/lib/rubybreaker/type/type_grammar.treetop +30 -21
  22. data/lib/rubybreaker/type/type_unparser.rb +2 -2
  23. data/lib/rubybreaker/typing/subtyping.rb +21 -21
  24. data/lib/rubybreaker/util.rb +11 -1
  25. data/lib/rubybreaker.rb +75 -54
  26. data/test/integrated/tc_class_methods.rb +35 -0
  27. data/test/integrated/tc_inherit_broken.rb +29 -0
  28. data/test/integrated/tc_method_missing.rb +1 -1
  29. data/test/runtime/tc_obj_wrapper.rb +104 -4
  30. data/test/ts_integrated.rb +2 -0
  31. data/test/type/tc_comparer.rb +96 -96
  32. data/test/type/tc_parser.rb +18 -0
  33. data/test/type/tc_unparser.rb +16 -0
  34. data/test/typing/tc_typing.rb +20 -20
  35. data/webpage/footer.html +1 -1
  36. data/webpage/header.html +7 -7
  37. data/webpage/index.html +65 -28
  38. data/webpage/rdoc/RubyBreaker/Breakable.html +280 -0
  39. data/webpage/rdoc/RubyBreaker/Broken/BrokenEigen.html +304 -0
  40. data/webpage/rdoc/RubyBreaker/Broken.html +308 -0
  41. data/webpage/rdoc/RubyBreaker/Context.html +421 -0
  42. data/webpage/rdoc/RubyBreaker/Debug.html +411 -0
  43. data/webpage/rdoc/RubyBreaker/Errors/InternalError.html +263 -0
  44. data/webpage/rdoc/RubyBreaker/Errors/InvalidSubtypeCheck.html +263 -0
  45. data/webpage/rdoc/RubyBreaker/Errors/InvalidTypeConstruction.html +214 -0
  46. data/webpage/rdoc/RubyBreaker/Errors/SubtypeFailure.html +212 -0
  47. data/webpage/rdoc/RubyBreaker/Errors/TypeError.html +212 -0
  48. data/webpage/rdoc/RubyBreaker/Errors/UserError.html +264 -0
  49. data/webpage/rdoc/RubyBreaker/Errors.html +209 -0
  50. data/webpage/rdoc/RubyBreaker/Kernel.html +259 -0
  51. data/webpage/rdoc/RubyBreaker/Main.html +560 -0
  52. data/webpage/rdoc/RubyBreaker/ObjectPosition.html +334 -0
  53. data/webpage/rdoc/RubyBreaker/Position.html +463 -0
  54. data/webpage/rdoc/RubyBreaker/RubyTypeUtils.html +308 -0
  55. data/webpage/rdoc/RubyBreaker/Runtime/Inspector.html +380 -0
  56. data/webpage/rdoc/RubyBreaker/Runtime/MethodInfo.html +324 -0
  57. data/webpage/rdoc/RubyBreaker/Runtime/Monitor.html +354 -0
  58. data/webpage/rdoc/RubyBreaker/Runtime/MonitorInstaller.html +379 -0
  59. data/webpage/rdoc/RubyBreaker/Runtime/MonitorSwitch.html +382 -0
  60. data/webpage/rdoc/RubyBreaker/Runtime/MonitorUtils.html +400 -0
  61. data/webpage/rdoc/RubyBreaker/Runtime/ObjectWrapper.html +411 -0
  62. data/webpage/rdoc/RubyBreaker/Runtime/Pluggable.html +305 -0
  63. data/webpage/rdoc/RubyBreaker/Runtime/TypePlaceholder.html +280 -0
  64. data/webpage/rdoc/RubyBreaker/Runtime/TypeSigParser.html +283 -0
  65. data/webpage/rdoc/RubyBreaker/Runtime/TypeSystem.html +630 -0
  66. data/webpage/rdoc/RubyBreaker/Runtime.html +255 -0
  67. data/webpage/rdoc/RubyBreaker/TestCase.html +332 -0
  68. data/webpage/rdoc/RubyBreaker/TypeComparer.html +304 -0
  69. data/webpage/rdoc/RubyBreaker/TypeDefs/AnyType.html +260 -0
  70. data/webpage/rdoc/RubyBreaker/TypeDefs/BlockType.html +310 -0
  71. data/webpage/rdoc/RubyBreaker/TypeDefs/DuckType.html +320 -0
  72. data/webpage/rdoc/RubyBreaker/TypeDefs/FusionType.html +323 -0
  73. data/webpage/rdoc/RubyBreaker/TypeDefs/MethodListType.html +281 -0
  74. data/webpage/rdoc/RubyBreaker/TypeDefs/MethodType.html +282 -0
  75. data/webpage/rdoc/RubyBreaker/TypeDefs/NilType.html +260 -0
  76. data/webpage/rdoc/RubyBreaker/TypeDefs/NominalType.html +282 -0
  77. data/webpage/rdoc/RubyBreaker/TypeDefs/OptionalType.html +281 -0
  78. data/webpage/rdoc/RubyBreaker/TypeDefs/OrType.html +281 -0
  79. data/webpage/rdoc/RubyBreaker/TypeDefs/SelfType.html +329 -0
  80. data/webpage/rdoc/RubyBreaker/TypeDefs/Type.html +409 -0
  81. data/webpage/rdoc/RubyBreaker/TypeDefs/VarLengthType.html +282 -0
  82. data/webpage/rdoc/RubyBreaker/TypeDefs.html +212 -0
  83. data/webpage/rdoc/RubyBreaker/TypeUnparser.html +273 -0
  84. data/webpage/rdoc/RubyBreaker/Typing.html +305 -0
  85. data/webpage/rdoc/RubyBreaker/Utilities.html +294 -0
  86. data/webpage/rdoc/RubyBreaker.html +337 -0
  87. data/webpage/rdoc/created.rid +26 -0
  88. data/webpage/rdoc/images/add.png +0 -0
  89. data/webpage/rdoc/images/brick.png +0 -0
  90. data/webpage/rdoc/images/brick_link.png +0 -0
  91. data/webpage/rdoc/images/bug.png +0 -0
  92. data/webpage/rdoc/images/bullet_black.png +0 -0
  93. data/webpage/rdoc/images/bullet_toggle_minus.png +0 -0
  94. data/webpage/rdoc/images/bullet_toggle_plus.png +0 -0
  95. data/webpage/rdoc/images/date.png +0 -0
  96. data/webpage/rdoc/images/delete.png +0 -0
  97. data/webpage/rdoc/images/find.png +0 -0
  98. data/webpage/rdoc/images/loadingAnimation.gif +0 -0
  99. data/webpage/rdoc/images/macFFBgHack.png +0 -0
  100. data/webpage/rdoc/images/package.png +0 -0
  101. data/webpage/rdoc/images/page_green.png +0 -0
  102. data/webpage/rdoc/images/page_white_text.png +0 -0
  103. data/webpage/rdoc/images/page_white_width.png +0 -0
  104. data/webpage/rdoc/images/plugin.png +0 -0
  105. data/webpage/rdoc/images/ruby.png +0 -0
  106. data/webpage/rdoc/images/tag_blue.png +0 -0
  107. data/webpage/rdoc/images/tag_green.png +0 -0
  108. data/webpage/rdoc/images/transparent.png +0 -0
  109. data/webpage/rdoc/images/wrench.png +0 -0
  110. data/webpage/rdoc/images/wrench_orange.png +0 -0
  111. data/webpage/rdoc/images/zoom.png +0 -0
  112. data/webpage/rdoc/index.html +165 -0
  113. data/webpage/rdoc/js/darkfish.js +153 -0
  114. data/webpage/rdoc/js/jquery.js +18 -0
  115. data/webpage/rdoc/js/navigation.js +142 -0
  116. data/webpage/rdoc/js/search.js +94 -0
  117. data/webpage/rdoc/js/search_index.js +1 -0
  118. data/webpage/rdoc/js/searcher.js +228 -0
  119. data/webpage/rdoc/rdoc.css +543 -0
  120. data/webpage/rdoc/table_of_contents.html +376 -0
  121. data/webpage/rubybreaker.css +31 -31
  122. metadata +93 -6
@@ -0,0 +1,294 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module RubyBreaker::Utilities - 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="module">
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/util.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-c-camelize">::camelize</a>
68
+
69
+ <li><a href="#method-c-underscore">::underscore</a>
70
+
71
+ </ul>
72
+ </nav>
73
+
74
+ </div>
75
+
76
+ <div id="project-metadata">
77
+
78
+ <nav id="classindex-section" class="section project-section">
79
+ <h3 class="section-header">Class and Module Index</h3>
80
+
81
+ <ul class="link-list">
82
+
83
+ <li><a href="../RubyBreaker.html">RubyBreaker</a>
84
+
85
+ <li><a href="../RubyBreaker/Breakable.html">RubyBreaker::Breakable</a>
86
+
87
+ <li><a href="../RubyBreaker/Broken.html">RubyBreaker::Broken</a>
88
+
89
+ <li><a href="../RubyBreaker/Broken/BrokenEigen.html">RubyBreaker::Broken::BrokenEigen</a>
90
+
91
+ <li><a href="../RubyBreaker/Context.html">RubyBreaker::Context</a>
92
+
93
+ <li><a href="../RubyBreaker/Debug.html">RubyBreaker::Debug</a>
94
+
95
+ <li><a href="../RubyBreaker/Errors.html">RubyBreaker::Errors</a>
96
+
97
+ <li><a href="../RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
98
+
99
+ <li><a href="../RubyBreaker/Errors/InvalidSubtypeCheck.html">RubyBreaker::Errors::InvalidSubtypeCheck</a>
100
+
101
+ <li><a href="../RubyBreaker/Errors/InvalidTypeConstruction.html">RubyBreaker::Errors::InvalidTypeConstruction</a>
102
+
103
+ <li><a href="../RubyBreaker/Errors/SubtypeFailure.html">RubyBreaker::Errors::SubtypeFailure</a>
104
+
105
+ <li><a href="../RubyBreaker/Errors/TypeError.html">RubyBreaker::Errors::TypeError</a>
106
+
107
+ <li><a href="../RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
108
+
109
+ <li><a href="../RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
110
+
111
+ <li><a href="../RubyBreaker/Main.html">RubyBreaker::Main</a>
112
+
113
+ <li><a href="../RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
114
+
115
+ <li><a href="../RubyBreaker/Position.html">RubyBreaker::Position</a>
116
+
117
+ <li><a href="../RubyBreaker/RubyTypeUtils.html">RubyBreaker::RubyTypeUtils</a>
118
+
119
+ <li><a href="../RubyBreaker/Runtime.html">RubyBreaker::Runtime</a>
120
+
121
+ <li><a href="../RubyBreaker/Runtime/Inspector.html">RubyBreaker::Runtime::Inspector</a>
122
+
123
+ <li><a href="../RubyBreaker/Runtime/MethodInfo.html">RubyBreaker::Runtime::MethodInfo</a>
124
+
125
+ <li><a href="../RubyBreaker/Runtime/Monitor.html">RubyBreaker::Runtime::Monitor</a>
126
+
127
+ <li><a href="../RubyBreaker/Runtime/MonitorInstaller.html">RubyBreaker::Runtime::MonitorInstaller</a>
128
+
129
+ <li><a href="../RubyBreaker/Runtime/MonitorSwitch.html">RubyBreaker::Runtime::MonitorSwitch</a>
130
+
131
+ <li><a href="../RubyBreaker/Runtime/MonitorUtils.html">RubyBreaker::Runtime::MonitorUtils</a>
132
+
133
+ <li><a href="../RubyBreaker/Runtime/ObjectWrapper.html">RubyBreaker::Runtime::ObjectWrapper</a>
134
+
135
+ <li><a href="../RubyBreaker/Runtime/Pluggable.html">RubyBreaker::Runtime::Pluggable</a>
136
+
137
+ <li><a href="../RubyBreaker/Runtime/TypePlaceholder.html">RubyBreaker::Runtime::TypePlaceholder</a>
138
+
139
+ <li><a href="../RubyBreaker/Runtime/TypeSigParser.html">RubyBreaker::Runtime::TypeSigParser</a>
140
+
141
+ <li><a href="../RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
142
+
143
+ <li><a href="../RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
144
+
145
+ <li><a href="../RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
146
+
147
+ <li><a href="../RubyBreaker/TypeDefs.html">RubyBreaker::TypeDefs</a>
148
+
149
+ <li><a href="../RubyBreaker/TypeDefs/AnyType.html">RubyBreaker::TypeDefs::AnyType</a>
150
+
151
+ <li><a href="../RubyBreaker/TypeDefs/BlockType.html">RubyBreaker::TypeDefs::BlockType</a>
152
+
153
+ <li><a href="../RubyBreaker/TypeDefs/DuckType.html">RubyBreaker::TypeDefs::DuckType</a>
154
+
155
+ <li><a href="../RubyBreaker/TypeDefs/FusionType.html">RubyBreaker::TypeDefs::FusionType</a>
156
+
157
+ <li><a href="../RubyBreaker/TypeDefs/MethodListType.html">RubyBreaker::TypeDefs::MethodListType</a>
158
+
159
+ <li><a href="../RubyBreaker/TypeDefs/MethodType.html">RubyBreaker::TypeDefs::MethodType</a>
160
+
161
+ <li><a href="../RubyBreaker/TypeDefs/NilType.html">RubyBreaker::TypeDefs::NilType</a>
162
+
163
+ <li><a href="../RubyBreaker/TypeDefs/NominalType.html">RubyBreaker::TypeDefs::NominalType</a>
164
+
165
+ <li><a href="../RubyBreaker/TypeDefs/OptionalType.html">RubyBreaker::TypeDefs::OptionalType</a>
166
+
167
+ <li><a href="../RubyBreaker/TypeDefs/OrType.html">RubyBreaker::TypeDefs::OrType</a>
168
+
169
+ <li><a href="../RubyBreaker/TypeDefs/SelfType.html">RubyBreaker::TypeDefs::SelfType</a>
170
+
171
+ <li><a href="../RubyBreaker/TypeDefs/Type.html">RubyBreaker::TypeDefs::Type</a>
172
+
173
+ <li><a href="../RubyBreaker/TypeDefs/VarLengthType.html">RubyBreaker::TypeDefs::VarLengthType</a>
174
+
175
+ <li><a href="../RubyBreaker/TypeUnparser.html">RubyBreaker::TypeUnparser</a>
176
+
177
+ <li><a href="../RubyBreaker/Typing.html">RubyBreaker::Typing</a>
178
+
179
+ <li><a href="../RubyBreaker/Utilities.html">RubyBreaker::Utilities</a>
180
+
181
+ </ul>
182
+ </nav>
183
+
184
+ </div>
185
+ </nav>
186
+
187
+ <div id="documentation">
188
+ <h1 class="module">module RubyBreaker::Utilities</h1>
189
+
190
+ <div id="description" class="description">
191
+
192
+ </div><!-- description -->
193
+
194
+
195
+
196
+
197
+ <section id="5Buntitled-5D" class="documentation-section">
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <!-- Methods -->
207
+
208
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
209
+ <h3 class="section-header">Public Class Methods</h3>
210
+
211
+
212
+ <div id="method-c-camelize" class="method-detail ">
213
+
214
+ <div class="method-heading">
215
+ <span class="method-name">camelize</span><span
216
+ class="method-args">(lower_case_and_underscored_word, first_letter_in_uppercase = true)</span>
217
+ <span class="method-click-advice">click to toggle source</span>
218
+ </div>
219
+
220
+
221
+ <div class="method-description">
222
+
223
+ <p>File activesupport/lib/active_support/inflector/methods.rb</p>
224
+
225
+
226
+
227
+ <div class="method-source-code" id="camelize-source">
228
+ <pre><span class="ruby-comment"># File lib/rubybreaker/util.rb, line 21</span>
229
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">camelize</span>(<span class="ruby-identifier">lower_case_and_underscored_word</span>, <span class="ruby-identifier">first_letter_in_uppercase</span> = <span class="ruby-keyword">true</span>)
230
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">first_letter_in_uppercase</span>
231
+ <span class="ruby-identifier">lower_case_and_underscored_word</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r\/(.?)/</span>) { <span class="ruby-node">&quot;::#{$1.upcase}&quot;</span> }.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r(?:^|_)(.)/</span>) { <span class="ruby-node">$1</span>.<span class="ruby-identifier">upcase</span> }
232
+ <span class="ruby-keyword">else</span>
233
+ <span class="ruby-identifier">lower_case_and_underscored_word</span>.<span class="ruby-identifier">to_s</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">chr</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">camelize</span>(<span class="ruby-identifier">lower_case_and_underscored_word</span>)[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
234
+ <span class="ruby-keyword">end</span>
235
+ <span class="ruby-keyword">end</span></pre>
236
+ </div><!-- camelize-source -->
237
+
238
+ </div>
239
+
240
+
241
+
242
+
243
+ </div><!-- camelize-method -->
244
+
245
+
246
+ <div id="method-c-underscore" class="method-detail ">
247
+
248
+ <div class="method-heading">
249
+ <span class="method-name">underscore</span><span
250
+ class="method-args">(camel_cased_word)</span>
251
+ <span class="method-click-advice">click to toggle source</span>
252
+ </div>
253
+
254
+
255
+ <div class="method-description">
256
+
257
+ <p>File activesupport/lib/active_support/inflector/methods.rb, line 48</p>
258
+
259
+
260
+
261
+ <div class="method-source-code" id="underscore-source">
262
+ <pre><span class="ruby-comment"># File lib/rubybreaker/util.rb, line 10</span>
263
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">underscore</span>(<span class="ruby-identifier">camel_cased_word</span>)
264
+ <span class="ruby-identifier">word</span> = <span class="ruby-identifier">camel_cased_word</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">dup</span>
265
+ <span class="ruby-identifier">word</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r::/</span>, <span class="ruby-string">'/'</span>)
266
+ <span class="ruby-identifier">word</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r([A-Z]+)([A-Z][a-z])/</span>,<span class="ruby-string">'\1_\2'</span>)
267
+ <span class="ruby-identifier">word</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r([a-z\d])([A-Z])/</span>,<span class="ruby-string">'\1_\2'</span>)
268
+ <span class="ruby-identifier">word</span>.<span class="ruby-identifier">tr!</span>(<span class="ruby-string">&quot;-&quot;</span>, <span class="ruby-string">&quot;_&quot;</span>)
269
+ <span class="ruby-identifier">word</span>.<span class="ruby-identifier">downcase!</span>
270
+ <span class="ruby-identifier">word</span>
271
+ <span class="ruby-keyword">end</span></pre>
272
+ </div><!-- underscore-source -->
273
+
274
+ </div>
275
+
276
+
277
+
278
+
279
+ </div><!-- underscore-method -->
280
+
281
+
282
+ </section><!-- public-class-method-details -->
283
+
284
+ </section><!-- 5Buntitled-5D -->
285
+
286
+ </div><!-- documentation -->
287
+
288
+
289
+ <footer id="validator-badges">
290
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
291
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
292
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
293
+ </footer>
294
+
@@ -0,0 +1,337 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module RubyBreaker - 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="module">
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/context.rb
51
+ <li>lib/rubybreaker/debug.rb
52
+ <li>lib/rubybreaker/error.rb
53
+ <li>lib/rubybreaker/runtime/inspector.rb
54
+ <li>lib/rubybreaker/runtime/monitor.rb
55
+ <li>lib/rubybreaker/runtime/object_wrapper.rb
56
+ <li>lib/rubybreaker/runtime/overrides.rb
57
+ <li>lib/rubybreaker/runtime/pluggable.rb
58
+ <li>lib/rubybreaker/runtime/type_placeholder.rb
59
+ <li>lib/rubybreaker/runtime/type_system.rb
60
+ <li>lib/rubybreaker/runtime/typesig_parser.rb
61
+ <li>lib/rubybreaker/runtime/util.rb
62
+ <li>lib/rubybreaker/runtime.rb
63
+ <li>lib/rubybreaker/test/testcase.rb
64
+ <li>lib/rubybreaker/type/type.rb
65
+ <li>lib/rubybreaker/type/type_comparer.rb
66
+ <li>lib/rubybreaker/type/type_unparser.rb
67
+ <li>lib/rubybreaker/typing/rubytype.rb
68
+ <li>lib/rubybreaker/typing/subtyping.rb
69
+ <li>lib/rubybreaker/util.rb
70
+ <li>lib/rubybreaker.rb
71
+ </ul>
72
+ </nav>
73
+
74
+
75
+ </div>
76
+
77
+ <div id="class-metadata">
78
+
79
+
80
+ <!-- Included Modules -->
81
+ <nav id="includes-section" class="section">
82
+ <h3 class="section-header">Included Modules</h3>
83
+
84
+ <ul class="link-list">
85
+
86
+
87
+ <li><a class="include" href="RubyBreaker/TypeDefs.html">RubyBreaker::TypeDefs</a>
88
+
89
+
90
+ </ul>
91
+ </nav>
92
+
93
+ <!-- Method Quickref -->
94
+ <nav id="method-list-section" class="section">
95
+ <h3 class="section-header">Methods</h3>
96
+
97
+ <ul class="link-list">
98
+
99
+ <li><a href="#method-c-monitor">::monitor</a>
100
+
101
+ </ul>
102
+ </nav>
103
+
104
+ </div>
105
+
106
+ <div id="project-metadata">
107
+
108
+ <nav id="classindex-section" class="section project-section">
109
+ <h3 class="section-header">Class and Module Index</h3>
110
+
111
+ <ul class="link-list">
112
+
113
+ <li><a href="./RubyBreaker.html">RubyBreaker</a>
114
+
115
+ <li><a href="./RubyBreaker/Breakable.html">RubyBreaker::Breakable</a>
116
+
117
+ <li><a href="./RubyBreaker/Broken.html">RubyBreaker::Broken</a>
118
+
119
+ <li><a href="./RubyBreaker/Broken/BrokenEigen.html">RubyBreaker::Broken::BrokenEigen</a>
120
+
121
+ <li><a href="./RubyBreaker/Context.html">RubyBreaker::Context</a>
122
+
123
+ <li><a href="./RubyBreaker/Debug.html">RubyBreaker::Debug</a>
124
+
125
+ <li><a href="./RubyBreaker/Errors.html">RubyBreaker::Errors</a>
126
+
127
+ <li><a href="./RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
128
+
129
+ <li><a href="./RubyBreaker/Errors/InvalidSubtypeCheck.html">RubyBreaker::Errors::InvalidSubtypeCheck</a>
130
+
131
+ <li><a href="./RubyBreaker/Errors/InvalidTypeConstruction.html">RubyBreaker::Errors::InvalidTypeConstruction</a>
132
+
133
+ <li><a href="./RubyBreaker/Errors/SubtypeFailure.html">RubyBreaker::Errors::SubtypeFailure</a>
134
+
135
+ <li><a href="./RubyBreaker/Errors/TypeError.html">RubyBreaker::Errors::TypeError</a>
136
+
137
+ <li><a href="./RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
138
+
139
+ <li><a href="./RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
140
+
141
+ <li><a href="./RubyBreaker/Main.html">RubyBreaker::Main</a>
142
+
143
+ <li><a href="./RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
144
+
145
+ <li><a href="./RubyBreaker/Position.html">RubyBreaker::Position</a>
146
+
147
+ <li><a href="./RubyBreaker/RubyTypeUtils.html">RubyBreaker::RubyTypeUtils</a>
148
+
149
+ <li><a href="./RubyBreaker/Runtime.html">RubyBreaker::Runtime</a>
150
+
151
+ <li><a href="./RubyBreaker/Runtime/Inspector.html">RubyBreaker::Runtime::Inspector</a>
152
+
153
+ <li><a href="./RubyBreaker/Runtime/MethodInfo.html">RubyBreaker::Runtime::MethodInfo</a>
154
+
155
+ <li><a href="./RubyBreaker/Runtime/Monitor.html">RubyBreaker::Runtime::Monitor</a>
156
+
157
+ <li><a href="./RubyBreaker/Runtime/MonitorInstaller.html">RubyBreaker::Runtime::MonitorInstaller</a>
158
+
159
+ <li><a href="./RubyBreaker/Runtime/MonitorSwitch.html">RubyBreaker::Runtime::MonitorSwitch</a>
160
+
161
+ <li><a href="./RubyBreaker/Runtime/MonitorUtils.html">RubyBreaker::Runtime::MonitorUtils</a>
162
+
163
+ <li><a href="./RubyBreaker/Runtime/ObjectWrapper.html">RubyBreaker::Runtime::ObjectWrapper</a>
164
+
165
+ <li><a href="./RubyBreaker/Runtime/Pluggable.html">RubyBreaker::Runtime::Pluggable</a>
166
+
167
+ <li><a href="./RubyBreaker/Runtime/TypePlaceholder.html">RubyBreaker::Runtime::TypePlaceholder</a>
168
+
169
+ <li><a href="./RubyBreaker/Runtime/TypeSigParser.html">RubyBreaker::Runtime::TypeSigParser</a>
170
+
171
+ <li><a href="./RubyBreaker/Runtime/TypeSystem.html">RubyBreaker::Runtime::TypeSystem</a>
172
+
173
+ <li><a href="./RubyBreaker/TestCase.html">RubyBreaker::TestCase</a>
174
+
175
+ <li><a href="./RubyBreaker/TypeComparer.html">RubyBreaker::TypeComparer</a>
176
+
177
+ <li><a href="./RubyBreaker/TypeDefs.html">RubyBreaker::TypeDefs</a>
178
+
179
+ <li><a href="./RubyBreaker/TypeDefs/AnyType.html">RubyBreaker::TypeDefs::AnyType</a>
180
+
181
+ <li><a href="./RubyBreaker/TypeDefs/BlockType.html">RubyBreaker::TypeDefs::BlockType</a>
182
+
183
+ <li><a href="./RubyBreaker/TypeDefs/DuckType.html">RubyBreaker::TypeDefs::DuckType</a>
184
+
185
+ <li><a href="./RubyBreaker/TypeDefs/FusionType.html">RubyBreaker::TypeDefs::FusionType</a>
186
+
187
+ <li><a href="./RubyBreaker/TypeDefs/MethodListType.html">RubyBreaker::TypeDefs::MethodListType</a>
188
+
189
+ <li><a href="./RubyBreaker/TypeDefs/MethodType.html">RubyBreaker::TypeDefs::MethodType</a>
190
+
191
+ <li><a href="./RubyBreaker/TypeDefs/NilType.html">RubyBreaker::TypeDefs::NilType</a>
192
+
193
+ <li><a href="./RubyBreaker/TypeDefs/NominalType.html">RubyBreaker::TypeDefs::NominalType</a>
194
+
195
+ <li><a href="./RubyBreaker/TypeDefs/OptionalType.html">RubyBreaker::TypeDefs::OptionalType</a>
196
+
197
+ <li><a href="./RubyBreaker/TypeDefs/OrType.html">RubyBreaker::TypeDefs::OrType</a>
198
+
199
+ <li><a href="./RubyBreaker/TypeDefs/SelfType.html">RubyBreaker::TypeDefs::SelfType</a>
200
+
201
+ <li><a href="./RubyBreaker/TypeDefs/Type.html">RubyBreaker::TypeDefs::Type</a>
202
+
203
+ <li><a href="./RubyBreaker/TypeDefs/VarLengthType.html">RubyBreaker::TypeDefs::VarLengthType</a>
204
+
205
+ <li><a href="./RubyBreaker/TypeUnparser.html">RubyBreaker::TypeUnparser</a>
206
+
207
+ <li><a href="./RubyBreaker/Typing.html">RubyBreaker::Typing</a>
208
+
209
+ <li><a href="./RubyBreaker/Utilities.html">RubyBreaker::Utilities</a>
210
+
211
+ </ul>
212
+ </nav>
213
+
214
+ </div>
215
+ </nav>
216
+
217
+ <div id="documentation">
218
+ <h1 class="module">module RubyBreaker</h1>
219
+
220
+ <div id="description" class="description">
221
+
222
+ <p>-</p>
223
+
224
+ <pre>This file contains utility functions that are useful for the Runtime
225
+ Library.</pre>
226
+
227
+ <p><a href="RubyBreaker.html">RubyBreaker</a> is a dynamic instrumentation and
228
+ monitoring tool that documents type information automatically.</p>
229
+
230
+ </div><!-- description -->
231
+
232
+
233
+
234
+
235
+ <section id="5Buntitled-5D" class="documentation-section">
236
+
237
+
238
+
239
+
240
+
241
+ <!-- Constants -->
242
+ <section id="constants-list" class="section">
243
+ <h3 class="section-header">Constants</h3>
244
+ <dl>
245
+
246
+ <dt id="BREAKABLE">BREAKABLE
247
+
248
+ <dd class="description"><p>This array lists modules/classes that will be monitored.</p>
249
+
250
+
251
+ <dt id="BROKEN">BROKEN
252
+
253
+ <dd class="description"><p>This array lists “broken” classes–i.e., with type signatures</p>
254
+
255
+
256
+ <dt id="COPYRIGHT">COPYRIGHT
257
+
258
+ <dd class="description"><p>This constant contains the copyright information.</p>
259
+
260
+
261
+ <dt id="DOCUMENTED">DOCUMENTED
262
+
263
+ <dd class="description"><p>This array lists monitored modules/classes that are outputed.</p>
264
+
265
+
266
+ <dt id="EXTENSION">EXTENSION
267
+
268
+ <dd class="description"><p>Extension used by <a href="RubyBreaker.html">RubyBreaker</a> for
269
+ output/input</p>
270
+
271
+
272
+ <dt id="INSTALLED">INSTALLED
273
+
274
+ <dd class="description"><p>This array lists modules/classes that are actually instrumented with a
275
+ monitor.</p>
276
+
277
+
278
+ <dt id="OPTIONS">OPTIONS
279
+
280
+ <dd class="description"><p>Options for <a href="RubyBreaker.html">RubyBreaker</a></p>
281
+
282
+
283
+ </dl>
284
+ </section>
285
+
286
+
287
+
288
+
289
+ <!-- Methods -->
290
+
291
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
292
+ <h3 class="section-header">Public Class Methods</h3>
293
+
294
+
295
+ <div id="method-c-monitor" class="method-detail ">
296
+
297
+ <div class="method-heading">
298
+ <span class="method-name">monitor</span><span
299
+ class="method-args">()</span>
300
+ <span class="method-click-advice">click to toggle source</span>
301
+ </div>
302
+
303
+
304
+ <div class="method-description">
305
+
306
+ <p>Just redirecting</p>
307
+
308
+
309
+
310
+ <div class="method-source-code" id="monitor-source">
311
+ <pre><span class="ruby-comment"># File lib/rubybreaker.rb, line 209</span>
312
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">monitor</span>()
313
+ <span class="ruby-constant">Main</span>.<span class="ruby-identifier">setup</span>()
314
+ <span class="ruby-keyword">end</span></pre>
315
+ </div><!-- monitor-source -->
316
+
317
+ </div>
318
+
319
+
320
+
321
+
322
+ </div><!-- monitor-method -->
323
+
324
+
325
+ </section><!-- public-class-method-details -->
326
+
327
+ </section><!-- 5Buntitled-5D -->
328
+
329
+ </div><!-- documentation -->
330
+
331
+
332
+ <footer id="validator-badges">
333
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
334
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
335
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
336
+ </footer>
337
+
@@ -0,0 +1,26 @@
1
+ Thu, 17 May 2012 22:51:01 -0500
2
+ lib/rubybreaker/context.rb Sun, 06 May 2012 15:29:43 -0500
3
+ lib/rubybreaker/debug.rb Sun, 13 May 2012 12:36:53 -0500
4
+ lib/rubybreaker/error.rb Mon, 07 May 2012 22:34:27 -0500
5
+ lib/rubybreaker/rubylib.rb Sun, 06 May 2012 14:39:35 -0500
6
+ lib/rubybreaker/runtime/inspector.rb Tue, 15 May 2012 20:10:46 -0500
7
+ lib/rubybreaker/runtime/monitor.rb Tue, 15 May 2012 20:11:01 -0500
8
+ lib/rubybreaker/runtime/object_wrapper.rb Wed, 16 May 2012 23:12:07 -0500
9
+ lib/rubybreaker/runtime/overrides.rb Thu, 17 May 2012 22:39:47 -0500
10
+ lib/rubybreaker/runtime/pluggable.rb Tue, 15 May 2012 19:42:18 -0500
11
+ lib/rubybreaker/runtime/type_placeholder.rb Tue, 15 May 2012 19:44:02 -0500
12
+ lib/rubybreaker/runtime/type_system.rb Thu, 17 May 2012 21:47:25 -0500
13
+ lib/rubybreaker/runtime/typesig_parser.rb Tue, 15 May 2012 21:00:26 -0500
14
+ lib/rubybreaker/runtime/util.rb Mon, 14 May 2012 22:42:02 -0500
15
+ lib/rubybreaker/runtime.rb Tue, 15 May 2012 21:02:46 -0500
16
+ lib/rubybreaker/test/testcase.rb Thu, 10 May 2012 20:19:14 -0500
17
+ lib/rubybreaker/test.rb Sun, 06 May 2012 14:39:47 -0500
18
+ lib/rubybreaker/type/type.rb Sun, 06 May 2012 21:29:22 -0500
19
+ lib/rubybreaker/type/type_comparer.rb Wed, 16 May 2012 23:20:10 -0500
20
+ lib/rubybreaker/type/type_unparser.rb Wed, 16 May 2012 23:20:23 -0500
21
+ lib/rubybreaker/type.rb Thu, 10 May 2012 19:24:47 -0500
22
+ lib/rubybreaker/typing/rubytype.rb Sun, 06 May 2012 15:30:57 -0500
23
+ lib/rubybreaker/typing/subtyping.rb Wed, 16 May 2012 23:20:53 -0500
24
+ lib/rubybreaker/typing.rb Sun, 06 May 2012 14:40:10 -0500
25
+ lib/rubybreaker/util.rb Wed, 16 May 2012 23:21:38 -0500
26
+ lib/rubybreaker.rb Thu, 17 May 2012 22:00:25 -0500
Binary file
Binary file
Binary file
Binary file