mack-facets 0.7.1 → 0.7.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. metadata +2 -47
  2. data/doc/classes/Array.html +0 -408
  3. data/doc/classes/Class.html +0 -233
  4. data/doc/classes/Hash.html +0 -233
  5. data/doc/classes/Kernel.html +0 -212
  6. data/doc/classes/Mack/Facets/DateTime.html +0 -168
  7. data/doc/classes/Mack/Facets.html +0 -111
  8. data/doc/classes/Mack/Utils/BlankSlate.html +0 -113
  9. data/doc/classes/Mack/Utils/Inflector.html +0 -382
  10. data/doc/classes/Mack/Utils/RegistryList.html +0 -469
  11. data/doc/classes/Mack/Utils/RegistryMap.html +0 -479
  12. data/doc/classes/Math.html +0 -188
  13. data/doc/classes/Module.html +0 -203
  14. data/doc/classes/NilClass.html +0 -148
  15. data/doc/classes/Object.html +0 -558
  16. data/doc/classes/String.html +0 -464
  17. data/doc/classes/Symbol.html +0 -148
  18. data/doc/classes/Time.html +0 -204
  19. data/doc/created.rid +0 -1
  20. data/doc/files/README.html +0 -112
  21. data/doc/files/lib/mack-facets/english_extensions/inflect_rb.html +0 -101
  22. data/doc/files/lib/mack-facets/english_extensions/numerals_rb.html +0 -101
  23. data/doc/files/lib/mack-facets/extensions/array_rb.html +0 -101
  24. data/doc/files/lib/mack-facets/extensions/class_rb.html +0 -101
  25. data/doc/files/lib/mack-facets/extensions/date_time_rb.html +0 -129
  26. data/doc/files/lib/mack-facets/extensions/hash_rb.html +0 -108
  27. data/doc/files/lib/mack-facets/extensions/kernel_rb.html +0 -109
  28. data/doc/files/lib/mack-facets/extensions/math_rb.html +0 -101
  29. data/doc/files/lib/mack-facets/extensions/module_rb.html +0 -101
  30. data/doc/files/lib/mack-facets/extensions/nil_class_rb.html +0 -101
  31. data/doc/files/lib/mack-facets/extensions/object_rb.html +0 -101
  32. data/doc/files/lib/mack-facets/extensions/string_rb.html +0 -101
  33. data/doc/files/lib/mack-facets/extensions/symbol_rb.html +0 -101
  34. data/doc/files/lib/mack-facets/extensions/time_rb.html +0 -108
  35. data/doc/files/lib/mack-facets/utils/blank_slate_rb.html +0 -101
  36. data/doc/files/lib/mack-facets/utils/inflections_rb.html +0 -101
  37. data/doc/files/lib/mack-facets/utils/inflector_rb.html +0 -108
  38. data/doc/files/lib/mack-facets/utils/options_merger_rb.html +0 -101
  39. data/doc/files/lib/mack-facets/utils/registry_list_rb.html +0 -108
  40. data/doc/files/lib/mack-facets/utils/registry_map_rb.html +0 -108
  41. data/doc/files/lib/mack-facets_rb.html +0 -124
  42. data/doc/fr_class_index.html +0 -43
  43. data/doc/fr_file_index.html +0 -48
  44. data/doc/fr_method_index.html +0 -104
  45. data/doc/index.html +0 -24
  46. data/doc/rdoc-style.css +0 -208
