shenanigans 1.0.11 → 1.0.13
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.
- checksums.yaml +5 -5
- data/doc/Array.html +57 -56
- data/doc/Fixnum.html +47 -46
- data/doc/Hash.html +61 -59
- data/doc/Kernel.html +57 -59
- data/doc/Module.html +49 -48
- data/doc/Object.html +51 -49
- data/doc/String.html +51 -49
- data/doc/_index.html +28 -31
- data/doc/class_list.html +24 -27
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +251 -90
- data/doc/file.README.html +30 -32
- data/doc/file_list.html +26 -26
- data/doc/frames.html +7 -16
- data/doc/index.html +30 -32
- data/doc/js/app.js +106 -77
- data/doc/js/full_list.js +170 -132
- data/doc/method_list.html +108 -76
- data/doc/top-level-namespace.html +34 -36
- data/lib/shenanigans/kernel/fn.rb +1 -1
- data/lib/shenanigans/kernel/prompt.rb +1 -1
- data/lib/shenanigans/kernel/require_optional.rb +1 -1
- data/lib/shenanigans/kernel/with.rb +1 -1
- data/lib/shenanigans/module/private_accessor.rb +1 -1
- metadata +3 -4
data/doc/Kernel.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<!DOCTYPE html
|
|
2
|
-
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
4
3
|
<head>
|
|
5
|
-
<meta
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>
|
|
7
7
|
Module: Kernel
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.
|
|
9
|
+
— Documentation by YARD 0.9.12
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
|
-
|
|
18
|
+
pathId = "Kernel";
|
|
19
19
|
relpath = '';
|
|
20
|
-
framesUrl = "frames.html#!" + escape(window.location.href);
|
|
21
20
|
</script>
|
|
22
21
|
|
|
23
22
|
|
|
@@ -28,71 +27,70 @@
|
|
|
28
27
|
|
|
29
28
|
</head>
|
|
30
29
|
<body>
|
|
31
|
-
<div
|
|
32
|
-
<
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
33
38
|
|
|
34
39
|
<a href="_index.html">Index (K)</a> »
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
<span class="title">Kernel</span>
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
44
|
</div>
|
|
42
45
|
|
|
43
|
-
|
|
46
|
+
<div id="search">
|
|
44
47
|
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
|
46
49
|
href="class_list.html">
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</a>
|
|
54
|
-
|
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
|
56
|
-
href="file_list.html">
|
|
57
|
-
File List
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
58
56
|
</a>
|
|
59
57
|
|
|
60
58
|
</div>
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<div id="content"><h1>Module: Kernel
|
|
62
|
+
<div id="content"><h1>Module: Kernel
|
|
67
63
|
|
|
68
64
|
|
|
69
65
|
|
|
70
66
|
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
71
69
|
|
|
72
|
-
<dl class="box">
|
|
73
70
|
|
|
74
71
|
|
|
75
|
-
|
|
76
72
|
|
|
77
|
-
|
|
78
73
|
|
|
79
74
|
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
80
78
|
|
|
81
|
-
|
|
82
|
-
<
|
|
79
|
+
<dl>
|
|
80
|
+
<dt>Defined in:</dt>
|
|
81
|
+
<dd>lib/shenanigans/kernel/fn.rb<span class="defines">,<br />
|
|
83
82
|
lib/shenanigans/kernel/with.rb,<br /> lib/shenanigans/kernel/prompt.rb,<br /> lib/shenanigans/kernel/require_optional.rb</span>
|
|
84
83
|
</dd>
|
|
84
|
+
</dl>
|
|
85
85
|
|
|
86
|
-
</
|
|
87
|
-
<div class="clear"></div>
|
|
86
|
+
</div>
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
<h2>Constant Summary</h2>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<
|
|
95
|
-
<div class="docstring">
|
|
90
|
+
<dl class="constants">
|
|
91
|
+
|
|
92
|
+
<dt id="CONVERSIONS-constant" class="">CONVERSIONS =
|
|
93
|
+
<div class="docstring">
|
|
96
94
|
<div class="discussion">
|
|
97
95
|
|
|
98
96
|
<p>Currently only used by <code>prompt</code>: <code>:to_i</code>,
|
|
@@ -106,11 +104,10 @@
|
|
|
106
104
|
|
|
107
105
|
|
|
108
106
|
</div>
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
</dt>
|
|
108
|
+
<dd><pre class="code"><span class='lbracket'>[</span><span class='symbol'>:to_i</span><span class='comma'>,</span> <span class='symbol'>:to_f</span><span class='comma'>,</span> <span class='symbol'>:to_r</span><span class='comma'>,</span> <span class='symbol'>:to_sym</span><span class='comma'>,</span> <span class='symbol'>:to_c</span><span class='rbracket'>]</span></pre></dd>
|
|
109
|
+
|
|
110
|
+
</dl>
|
|
114
111
|
|
|
115
112
|
|
|
116
113
|
|
|
@@ -121,7 +118,7 @@
|
|
|
121
118
|
|
|
122
119
|
<h2>
|
|
123
120
|
Instance Method Summary
|
|
124
|
-
<small
|
|
121
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
125
122
|
</h2>
|
|
126
123
|
|
|
127
124
|
<ul class="summary">
|
|
@@ -129,7 +126,7 @@
|
|
|
129
126
|
<li class="private ">
|
|
130
127
|
<span class="summary_signature">
|
|
131
128
|
|
|
132
|
-
<a href="#fn-instance_method" title="#fn (instance method)"
|
|
129
|
+
<a href="#fn-instance_method" title="#fn (instance method)">#<strong>fn</strong>(*funs) ⇒ Object </a>
|
|
133
130
|
|
|
134
131
|
|
|
135
132
|
|
|
@@ -153,7 +150,7 @@
|
|
|
153
150
|
<li class="private ">
|
|
154
151
|
<span class="summary_signature">
|
|
155
152
|
|
|
156
|
-
<a href="#prompt-instance_method" title="#prompt (instance method)"
|
|
153
|
+
<a href="#prompt-instance_method" title="#prompt (instance method)">#<strong>prompt</strong>(text = '', conversion = nil) ⇒ Object </a>
|
|
157
154
|
|
|
158
155
|
|
|
159
156
|
|
|
@@ -177,7 +174,7 @@
|
|
|
177
174
|
<li class="private ">
|
|
178
175
|
<span class="summary_signature">
|
|
179
176
|
|
|
180
|
-
<a href="#require_optional-instance_method" title="#require_optional (instance method)"
|
|
177
|
+
<a href="#require_optional-instance_method" title="#require_optional (instance method)">#<strong>require_optional</strong>(gem, &block) ⇒ Object </a>
|
|
181
178
|
|
|
182
179
|
|
|
183
180
|
|
|
@@ -201,7 +198,7 @@
|
|
|
201
198
|
<li class="private ">
|
|
202
199
|
<span class="summary_signature">
|
|
203
200
|
|
|
204
|
-
<a href="#with-instance_method" title="#with (instance method)"
|
|
201
|
+
<a href="#with-instance_method" title="#with (instance method)">#<strong>with</strong>(o, &blk) ⇒ Object </a>
|
|
205
202
|
|
|
206
203
|
|
|
207
204
|
|
|
@@ -216,7 +213,7 @@
|
|
|
216
213
|
|
|
217
214
|
|
|
218
215
|
<span class="summary_desc"><div class='inline'>
|
|
219
|
-
<p>A Pascal/ActionScript like with method.</p>
|
|
216
|
+
<p>A Pascal/ActionScript like <code>with</code> method.</p>
|
|
220
217
|
</div></span>
|
|
221
218
|
|
|
222
219
|
</li>
|
|
@@ -234,7 +231,7 @@
|
|
|
234
231
|
<div class="method_details first">
|
|
235
232
|
<h3 class="signature first" id="fn-instance_method">
|
|
236
233
|
|
|
237
|
-
|
|
234
|
+
#<strong>fn</strong>(*funs) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(private)</span>
|
|
238
235
|
|
|
239
236
|
|
|
240
237
|
|
|
@@ -291,7 +288,7 @@ lambdas.</p>
|
|
|
291
288
|
<div class="method_details ">
|
|
292
289
|
<h3 class="signature " id="prompt-instance_method">
|
|
293
290
|
|
|
294
|
-
|
|
291
|
+
#<strong>prompt</strong>(text = '', conversion = nil) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(private)</span>
|
|
295
292
|
|
|
296
293
|
|
|
297
294
|
|
|
@@ -337,7 +334,7 @@ conversion method.</p>
|
|
|
337
334
|
<span class='kw'>def</span> <span class='id identifier rubyid_prompt'>prompt</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_conversion'>conversion</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
|
338
335
|
<span class='id identifier rubyid_print'>print</span> <span class='id identifier rubyid_text'>text</span> <span class='kw'>unless</span> <span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
|
339
336
|
<span class='id identifier rubyid_input'>input</span> <span class='op'>=</span> <span class='id identifier rubyid_gets'>gets</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span>
|
|
340
|
-
<span class='const'>CONVERSIONS</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_conversion'>conversion</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_input'>input</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_conversion'>conversion</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_input'>input</span>
|
|
337
|
+
<span class='const'><span class='object_link'><a href="#CONVERSIONS-constant" title="Kernel::CONVERSIONS (constant)">CONVERSIONS</a></span></span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_conversion'>conversion</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_input'>input</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_conversion'>conversion</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_input'>input</span>
|
|
341
338
|
<span class='kw'>end</span></pre>
|
|
342
339
|
</td>
|
|
343
340
|
</tr>
|
|
@@ -347,7 +344,7 @@ conversion method.</p>
|
|
|
347
344
|
<div class="method_details ">
|
|
348
345
|
<h3 class="signature " id="require_optional-instance_method">
|
|
349
346
|
|
|
350
|
-
|
|
347
|
+
#<strong>require_optional</strong>(gem, &block) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(private)</span>
|
|
351
348
|
|
|
352
349
|
|
|
353
350
|
|
|
@@ -402,7 +399,7 @@ returned. Alternatively, a block can be provided with code to run.</p>
|
|
|
402
399
|
<div class="method_details ">
|
|
403
400
|
<h3 class="signature " id="with-instance_method">
|
|
404
401
|
|
|
405
|
-
|
|
402
|
+
#<strong>with</strong>(o, &blk) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(private)</span>
|
|
406
403
|
|
|
407
404
|
|
|
408
405
|
|
|
@@ -452,11 +449,12 @@ the provided block and then returns it.</p>
|
|
|
452
449
|
|
|
453
450
|
</div>
|
|
454
451
|
|
|
455
|
-
|
|
456
|
-
Generated on
|
|
452
|
+
<div id="footer">
|
|
453
|
+
Generated on Thu Feb 1 16:36:54 2018 by
|
|
457
454
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
458
|
-
0.
|
|
455
|
+
0.9.12 (ruby-2.5.0).
|
|
459
456
|
</div>
|
|
460
457
|
|
|
458
|
+
</div>
|
|
461
459
|
</body>
|
|
462
460
|
</html>
|
data/doc/Module.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<!DOCTYPE html
|
|
2
|
-
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
4
3
|
<head>
|
|
5
|
-
<meta
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>
|
|
7
7
|
Class: Module
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.
|
|
9
|
+
— Documentation by YARD 0.9.12
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
|
-
|
|
18
|
+
pathId = "Module";
|
|
19
19
|
relpath = '';
|
|
20
|
-
framesUrl = "frames.html#!" + escape(window.location.href);
|
|
21
20
|
</script>
|
|
22
21
|
|
|
23
22
|
|
|
@@ -28,51 +27,48 @@
|
|
|
28
27
|
|
|
29
28
|
</head>
|
|
30
29
|
<body>
|
|
31
|
-
<div
|
|
32
|
-
<
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
33
38
|
|
|
34
39
|
<a href="_index.html">Index (M)</a> »
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
<span class="title">Module</span>
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
44
|
</div>
|
|
42
45
|
|
|
43
|
-
|
|
46
|
+
<div id="search">
|
|
44
47
|
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
|
46
49
|
href="class_list.html">
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</a>
|
|
54
|
-
|
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
|
56
|
-
href="file_list.html">
|
|
57
|
-
File List
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
58
56
|
</a>
|
|
59
57
|
|
|
60
58
|
</div>
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<div id="content"><h1>Class: Module
|
|
62
|
+
<div id="content"><h1>Class: Module
|
|
67
63
|
|
|
68
64
|
|
|
69
65
|
|
|
70
66
|
</h1>
|
|
71
|
-
|
|
72
|
-
<dl class="box">
|
|
67
|
+
<div class="box_info">
|
|
73
68
|
|
|
74
|
-
|
|
75
|
-
<
|
|
69
|
+
<dl>
|
|
70
|
+
<dt>Inherits:</dt>
|
|
71
|
+
<dd>
|
|
76
72
|
<span class="inheritName"><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></span>
|
|
77
73
|
|
|
78
74
|
<ul class="fullTree">
|
|
@@ -83,21 +79,25 @@
|
|
|
83
79
|
</ul>
|
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
|
85
81
|
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
</dd>
|
|
83
|
+
</dl>
|
|
88
84
|
|
|
85
|
+
|
|
89
86
|
|
|
90
|
-
|
|
91
87
|
|
|
92
|
-
|
|
93
88
|
|
|
94
89
|
|
|
95
90
|
|
|
96
|
-
|
|
97
|
-
<dd class="r2 last">lib/shenanigans/module/private_accessor.rb</dd>
|
|
91
|
+
|
|
98
92
|
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<dl>
|
|
96
|
+
<dt>Defined in:</dt>
|
|
97
|
+
<dd>lib/shenanigans/module/private_accessor.rb</dd>
|
|
98
|
+
</dl>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
|
|
110
110
|
<h2>
|
|
111
111
|
Instance Method Summary
|
|
112
|
-
<small
|
|
112
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
113
113
|
</h2>
|
|
114
114
|
|
|
115
115
|
<ul class="summary">
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
<li class="private ">
|
|
118
118
|
<span class="summary_signature">
|
|
119
119
|
|
|
120
|
-
<a href="#private_accessor-instance_method" title="#private_accessor (instance method)"
|
|
120
|
+
<a href="#private_accessor-instance_method" title="#private_accessor (instance method)">#<strong>private_accessor</strong>(*names) ⇒ Object </a>
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
|
|
@@ -132,8 +132,8 @@
|
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
<span class="summary_desc"><div class='inline'>
|
|
135
|
-
<p>Works like attr_accessor but generates private getter/setter
|
|
136
|
-
class internal use only.</p>
|
|
135
|
+
<p>Works like <code>attr_accessor</code> but generates private getter/setter
|
|
136
|
+
methods for class internal use only.</p>
|
|
137
137
|
</div></span>
|
|
138
138
|
|
|
139
139
|
</li>
|
|
@@ -151,7 +151,7 @@ class internal use only.</p>
|
|
|
151
151
|
<div class="method_details first">
|
|
152
152
|
<h3 class="signature first" id="private_accessor-instance_method">
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
#<strong>private_accessor</strong>(*names) ⇒ <tt><span class='object_link'><a href="Object.html" title="Object (class)">Object</a></span></tt> <span class="extras">(private)</span>
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
@@ -226,11 +226,12 @@ href="https://github.com/citizen428/ivar_encapsulation">ivar_encapsulation</a>.<
|
|
|
226
226
|
|
|
227
227
|
</div>
|
|
228
228
|
|
|
229
|
-
|
|
230
|
-
Generated on
|
|
229
|
+
<div id="footer">
|
|
230
|
+
Generated on Thu Feb 1 16:36:55 2018 by
|
|
231
231
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
232
|
-
0.
|
|
232
|
+
0.9.12 (ruby-2.5.0).
|
|
233
233
|
</div>
|
|
234
234
|
|
|
235
|
+
</div>
|
|
235
236
|
</body>
|
|
236
237
|
</html>
|
data/doc/Object.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<!DOCTYPE html
|
|
2
|
-
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
4
3
|
<head>
|
|
5
|
-
<meta
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>
|
|
7
7
|
Class: Object
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.
|
|
9
|
+
— Documentation by YARD 0.9.12
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
|
-
|
|
18
|
+
pathId = "Object";
|
|
19
19
|
relpath = '';
|
|
20
|
-
framesUrl = "frames.html#!" + escape(window.location.href);
|
|
21
20
|
</script>
|
|
22
21
|
|
|
23
22
|
|
|
@@ -28,70 +27,71 @@
|
|
|
28
27
|
|
|
29
28
|
</head>
|
|
30
29
|
<body>
|
|
31
|
-
<div
|
|
32
|
-
<
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
33
38
|
|
|
34
39
|
<a href="_index.html">Index (O)</a> »
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
<span class="title">Object</span>
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
44
|
</div>
|
|
42
45
|
|
|
43
|
-
|
|
46
|
+
<div id="search">
|
|
44
47
|
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
|
46
49
|
href="class_list.html">
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</a>
|
|
54
|
-
|
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
|
56
|
-
href="file_list.html">
|
|
57
|
-
File List
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
58
56
|
</a>
|
|
59
57
|
|
|
60
58
|
</div>
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<div id="content"><h1>Class: Object
|
|
62
|
+
<div id="content"><h1>Class: Object
|
|
67
63
|
|
|
68
64
|
|
|
69
65
|
|
|
70
66
|
</h1>
|
|
71
|
-
|
|
72
|
-
<dl class="box">
|
|
67
|
+
<div class="box_info">
|
|
73
68
|
|
|
74
|
-
|
|
75
|
-
<
|
|
69
|
+
<dl>
|
|
70
|
+
<dt>Inherits:</dt>
|
|
71
|
+
<dd>
|
|
76
72
|
<span class="inheritName">BasicObject</span>
|
|
77
73
|
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
</dd>
|
|
75
|
+
</dl>
|
|
80
76
|
|
|
77
|
+
|
|
81
78
|
|
|
82
|
-
|
|
83
79
|
|
|
84
|
-
|
|
85
80
|
|
|
86
81
|
|
|
87
82
|
|
|
88
|
-
|
|
89
|
-
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
<dl>
|
|
88
|
+
<dt>Defined in:</dt>
|
|
89
|
+
<dd>lib/shenanigans/object/it.rb<span class="defines">,<br />
|
|
90
90
|
lib/shenanigans/object/display.rb</span>
|
|
91
91
|
</dd>
|
|
92
|
+
</dl>
|
|
92
93
|
|
|
93
|
-
</
|
|
94
|
-
<div class="clear"></div>
|
|
94
|
+
</div>
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
|
|
104
104
|
<h2>
|
|
105
105
|
Instance Method Summary
|
|
106
|
-
<small
|
|
106
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
107
107
|
</h2>
|
|
108
108
|
|
|
109
109
|
<ul class="summary">
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
<li class="public ">
|
|
112
112
|
<span class="summary_signature">
|
|
113
113
|
|
|
114
|
-
<a href="#display-instance_method" title="#display (instance method)"
|
|
114
|
+
<a href="#display-instance_method" title="#display (instance method)">#<strong>display</strong>(new_line = true) ⇒ Object </a>
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
<li class="public ">
|
|
138
138
|
<span class="summary_signature">
|
|
139
139
|
|
|
140
|
-
<a href="#it-instance_method" title="#it (instance method)"
|
|
140
|
+
<a href="#it-instance_method" title="#it (instance method)">#<strong>it</strong> ⇒ Object </a>
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
|
|
@@ -152,7 +152,8 @@
|
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
<span class="summary_desc"><div class='inline'>
|
|
155
|
-
<p>An identity method that provides access to an object's
|
|
155
|
+
<p>An identity method that provides access to an object's
|
|
156
|
+
<code>self</code>.</p>
|
|
156
157
|
</div></span>
|
|
157
158
|
|
|
158
159
|
</li>
|
|
@@ -170,7 +171,7 @@
|
|
|
170
171
|
<div class="method_details first">
|
|
171
172
|
<h3 class="signature first" id="display-instance_method">
|
|
172
173
|
|
|
173
|
-
|
|
174
|
+
#<strong>display</strong>(new_line = true) ⇒ <tt><span class='object_link'><a href="" title="Object (class)">Object</a></span></tt>
|
|
174
175
|
|
|
175
176
|
|
|
176
177
|
|
|
@@ -227,7 +228,7 @@ otherwise.</p>
|
|
|
227
228
|
<div class="method_details ">
|
|
228
229
|
<h3 class="signature " id="it-instance_method">
|
|
229
230
|
|
|
230
|
-
|
|
231
|
+
#<strong>it</strong> ⇒ <tt><span class='object_link'><a href="" title="Object (class)">Object</a></span></tt>
|
|
231
232
|
|
|
232
233
|
|
|
233
234
|
|
|
@@ -274,11 +275,12 @@ otherwise.</p>
|
|
|
274
275
|
|
|
275
276
|
</div>
|
|
276
277
|
|
|
277
|
-
|
|
278
|
-
Generated on
|
|
278
|
+
<div id="footer">
|
|
279
|
+
Generated on Thu Feb 1 16:36:54 2018 by
|
|
279
280
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
280
|
-
0.
|
|
281
|
+
0.9.12 (ruby-2.5.0).
|
|
281
282
|
</div>
|
|
282
283
|
|
|
284
|
+
</div>
|
|
283
285
|
</body>
|
|
284
286
|
</html>
|