eymiha 0.1.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,185 +1,185 @@
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: Object</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">Object</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/eymiha_rb.html">
59
- lib/eymiha.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
- <div id="description">
84
- <p>
85
- Provides a general method raising on conversion problems.
86
- </p>
87
-
88
- </div>
89
-
90
-
91
- </div>
92
-
93
- <div id="method-list">
94
- <h3 class="section-bar">Methods</h3>
95
-
96
- <div class="name-list">
97
- <a href="#M000005">optional_require</a>&nbsp;&nbsp;
98
- <a href="#M000003">raise_no_conversion</a>&nbsp;&nbsp;
99
- <a href="#M000004">self_name</a>&nbsp;&nbsp;
100
- </div>
101
- </div>
102
-
103
- </div>
104
-
105
-
106
- <!-- if includes -->
107
-
108
- <div id="section">
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
- <!-- if method_list -->
118
- <div id="methods">
119
- <h3 class="section-bar">Public Instance methods</h3>
120
-
121
- <div id="method-M000005" class="method-detail">
122
- <a name="M000005"></a>
123
-
124
- <div class="method-heading">
125
- <a href="Object.src/M000005.html" target="Code" class="method-signature"
126
- onclick="popupCode('Object.src/M000005.html');return false;">
127
- <span class="method-name">optional_require</span><span class="method-args">(feature)</span>
128
- </a>
129
- </div>
130
-
131
- <div class="method-description">
132
- <p>
133
- Optionally require a library - don&#8216;t fail if it&#8216;s missing.
134
- </p>
135
- </div>
136
- </div>
137
-
138
- <div id="method-M000003" class="method-detail">
139
- <a name="M000003"></a>
140
-
141
- <div class="method-heading">
142
- <a href="Object.src/M000003.html" target="Code" class="method-signature"
143
- onclick="popupCode('Object.src/M000003.html');return false;">
144
- <span class="method-name">raise_no_conversion</span><span class="method-args">(src,dest=self)</span>
145
- </a>
146
- </div>
147
-
148
- <div class="method-description">
149
- <p>
150
- Raises an TypeError with a human-readable message when the instance src
151
- cannot be converted to an instance of type dest.
152
- </p>
153
- </div>
154
- </div>
155
-
156
- <div id="method-M000004" class="method-detail">
157
- <a name="M000004"></a>
158
-
159
- <div class="method-heading">
160
- <a href="Object.src/M000004.html" target="Code" class="method-signature"
161
- onclick="popupCode('Object.src/M000004.html');return false;">
162
- <span class="method-name">self_name</span><span class="method-args">()</span>
163
- </a>
164
- </div>
165
-
166
- <div class="method-description">
167
- <p>
168
- Returns the class name of a class or an instance.
169
- </p>
170
- </div>
171
- </div>
172
-
173
-
174
- </div>
175
-
176
-
177
- </div>
178
-
179
-
180
- <div id="validator-badges">
181
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
182
- </div>
183
-
184
- </body>
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: Object</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">Object</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/eymiha_rb.html">
59
+ lib/eymiha.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
+ <div id="description">
84
+ <p>
85
+ Provides a general method raising on conversion problems.
86
+ </p>
87
+
88
+ </div>
89
+
90
+
91
+ </div>
92
+
93
+ <div id="method-list">
94
+ <h3 class="section-bar">Methods</h3>
95
+
96
+ <div class="name-list">
97
+ <a href="#M000004">class_name</a>&nbsp;&nbsp;
98
+ <a href="#M000005">optional_require</a>&nbsp;&nbsp;
99
+ <a href="#M000003">raise_no_conversion</a>&nbsp;&nbsp;
100
+ </div>
101
+ </div>
102
+
103
+ </div>
104
+
105
+
106
+ <!-- if includes -->
107
+
108
+ <div id="section">
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+ <!-- if method_list -->
118
+ <div id="methods">
119
+ <h3 class="section-bar">Public Instance methods</h3>
120
+
121
+ <div id="method-M000004" class="method-detail">
122
+ <a name="M000004"></a>
123
+
124
+ <div class="method-heading">
125
+ <a href="Object.src/M000004.html" target="Code" class="method-signature"
126
+ onclick="popupCode('Object.src/M000004.html');return false;">
127
+ <span class="method-name">class_name</span><span class="method-args">()</span>
128
+ </a>
129
+ </div>
130
+
131
+ <div class="method-description">
132
+ <p>
133
+ Returns the class name of a class or an instance.
134
+ </p>
135
+ </div>
136
+ </div>
137
+
138
+ <div id="method-M000005" class="method-detail">
139
+ <a name="M000005"></a>
140
+
141
+ <div class="method-heading">
142
+ <a href="Object.src/M000005.html" target="Code" class="method-signature"
143
+ onclick="popupCode('Object.src/M000005.html');return false;">
144
+ <span class="method-name">optional_require</span><span class="method-args">(feature)</span>
145
+ </a>
146
+ </div>
147
+
148
+ <div class="method-description">
149
+ <p>
150
+ Optionally require a library - don&#8216;t fail if it&#8216;s missing.
151
+ </p>
152
+ </div>
153
+ </div>
154
+
155
+ <div id="method-M000003" class="method-detail">
156
+ <a name="M000003"></a>
157
+
158
+ <div class="method-heading">
159
+ <a href="Object.src/M000003.html" target="Code" class="method-signature"
160
+ onclick="popupCode('Object.src/M000003.html');return false;">
161
+ <span class="method-name">raise_no_conversion</span><span class="method-args">(src,dest=self)</span>
162
+ </a>
163
+ </div>
164
+
165
+ <div class="method-description">
166
+ <p>
167
+ Raises an TypeError with a human-readable message when the instance src
168
+ cannot be converted to an instance of type dest.
169
+ </p>
170
+ </div>
171
+ </div>
172
+
173
+
174
+ </div>
175
+
176
+
177
+ </div>
178
+
179
+
180
+ <div id="validator-badges">
181
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
182
+ </div>
183
+
184
+ </body>
185
185
  </html>