@@ -1,203 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Module</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Module</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/mack-facets/extensions/module_rb.html">
59
- lib/mack-facets/extensions/module.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- <a href="Object.html">
69
- Object
70
- </a>
71
- </td>
72
- </tr>
73
- </table>
74
- </div>
75
- <!-- banner header -->
76
-
77
- <div id="bodyContent">
78
-
79
-
80
-
81
- <div id="contextContent">
82
-
83
-
84
-
85
- </div>
86
-
87
- <div id="method-list">
88
- <h3 class="section-bar">Methods</h3>
89
-
90
- <div class="name-list">
91
- <a href="#M000012">convert_security_of_methods</a>&nbsp;&nbsp;
92
- <a href="#M000013">include_safely_into</a>&nbsp;&nbsp;
93
- </div>
94
- </div>
95
-
96
- </div>
97
-
98
-
99
- <!-- if includes -->
100
-
101
- <div id="section">
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
- <!-- if method_list -->
111
- <div id="methods">
112
- <h3 class="section-bar">Public Instance methods</h3>
113
-
114
- <div id="method-M000012" class="method-detail">
115
- <a name="M000012"></a>
116
-
117
- <div class="method-heading">
118
- <a href="#M000012" class="method-signature">
119
- <span class="method-name">convert_security_of_methods</span><span class="method-args">(old_level = :public, new_level = :protected)</span>
120
- </a>
121
- </div>
122
-
123
- <div class="method-description">
124
- <p>
125
- Bulk converts the security level of methods in this <a
126
- href="Module.html">Module</a> from one level to another.
127
- </p>
128
- <p><a class="source-toggle" href="#"
129
- onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
130
- <div class="method-source-code" id="M000012-source">
131
- <pre>
132
- <span class="ruby-comment cmt"># File lib/mack-facets/extensions/module.rb, line 4</span>
133
- 4: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_security_of_methods</span>(<span class="ruby-identifier">old_level</span> = <span class="ruby-identifier">:public</span>, <span class="ruby-identifier">new_level</span> = <span class="ruby-identifier">:protected</span>)
134
- 5: <span class="ruby-identifier">eval</span>(<span class="ruby-node">&quot;#{old_level}_instance_methods&quot;</span>).<span class="ruby-identifier">each</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">meth</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">new_level</span>, <span class="ruby-identifier">meth</span>) }
135
- 6: <span class="ruby-keyword kw">self</span>
136
- 7: <span class="ruby-keyword kw">end</span>
137
- </pre>
138
- </div>
139
- </div>
140
- </div>
141
-
142
- <div id="method-M000013" class="method-detail">
143
- <a name="M000013"></a>
144
-
145
- <div class="method-heading">
146
- <a href="#M000013" class="method-signature">
147
- <span class="method-name">include_safely_into</span><span class="method-args">(*args)</span>
148
- </a>
149
- </div>
150
-
151
- <div class="method-description">
152
- <p>
153
- Includes this module into a <a href="Class.html">Class</a>, and changes all
154
- public methods to protected.
155
- </p>
156
- <p>
157
- Examples:
158
- </p>
159
- <pre>
160
- module MyCoolUtils
161
- def some_meth
162
- &quot;hi&quot;
163
- end
164
- self.include_safely_into(FooController)
165
- end
166
- </pre>
167
- <p>
168
- or:
169
- </p>
170
- <pre>
171
- MyCoolUtils.include_safely_into(FooController, SomeOtherClass)
172
- </pre>
173
- <p><a class="source-toggle" href="#"
174
- onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
175
- <div class="method-source-code" id="M000013-source">
176
- <pre>
177
- <span class="ruby-comment cmt"># File lib/mack-facets/extensions/module.rb, line 20</span>
178
- 20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include_safely_into</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
179
- 21: [<span class="ruby-identifier">args</span>].<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
180
- 22: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Symbol</span>)
181
- 23: <span class="ruby-identifier">a</span> = <span class="ruby-identifier">a</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">constantize</span>
182
- 24: <span class="ruby-keyword kw">end</span>
183
- 25: <span class="ruby-identifier">a</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">:include</span>, <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">convert_security_of_methods</span>)
184
- 26: <span class="ruby-keyword kw">end</span>
185
- 27: <span class="ruby-keyword kw">end</span>
186
- </pre>
187
- </div>
188
- </div>
189
- </div>
190
-
191
-
192
- </div>
193
-
194
-
195
- </div>
196
-
197
-
198
- <div id="validator-badges">
199
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
200
- </div>
201
-
202
- </body>
203
- </html>
@@ -1,148 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: NilClass</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">NilClass</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/mack-facets/extensions/nil_class_rb.html">
59
- lib/mack-facets/extensions/nil_class.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- <a href="Object.html">
69
- Object
70
- </a>
71
- </td>
72
- </tr>
73
- </table>
74
- </div>
75
- <!-- banner header -->
76
-
77
- <div id="bodyContent">
78
-
79
-
80
-
81
- <div id="contextContent">
82
-
83
-
84
-
85
- </div>
86
-
87
- <div id="method-list">
88
- <h3 class="section-bar">Methods</h3>
89
-
90
- <div class="name-list">
91
- <a href="#M000033">to_param</a>&nbsp;&nbsp;
92
- </div>
93
- </div>
94
-
95
- </div>
96
-
97
-
98
- <!-- if includes -->
99
-
100
- <div id="section">
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
- <!-- if method_list -->
110
- <div id="methods">
111
- <h3 class="section-bar">Public Instance methods</h3>
112
-
113
- <div id="method-M000033" class="method-detail">
114
- <a name="M000033"></a>
115
-
116
- <div class="method-heading">
117
- <a href="#M000033" class="method-signature">
118
- <span class="method-name">to_param</span><span class="method-args">()</span>
119
- </a>
120
- </div>
121
-
122
- <div class="method-description">
123
- <p><a class="source-toggle" href="#"
124
- onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
125
- <div class="method-source-code" id="M000033-source">
126
- <pre>
127
- <span class="ruby-comment cmt"># File lib/mack-facets/extensions/nil_class.rb, line 3</span>
128
- 3: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_param</span>
129
- 4: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NoMethodError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:to_param</span>)
130
- 5: <span class="ruby-keyword kw">end</span>
131
- </pre>
132
- </div>
133
- </div>
134
- </div>
135
-
136
-
137
- </div>
138
-
139
-
140
- </div>
141
-
142
-
143
- <div id="validator-badges">
144
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
145
- </div>
146
-
147
- </body>
148
- </html>