kamila 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Array2D.html +221 -0
- data/doc/classes/Array2D.src/M000001.html +19 -0
- data/doc/classes/Array2D.src/M000002.html +18 -0
- data/doc/classes/Array2D.src/M000003.html +18 -0
- data/doc/classes/Array2D.src/M000004.html +23 -0
- data/doc/classes/CfYiyi.html +172 -0
- data/doc/classes/CfYiyi.src/M000011.html +17 -0
- data/doc/classes/CfYiyi.src/M000012.html +26 -0
- data/doc/classes/EscapeShellCmd.html +157 -0
- data/doc/classes/EscapeShellCmd.src/M000013.html +18 -0
- data/doc/classes/Example.html +184 -0
- data/doc/classes/Example.src/M000005.html +17 -0
- data/doc/classes/Example.src/M000006.html +19 -0
- data/doc/classes/Example.src/M000007.html +19 -0
- data/doc/classes/Example.src/M000008.html +20 -0
- data/doc/classes/Method/Overload.html +123 -0
- data/doc/classes/Method/Signature.html +315 -0
- data/doc/classes/Method/Signature.src/M000015.html +20 -0
- data/doc/classes/Method/Signature.src/M000016.html +18 -0
- data/doc/classes/Method/Signature.src/M000017.html +18 -0
- data/doc/classes/Method/Signature.src/M000018.html +18 -0
- data/doc/classes/Method/Signature.src/M000019.html +22 -0
- data/doc/classes/Method/Signature.src/M000020.html +18 -0
- data/doc/classes/Method/Signature.src/M000021.html +21 -0
- data/doc/classes/Method/Signature.src/M000022.html +26 -0
- data/doc/classes/Method/Signature.src/M000023.html +36 -0
- data/doc/classes/Method/Signature.src/M000024.html +18 -0
- data/doc/classes/Method/Signature.src/M000025.html +24 -0
- data/doc/classes/Method/Signature.src/M000026.html +18 -0
- data/doc/classes/Method.html +144 -0
- data/doc/classes/Method.src/M000014.html +33 -0
- data/doc/classes/Module.html +111 -0
- data/doc/classes/MyCGI.html +137 -0
- data/doc/classes/MyCGI.src/M000034.html +18 -0
- data/doc/classes/ScanearDisco.html +251 -0
- data/doc/classes/ScanearDisco.src/M000027.html +24 -0
- data/doc/classes/ScanearDisco.src/M000028.html +28 -0
- data/doc/classes/ScanearDisco.src/M000029.html +52 -0
- data/doc/classes/ScanearDisco.src/M000030.html +19 -0
- data/doc/classes/ScanearDisco.src/M000031.html +48 -0
- data/doc/classes/ScanearDisco.src/M000032.html +40 -0
- data/doc/classes/TestEscapeShellCmd.html +137 -0
- data/doc/classes/TestEscapeShellCmd.src/M000033.html +19 -0
- data/doc/classes/Utilidades.html +173 -0
- data/doc/classes/Utilidades.src/M000009.html +17 -0
- data/doc/classes/Utilidades.src/M000010.html +28 -0
- data/doc/created.rid +1 -0
- data/doc/files/lib/Array2D_rb.html +120 -0
- data/doc/files/lib/cf_yiyi_rb.html +120 -0
- data/doc/files/lib/escape_shell_cmd_rb.html +121 -0
- data/doc/files/lib/mycgi_rb.html +127 -0
- data/doc/files/lib/overload_rb.html +101 -0
- data/doc/files/lib/scanear_disco_rb.html +140 -0
- data/doc/files/lib/utilidades_rb.html +120 -0
- data/doc/files/test/testEscapeShellCmd_rb.html +116 -0
- data/doc/files/test/testmycgi_rb.html +109 -0
- data/doc/files/test/testoverload_rb.html +101 -0
- data/doc/fr_class_index.html +38 -0
- data/doc/fr_file_index.html +36 -0
- data/doc/fr_method_index.html +60 -0
- data/doc/index.html +24 -0
- data/lib/Array2D.rb +33 -0
- data/lib/application.rb +3509 -0
- data/lib/cerrar.sh +2 -0
- data/lib/cf_yiyi.rb +26 -0
- data/lib/escape_shell_cmd.rb +24 -0
- data/lib/kamila.rb +452 -0
- data/lib/mycgi.rb +41 -0
- data/lib/mypdf.rb +215 -0
- data/lib/overload.rb +197 -0
- data/lib/scanear_disco.rb +169 -0
- data/lib/smtp_tls.rb +66 -0
- data/lib/utilidades.rb +29 -0
- data/test/testEscapeShellCmd.rb +12 -0
- metadata +133 -0
@@ -0,0 +1,221 @@
|
|
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: Array2D</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">Array2D</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/Array2D_rb.html">
|
59
|
+
lib/Array2D.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
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
/****************************************************************************/
|
84
|
+
/* clase <a href="Array2D.html">Array2D</a> */ /* */ /* Clase para Manejar
|
85
|
+
Arreglos de 2 Dimensiones */
|
86
|
+
/****************************************************************************/
|
87
|
+
/*
|
88
|
+
</p>
|
89
|
+
<pre>
|
90
|
+
Version: 1.0 en ruby 1.8.x
|
91
|
+
Fecha : 28 de Marzo 2008
|
92
|
+
Autor : by Greg Brown
|
93
|
+
http : http://rubyquiz.com/quiz33.html
|
94
|
+
</pre>
|
95
|
+
<p>
|
96
|
+
*/
|
97
|
+
</p>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<div id="method-list">
|
105
|
+
<h3 class="section-bar">Methods</h3>
|
106
|
+
|
107
|
+
<div class="name-list">
|
108
|
+
<a href="#M000002">[]</a>
|
109
|
+
<a href="#M000003">[]=</a>
|
110
|
+
<a href="#M000001">new</a>
|
111
|
+
<a href="#M000004">to_s</a>
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
|
118
|
+
<!-- if includes -->
|
119
|
+
|
120
|
+
<div id="section">
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
<div id="attribute-list">
|
127
|
+
<h3 class="section-bar">Attributes</h3>
|
128
|
+
|
129
|
+
<div class="name-list">
|
130
|
+
<table>
|
131
|
+
<tr class="top-aligned-row context-row">
|
132
|
+
<td class="context-item-name">h</td>
|
133
|
+
<td class="context-item-value"> [R] </td>
|
134
|
+
<td class="context-item-desc"></td>
|
135
|
+
</tr>
|
136
|
+
<tr class="top-aligned-row context-row">
|
137
|
+
<td class="context-item-name">w</td>
|
138
|
+
<td class="context-item-value"> [R] </td>
|
139
|
+
<td class="context-item-desc"></td>
|
140
|
+
</tr>
|
141
|
+
</table>
|
142
|
+
</div>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
<!-- if method_list -->
|
148
|
+
<div id="methods">
|
149
|
+
<h3 class="section-bar">Public Class methods</h3>
|
150
|
+
|
151
|
+
<div id="method-M000001" class="method-detail">
|
152
|
+
<a name="M000001"></a>
|
153
|
+
|
154
|
+
<div class="method-heading">
|
155
|
+
<a href="Array2D.src/M000001.html" target="Code" class="method-signature"
|
156
|
+
onclick="popupCode('Array2D.src/M000001.html');return false;">
|
157
|
+
<span class="method-name">new</span><span class="method-args">(w, h, defel=nil)</span>
|
158
|
+
</a>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div class="method-description">
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
166
|
+
|
167
|
+
<div id="method-M000002" class="method-detail">
|
168
|
+
<a name="M000002"></a>
|
169
|
+
|
170
|
+
<div class="method-heading">
|
171
|
+
<a href="Array2D.src/M000002.html" target="Code" class="method-signature"
|
172
|
+
onclick="popupCode('Array2D.src/M000002.html');return false;">
|
173
|
+
<span class="method-name">[]</span><span class="method-args">(x, y)</span>
|
174
|
+
</a>
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<div class="method-description">
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div id="method-M000003" class="method-detail">
|
182
|
+
<a name="M000003"></a>
|
183
|
+
|
184
|
+
<div class="method-heading">
|
185
|
+
<a href="Array2D.src/M000003.html" target="Code" class="method-signature"
|
186
|
+
onclick="popupCode('Array2D.src/M000003.html');return false;">
|
187
|
+
<span class="method-name">[]=</span><span class="method-args">(x, y, v)</span>
|
188
|
+
</a>
|
189
|
+
</div>
|
190
|
+
|
191
|
+
<div class="method-description">
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<div id="method-M000004" class="method-detail">
|
196
|
+
<a name="M000004"></a>
|
197
|
+
|
198
|
+
<div class="method-heading">
|
199
|
+
<a href="Array2D.src/M000004.html" target="Code" class="method-signature"
|
200
|
+
onclick="popupCode('Array2D.src/M000004.html');return false;">
|
201
|
+
<span class="method-name">to_s</span><span class="method-args">() {|v| ...}</span>
|
202
|
+
</a>
|
203
|
+
</div>
|
204
|
+
|
205
|
+
<div class="method-description">
|
206
|
+
</div>
|
207
|
+
</div>
|
208
|
+
|
209
|
+
|
210
|
+
</div>
|
211
|
+
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
|
216
|
+
<div id="validator-badges">
|
217
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
218
|
+
</div>
|
219
|
+
|
220
|
+
</body>
|
221
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
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>new (Array2D)</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/Array2D.rb, line 15</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">w</span>, <span class="ruby-identifier">h</span>, <span class="ruby-identifier">defel</span>=<span class="ruby-keyword kw">nil</span>)
|
15
|
+
<span class="ruby-ivar">@w</span>, <span class="ruby-ivar">@h</span>=<span class="ruby-identifier">w</span>, <span class="ruby-identifier">h</span>
|
16
|
+
<span class="ruby-ivar">@array</span>=<span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">w</span><span class="ruby-operator">*</span><span class="ruby-identifier">h</span>, <span class="ruby-identifier">defel</span>)
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</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>[] (Array2D)</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/Array2D.rb, line 19</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>)
|
15
|
+
<span class="ruby-ivar">@array</span>[(<span class="ruby-identifier">y</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">h</span>) <span class="ruby-operator">*</span> <span class="ruby-identifier">w</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">x</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">w</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>[]= (Array2D)</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/Array2D.rb, line 22</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>, <span class="ruby-identifier">v</span>)
|
15
|
+
<span class="ruby-ivar">@array</span>[(<span class="ruby-identifier">y</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">h</span>) <span class="ruby-operator">*</span> <span class="ruby-identifier">w</span> <span class="ruby-operator">+</span> (<span class="ruby-identifier">x</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">w</span>)]=<span class="ruby-identifier">v</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
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>to_s (Array2D)</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/Array2D.rb, line 25</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
15
|
+
(<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">h</span>).<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">y</span><span class="ruby-operator">|</span>
|
16
|
+
(<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">w</span>).<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
|
17
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>]
|
18
|
+
<span class="ruby-identifier">block_given?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">v</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">v</span>
|
19
|
+
}.<span class="ruby-identifier">join</span> <span class="ruby-value str">" "</span>
|
20
|
+
}.<span class="ruby-identifier">join</span> <span class="ruby-value str">"\n"</span>
|
21
|
+
<span class="ruby-keyword kw">end</span></pre>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,172 @@
|
|
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: CfYiyi</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">CfYiyi</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/cf_yiyi_rb.html">
|
59
|
+
lib/cf_yiyi.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
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
/****************************************************************************/
|
84
|
+
/* clase <a href="CfYiyi.html">CfYiyi</a> */ /* */ /* Clase de Control */
|
85
|
+
/****************************************************************************/
|
86
|
+
/*
|
87
|
+
</p>
|
88
|
+
<pre>
|
89
|
+
Version: 1.0 en ruby 1.8.x
|
90
|
+
Fecha : 28 de Marzo 2008
|
91
|
+
Autor : Prof. Edgar Gonzalez
|
92
|
+
Email : edgargonzalezmunoz@gmail.com
|
93
|
+
</pre>
|
94
|
+
<p>
|
95
|
+
*/
|
96
|
+
</p>
|
97
|
+
|
98
|
+
</div>
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div id="method-list">
|
104
|
+
<h3 class="section-bar">Methods</h3>
|
105
|
+
|
106
|
+
<div class="name-list">
|
107
|
+
<a href="#M000012">control</a>
|
108
|
+
<a href="#M000011">new</a>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
</div>
|
113
|
+
|
114
|
+
|
115
|
+
<!-- if includes -->
|
116
|
+
|
117
|
+
<div id="section">
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
<!-- if method_list -->
|
127
|
+
<div id="methods">
|
128
|
+
<h3 class="section-bar">Public Class methods</h3>
|
129
|
+
|
130
|
+
<div id="method-M000011" class="method-detail">
|
131
|
+
<a name="M000011"></a>
|
132
|
+
|
133
|
+
<div class="method-heading">
|
134
|
+
<a href="CfYiyi.src/M000011.html" target="Code" class="method-signature"
|
135
|
+
onclick="popupCode('CfYiyi.src/M000011.html');return false;">
|
136
|
+
<span class="method-name">new</span><span class="method-args">()</span>
|
137
|
+
</a>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
<div class="method-description">
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
145
|
+
|
146
|
+
<div id="method-M000012" class="method-detail">
|
147
|
+
<a name="M000012"></a>
|
148
|
+
|
149
|
+
<div class="method-heading">
|
150
|
+
<a href="CfYiyi.src/M000012.html" target="Code" class="method-signature"
|
151
|
+
onclick="popupCode('CfYiyi.src/M000012.html');return false;">
|
152
|
+
<span class="method-name">control</span><span class="method-args">()</span>
|
153
|
+
</a>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
<div class="method-description">
|
157
|
+
</div>
|
158
|
+
</div>
|
159
|
+
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
|
164
|
+
</div>
|
165
|
+
|
166
|
+
|
167
|
+
<div id="validator-badges">
|
168
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
</body>
|
172
|
+
</html>
|
@@ -0,0 +1,17 @@
|
|
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>new (CfYiyi)</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/cf_yiyi.rb, line 13</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>()
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
16
|
+
</body>
|
17
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
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>control (CfYiyi)</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/cf_yiyi.rb, line 15</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">control</span>()
|
15
|
+
<span class="ruby-identifier">valor</span> = <span class="ruby-keyword kw">false</span>
|
16
|
+
<span class="ruby-identifier">fechatope</span> = <span class="ruby-value str">"20081231"</span>
|
17
|
+
<span class="ruby-identifier">fechaactual</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>().<span class="ruby-identifier">strftime</span>(<span class="ruby-value str">"%Y%m%d"</span>)
|
18
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">fechatope</span><span class="ruby-operator"><</span><span class="ruby-identifier">fechaactual</span>
|
19
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"No puede usar este componente\nLlamar al Prof. Edgar Gonzalez\nAl telefono: 5802512591601"</span>
|
20
|
+
<span class="ruby-keyword kw">else</span>
|
21
|
+
<span class="ruby-identifier">valor</span> = <span class="ruby-keyword kw">true</span>
|
22
|
+
<span class="ruby-keyword kw">end</span>
|
23
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">valor</span>
|
24
|
+
<span class="ruby-keyword kw">end</span></pre>
|
25
|
+
</body>
|
26
|
+
</html>
|