RubMat 2.1.6 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Rakefile +2 -2
- data/bin/{rubmat.rb → rubmat} +0 -0
- data/doc/apple-touch-icon.png +0 -0
- data/doc/classes/Fixnum.html +394 -0
- data/doc/classes/Fixnum.src/M000019.html +18 -0
- data/doc/classes/Fixnum.src/M000020.html +18 -0
- data/doc/classes/Fixnum.src/M000021.html +18 -0
- data/doc/classes/Fixnum.src/M000022.html +18 -0
- data/doc/classes/Fixnum.src/M000023.html +18 -0
- data/doc/classes/GetOpt.html +135 -0
- data/doc/classes/Object.html +2636 -0
- data/doc/created.rid +1 -0
- data/doc/css/main.css +278 -0
- data/doc/css/panel.css +383 -0
- data/doc/css/reset.css +53 -0
- data/doc/favicon.ico +0 -0
- data/doc/files/LICENSE.html +74 -0
- data/doc/files/README.html +73 -0
- data/doc/files/README_md.html +73 -0
- data/doc/files/Rakefile.html +116 -0
- data/doc/files/bin/librbdiscrete_rb.html +93 -0
- data/doc/files/lib/fixnumexpand_rb.html +59 -0
- data/doc/files/lib/help_rb.html +52 -0
- data/doc/files/lib/librbdiscrete_rb.html +93 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000001.html +22 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000002.html +29 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000003.html +21 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000004.html +28 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000005.html +22 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000006.html +31 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000007.html +18 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000008.html +22 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000009.html +18 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000010.html +22 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000011.html +28 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000012.html +28 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000013.html +18 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000014.html +18 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000015.html +18 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000016.html +32 -0
- data/doc/files/lib/librbdiscrete_rb.src/M000017.html +22 -0
- data/doc/files/lib/main_rb.html +76 -0
- data/doc/files/lib/statics_yml.html +63 -0
- data/doc/files/nbproject/private/private_xml.html +67 -0
- data/doc/files/nbproject/private/rake-d_txt.html +62 -0
- data/doc/files/nbproject/project_properties.html +60 -0
- data/doc/files/nbproject/project_xml.html +79 -0
- data/doc/files/pkg/RubMat-2_1_5/LICENSE.html +74 -0
- data/doc/files/pkg/RubMat-2_1_5/README.html +73 -0
- data/doc/files/pkg/RubMat-2_1_5/Rakefile.html +116 -0
- data/doc/files/pkg/RubMat-2_1_5/bin/librbdiscrete_rb.html +86 -0
- data/doc/files/pkg/RubMat-2_1_5/lib/fixnumexpand_rb.html +59 -0
- data/doc/files/pkg/RubMat-2_1_5/lib/librbdiscrete_rb.html +86 -0
- data/doc/files/pkg/RubMat-2_1_5/lib/main_rb.html +77 -0
- data/doc/files/pkg/RubMat-2_1_5/lib/statics_yml.html +63 -0
- data/doc/files/test/testprocedure_rb.html +59 -0
- data/doc/files/test/testprocedure_rb.src/M000018.html +18 -0
- data/doc/fr_class_index.html +27 -0
- data/doc/fr_file_index.html +30 -0
- data/doc/fr_method_index.html +49 -0
- data/doc/i/arrows.png +0 -0
- data/doc/i/results_bg.png +0 -0
- data/doc/i/tree_bg.png +0 -0
- data/doc/index.html +14 -0
- data/doc/js/jquery-1.3.2.min.js +19 -0
- data/doc/js/jquery-effect.js +593 -0
- data/doc/js/main.js +22 -0
- data/doc/js/searchdoc.js +628 -0
- data/doc/panel/index.html +71 -0
- data/doc/panel/search_index.js +1 -0
- data/doc/panel/tree.js +1 -0
- data/doc/rdoc-style.css +208 -0
- data/pkg/RubMat-2.1.5.gem +0 -0
- data/pkg/RubMat-2.1.5/LICENSE +17 -0
- data/pkg/RubMat-2.1.5/README +11 -0
- data/pkg/RubMat-2.1.5/Rakefile +42 -0
- data/pkg/RubMat-2.1.5/RubMat.png +0 -0
- data/pkg/RubMat-2.1.5/gplv3.png +0 -0
- data/pkg/RubMat-2.1.5/lib/fixnumexpand.rb +35 -0
- data/pkg/RubMat-2.1.5/lib/librbdiscrete.rb +412 -0
- data/pkg/RubMat-2.1.5/lib/main.rb +13 -0
- data/pkg/RubMat-2.1.5/lib/statics.yml +4 -0
- data/rubmat.gemspec +22 -0
- data/test/testprocedure.rb +8 -0
- metadata +110 -16
data/.gitignore
ADDED
data/Rakefile
CHANGED
@@ -8,13 +8,13 @@ require 'rake/testtask'
|
|
8
8
|
|
9
9
|
spec = Gem::Specification.new do |s|
|
10
10
|
s.name = 'RubMat'
|
11
|
-
s.version = '2.1.
|
11
|
+
s.version = '2.1.7'
|
12
12
|
s.extra_rdoc_files = ['README.md', 'LICENSE', 'gplv3.png', 'RubMat.png']
|
13
13
|
s.summary = 'Discrete Mathematics solver and Usable Library'
|
14
14
|
s.description = s.summary
|
15
15
|
s.author = 'Mahmut Bulut'
|
16
16
|
s.email = 'scienceblock@gmail.com'
|
17
|
-
s.executables = ['rubmat
|
17
|
+
s.executables = ['rubmat']
|
18
18
|
s.files = %w(LICENSE README.md Rakefile gplv3.png RubMat.png) + Dir.glob("{bin,lib,spec}/**/*")
|
19
19
|
s.require_path = "lib"
|
20
20
|
s.bindir = "bin"
|
data/bin/{rubmat.rb → rubmat}
RENAMED
File without changes
|
Binary file
|
@@ -0,0 +1,394 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<title>Fixnum</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
|
9
|
+
<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
|
10
|
+
<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
|
12
|
+
<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
|
13
|
+
</head>
|
14
|
+
|
15
|
+
<body>
|
16
|
+
<div class="banner">
|
17
|
+
<h1>
|
18
|
+
<span class="type">Class</span>
|
19
|
+
Fixnum
|
20
|
+
|
21
|
+
<span class="parent"><
|
22
|
+
|
23
|
+
<a href="Object.html">Object</a>
|
24
|
+
|
25
|
+
</span>
|
26
|
+
|
27
|
+
</h1>
|
28
|
+
<ul class="files">
|
29
|
+
|
30
|
+
<li><a href="../files/lib/fixnumexpand_rb.html">lib/fixnumexpand.rb</a></li>
|
31
|
+
|
32
|
+
<li><a href="../files/pkg/RubMat-2_1_5/lib/fixnumexpand_rb.html">pkg/RubMat-2.1.5/lib/fixnumexpand.rb</a></li>
|
33
|
+
|
34
|
+
</ul>
|
35
|
+
</div>
|
36
|
+
<div id="bodyContent">
|
37
|
+
<div id="content">
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<div class="sectiontitle">Methods</div>
|
48
|
+
<dl class="methods">
|
49
|
+
|
50
|
+
<dt>D</dt>
|
51
|
+
<dd>
|
52
|
+
<ul>
|
53
|
+
|
54
|
+
<li><a href="#M000006">days</a>,</li>
|
55
|
+
|
56
|
+
<li><a href="#M000044">days</a></li>
|
57
|
+
|
58
|
+
</ul>
|
59
|
+
</dd>
|
60
|
+
|
61
|
+
<dt>H</dt>
|
62
|
+
<dd>
|
63
|
+
<ul>
|
64
|
+
|
65
|
+
<li><a href="#M000005">hours</a>,</li>
|
66
|
+
|
67
|
+
<li><a href="#M000043">hours</a></li>
|
68
|
+
|
69
|
+
</ul>
|
70
|
+
</dd>
|
71
|
+
|
72
|
+
<dt>M</dt>
|
73
|
+
<dd>
|
74
|
+
<ul>
|
75
|
+
|
76
|
+
<li><a href="#M000004">minutes</a>,</li>
|
77
|
+
|
78
|
+
<li><a href="#M000042">minutes</a></li>
|
79
|
+
|
80
|
+
</ul>
|
81
|
+
</dd>
|
82
|
+
|
83
|
+
<dt>S</dt>
|
84
|
+
<dd>
|
85
|
+
<ul>
|
86
|
+
|
87
|
+
<li><a href="#M000003">seconds</a>,</li>
|
88
|
+
|
89
|
+
<li><a href="#M000041">seconds</a></li>
|
90
|
+
|
91
|
+
</ul>
|
92
|
+
</dd>
|
93
|
+
|
94
|
+
<dt>W</dt>
|
95
|
+
<dd>
|
96
|
+
<ul>
|
97
|
+
|
98
|
+
<li><a href="#M000007">weeks</a>,</li>
|
99
|
+
|
100
|
+
<li><a href="#M000045">weeks</a></li>
|
101
|
+
|
102
|
+
</ul>
|
103
|
+
</dd>
|
104
|
+
|
105
|
+
</dl>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<div class="sectiontitle">Instance Public methods</div>
|
120
|
+
|
121
|
+
<div class="method">
|
122
|
+
<div class="title" id="M000006">
|
123
|
+
|
124
|
+
<a name="M000006"></a><b>days</b>()
|
125
|
+
|
126
|
+
</div>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<div class="sourcecode">
|
132
|
+
<p class="source-link">
|
133
|
+
Source: <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show</a>
|
134
|
+
|
135
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/lib/fixnumexpand.rb#L29" target="_blank" class="github_url">on GitHub</a>
|
136
|
+
|
137
|
+
</p>
|
138
|
+
<div id="M000006_source" class="dyn-source">
|
139
|
+
<pre><span class="ruby-comment cmt"># File lib/fixnumexpand.rb, line 29</span>
|
140
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">days</span>
|
141
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">24</span>
|
142
|
+
<span class="ruby-keyword kw">end</span></pre>
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
</div>
|
147
|
+
|
148
|
+
<div class="method">
|
149
|
+
<div class="title" id="M000044">
|
150
|
+
|
151
|
+
<a name="M000044"></a><b>days</b>()
|
152
|
+
|
153
|
+
</div>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<div class="sourcecode">
|
159
|
+
<p class="source-link">
|
160
|
+
Source: <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show</a>
|
161
|
+
|
162
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/pkg/RubMat-2.1.5/lib/fixnumexpand.rb#L29" target="_blank" class="github_url">on GitHub</a>
|
163
|
+
|
164
|
+
</p>
|
165
|
+
<div id="M000044_source" class="dyn-source">
|
166
|
+
<pre><span class="ruby-comment cmt"># File pkg/RubMat-2.1.5/lib/fixnumexpand.rb, line 29</span>
|
167
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">days</span>
|
168
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">24</span>
|
169
|
+
<span class="ruby-keyword kw">end</span></pre>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
</div>
|
174
|
+
|
175
|
+
<div class="method">
|
176
|
+
<div class="title" id="M000005">
|
177
|
+
|
178
|
+
<a name="M000005"></a><b>hours</b>()
|
179
|
+
|
180
|
+
</div>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<div class="sourcecode">
|
186
|
+
<p class="source-link">
|
187
|
+
Source: <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show</a>
|
188
|
+
|
189
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/lib/fixnumexpand.rb#L26" target="_blank" class="github_url">on GitHub</a>
|
190
|
+
|
191
|
+
</p>
|
192
|
+
<div id="M000005_source" class="dyn-source">
|
193
|
+
<pre><span class="ruby-comment cmt"># File lib/fixnumexpand.rb, line 26</span>
|
194
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hours</span>
|
195
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span>
|
196
|
+
<span class="ruby-keyword kw">end</span></pre>
|
197
|
+
</div>
|
198
|
+
</div>
|
199
|
+
|
200
|
+
</div>
|
201
|
+
|
202
|
+
<div class="method">
|
203
|
+
<div class="title" id="M000043">
|
204
|
+
|
205
|
+
<a name="M000043"></a><b>hours</b>()
|
206
|
+
|
207
|
+
</div>
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
<div class="sourcecode">
|
213
|
+
<p class="source-link">
|
214
|
+
Source: <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show</a>
|
215
|
+
|
216
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/pkg/RubMat-2.1.5/lib/fixnumexpand.rb#L26" target="_blank" class="github_url">on GitHub</a>
|
217
|
+
|
218
|
+
</p>
|
219
|
+
<div id="M000043_source" class="dyn-source">
|
220
|
+
<pre><span class="ruby-comment cmt"># File pkg/RubMat-2.1.5/lib/fixnumexpand.rb, line 26</span>
|
221
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hours</span>
|
222
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span>
|
223
|
+
<span class="ruby-keyword kw">end</span></pre>
|
224
|
+
</div>
|
225
|
+
</div>
|
226
|
+
|
227
|
+
</div>
|
228
|
+
|
229
|
+
<div class="method">
|
230
|
+
<div class="title" id="M000004">
|
231
|
+
|
232
|
+
<a name="M000004"></a><b>minutes</b>()
|
233
|
+
|
234
|
+
</div>
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
<div class="sourcecode">
|
240
|
+
<p class="source-link">
|
241
|
+
Source: <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show</a>
|
242
|
+
|
243
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/lib/fixnumexpand.rb#L23" target="_blank" class="github_url">on GitHub</a>
|
244
|
+
|
245
|
+
</p>
|
246
|
+
<div id="M000004_source" class="dyn-source">
|
247
|
+
<pre><span class="ruby-comment cmt"># File lib/fixnumexpand.rb, line 23</span>
|
248
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">minutes</span>
|
249
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span>
|
250
|
+
<span class="ruby-keyword kw">end</span></pre>
|
251
|
+
</div>
|
252
|
+
</div>
|
253
|
+
|
254
|
+
</div>
|
255
|
+
|
256
|
+
<div class="method">
|
257
|
+
<div class="title" id="M000042">
|
258
|
+
|
259
|
+
<a name="M000042"></a><b>minutes</b>()
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
<div class="sourcecode">
|
267
|
+
<p class="source-link">
|
268
|
+
Source: <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show</a>
|
269
|
+
|
270
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/pkg/RubMat-2.1.5/lib/fixnumexpand.rb#L23" target="_blank" class="github_url">on GitHub</a>
|
271
|
+
|
272
|
+
</p>
|
273
|
+
<div id="M000042_source" class="dyn-source">
|
274
|
+
<pre><span class="ruby-comment cmt"># File pkg/RubMat-2.1.5/lib/fixnumexpand.rb, line 23</span>
|
275
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">minutes</span>
|
276
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span>
|
277
|
+
<span class="ruby-keyword kw">end</span></pre>
|
278
|
+
</div>
|
279
|
+
</div>
|
280
|
+
|
281
|
+
</div>
|
282
|
+
|
283
|
+
<div class="method">
|
284
|
+
<div class="title" id="M000003">
|
285
|
+
|
286
|
+
<a name="M000003"></a><b>seconds</b>()
|
287
|
+
|
288
|
+
</div>
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
<div class="sourcecode">
|
294
|
+
<p class="source-link">
|
295
|
+
Source: <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show</a>
|
296
|
+
|
297
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/lib/fixnumexpand.rb#L20" target="_blank" class="github_url">on GitHub</a>
|
298
|
+
|
299
|
+
</p>
|
300
|
+
<div id="M000003_source" class="dyn-source">
|
301
|
+
<pre><span class="ruby-comment cmt"># File lib/fixnumexpand.rb, line 20</span>
|
302
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">seconds</span>
|
303
|
+
<span class="ruby-keyword kw">self</span>
|
304
|
+
<span class="ruby-keyword kw">end</span></pre>
|
305
|
+
</div>
|
306
|
+
</div>
|
307
|
+
|
308
|
+
</div>
|
309
|
+
|
310
|
+
<div class="method">
|
311
|
+
<div class="title" id="M000041">
|
312
|
+
|
313
|
+
<a name="M000041"></a><b>seconds</b>()
|
314
|
+
|
315
|
+
</div>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
<div class="sourcecode">
|
321
|
+
<p class="source-link">
|
322
|
+
Source: <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show</a>
|
323
|
+
|
324
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/pkg/RubMat-2.1.5/lib/fixnumexpand.rb#L20" target="_blank" class="github_url">on GitHub</a>
|
325
|
+
|
326
|
+
</p>
|
327
|
+
<div id="M000041_source" class="dyn-source">
|
328
|
+
<pre><span class="ruby-comment cmt"># File pkg/RubMat-2.1.5/lib/fixnumexpand.rb, line 20</span>
|
329
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">seconds</span>
|
330
|
+
<span class="ruby-keyword kw">self</span>
|
331
|
+
<span class="ruby-keyword kw">end</span></pre>
|
332
|
+
</div>
|
333
|
+
</div>
|
334
|
+
|
335
|
+
</div>
|
336
|
+
|
337
|
+
<div class="method">
|
338
|
+
<div class="title" id="M000007">
|
339
|
+
|
340
|
+
<a name="M000007"></a><b>weeks</b>()
|
341
|
+
|
342
|
+
</div>
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
<div class="sourcecode">
|
348
|
+
<p class="source-link">
|
349
|
+
Source: <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show</a>
|
350
|
+
|
351
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/lib/fixnumexpand.rb#L32" target="_blank" class="github_url">on GitHub</a>
|
352
|
+
|
353
|
+
</p>
|
354
|
+
<div id="M000007_source" class="dyn-source">
|
355
|
+
<pre><span class="ruby-comment cmt"># File lib/fixnumexpand.rb, line 32</span>
|
356
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">weeks</span>
|
357
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">24</span> <span class="ruby-operator">*</span> <span class="ruby-value">7</span>
|
358
|
+
<span class="ruby-keyword kw">end</span></pre>
|
359
|
+
</div>
|
360
|
+
</div>
|
361
|
+
|
362
|
+
</div>
|
363
|
+
|
364
|
+
<div class="method">
|
365
|
+
<div class="title" id="M000045">
|
366
|
+
|
367
|
+
<a name="M000045"></a><b>weeks</b>()
|
368
|
+
|
369
|
+
</div>
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
<div class="sourcecode">
|
375
|
+
<p class="source-link">
|
376
|
+
Source: <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show</a>
|
377
|
+
|
378
|
+
| <a href="http://github.com/regularlambda/RubMat/blob/800176e0eeead2a668661afd7c8b020ea4c7f766/pkg/RubMat-2.1.5/lib/fixnumexpand.rb#L32" target="_blank" class="github_url">on GitHub</a>
|
379
|
+
|
380
|
+
</p>
|
381
|
+
<div id="M000045_source" class="dyn-source">
|
382
|
+
<pre><span class="ruby-comment cmt"># File pkg/RubMat-2.1.5/lib/fixnumexpand.rb, line 32</span>
|
383
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">weeks</span>
|
384
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span> <span class="ruby-operator">*</span> <span class="ruby-value">24</span> <span class="ruby-operator">*</span> <span class="ruby-value">7</span>
|
385
|
+
<span class="ruby-keyword kw">end</span></pre>
|
386
|
+
</div>
|
387
|
+
</div>
|
388
|
+
|
389
|
+
</div>
|
390
|
+
|
391
|
+
</div>
|
392
|
+
</div>
|
393
|
+
</body>
|
394
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>seconds (Fixnum)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/fixnumexpand.rb, line 20</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">seconds</span>
|
15
|
+
<span class="ruby-keyword kw">self</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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>
|
7
|
+
<head>
|
8
|
+
<title>minutes (Fixnum)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/fixnumexpand.rb, line 23</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">minutes</span>
|
15
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">*</span> <span class="ruby-value">60</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|