@@ -1,19 +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>raise_no_conversion (Object)</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/eymiha.rb, line 22</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">raise_no_conversion</span>(<span class="ruby-identifier">src</span>,<span class="ruby-identifier">dest</span>=<span class="ruby-keyword kw">self</span>)
15
- <span class="ruby-identifier">dest</span> = <span class="ruby-identifier">dest</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">dest</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">String</span>
16
- <span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-node">&quot;Cannot convert '#{src.class.name}' to #{dest}&quot;</span>
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
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>raise_no_conversion (Object)</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/eymiha.rb, line 13</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">raise_no_conversion</span>(<span class="ruby-identifier">src</span>,<span class="ruby-identifier">dest</span>=<span class="ruby-keyword kw">self</span>)
15
+ <span class="ruby-identifier">dest</span> = <span class="ruby-identifier">dest</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">dest</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">String</span>
16
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-node">&quot;Cannot convert '#{src.class.name}' to #{dest}&quot;</span>
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
19
  </html>
@@ -1,18 +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>self_name (Object)</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/eymiha.rb, line 28</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">self_name</span>
15
- (<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">Class</span>) <span class="ruby-operator">?</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
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>class_name (Object)</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/eymiha.rb, line 19</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_name</span>
15
+ (<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">Class</span>) <span class="ruby-operator">?</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
18
  </html>
@@ -1,21 +1,21 @@
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>optional_require (Object)</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/eymiha.rb, line 33</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">optional_require</span> <span class="ruby-identifier">feature</span>
15
- <span class="ruby-keyword kw">begin</span>
16
- <span class="ruby-identifier">require</span> <span class="ruby-identifier">feature</span>
17
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">LoadError</span>
18
- <span class="ruby-keyword kw">end</span>
19
- <span class="ruby-keyword kw">end</span></pre>
20
- </body>
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>optional_require (Object)</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/eymiha.rb, line 24</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">optional_require</span> <span class="ruby-identifier">feature</span>
15
+ <span class="ruby-keyword kw">begin</span>
16
+ <span class="ruby-identifier">require</span> <span class="ruby-identifier">feature</span>
17
+ <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">LoadError</span>
18
+ <span class="ruby-keyword kw">end</span>
19
+ <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
21
  </html>
data/html/created.rid CHANGED
@@ -1 +1 @@
1
- Mon, 28 Apr 2008 06:03:41 -0400
1
+ Thu, 08 May 2008 08:25:08 -0400