eymiha_units 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. data/gem_package.rb +1 -2
  2. data/lib/eymiha_units.rb +3 -0
  3. data/test/tc_uses_2.rb +5 -5
  4. metadata +71 -170
  5. data/html/classes/Eymiha.html +0 -143
  6. data/html/classes/Eymiha/AmbiguousUnitsException.html +0 -119
  7. data/html/classes/Eymiha/MissingUnitsException.html +0 -119
  8. data/html/classes/Eymiha/NumericWithUnits.html +0 -867
  9. data/html/classes/Eymiha/NumericWithUnits.src/M000021.html +0 -18
  10. data/html/classes/Eymiha/NumericWithUnits.src/M000022.html +0 -18
  11. data/html/classes/Eymiha/NumericWithUnits.src/M000023.html +0 -18
  12. data/html/classes/Eymiha/NumericWithUnits.src/M000024.html +0 -30
  13. data/html/classes/Eymiha/NumericWithUnits.src/M000025.html +0 -30
  14. data/html/classes/Eymiha/NumericWithUnits.src/M000027.html +0 -18
  15. data/html/classes/Eymiha/NumericWithUnits.src/M000028.html +0 -20
  16. data/html/classes/Eymiha/NumericWithUnits.src/M000029.html +0 -32
  17. data/html/classes/Eymiha/NumericWithUnits.src/M000030.html +0 -18
  18. data/html/classes/Eymiha/NumericWithUnits.src/M000031.html +0 -30
  19. data/html/classes/Eymiha/NumericWithUnits.src/M000032.html +0 -30
  20. data/html/classes/Eymiha/NumericWithUnits.src/M000033.html +0 -22
  21. data/html/classes/Eymiha/NumericWithUnits.src/M000034.html +0 -22
  22. data/html/classes/Eymiha/NumericWithUnits.src/M000035.html +0 -32
  23. data/html/classes/Eymiha/NumericWithUnits.src/M000036.html +0 -32
  24. data/html/classes/Eymiha/NumericWithUnits.src/M000037.html +0 -18
  25. data/html/classes/Eymiha/NumericWithUnits.src/M000038.html +0 -18
  26. data/html/classes/Eymiha/NumericWithUnits.src/M000039.html +0 -24
  27. data/html/classes/Eymiha/NumericWithUnits.src/M000040.html +0 -26
  28. data/html/classes/Eymiha/NumericWithUnits.src/M000041.html +0 -18
  29. data/html/classes/Eymiha/NumericWithUnits.src/M000042.html +0 -18
  30. data/html/classes/Eymiha/NumericWithUnits.src/M000043.html +0 -18
  31. data/html/classes/Eymiha/NumericWithUnits.src/M000044.html +0 -20
  32. data/html/classes/Eymiha/NumericWithUnits.src/M000045.html +0 -18
  33. data/html/classes/Eymiha/NumericWithUnits.src/M000046.html +0 -25
  34. data/html/classes/Eymiha/NumericWithUnits.src/M000047.html +0 -18
  35. data/html/classes/Eymiha/NumericWithUnits.src/M000048.html +0 -19
  36. data/html/classes/Eymiha/Units.html +0 -378
  37. data/html/classes/Eymiha/Units.src/M000052.html +0 -18
  38. data/html/classes/Eymiha/Units.src/M000053.html +0 -18
  39. data/html/classes/Eymiha/Units.src/M000054.html +0 -20
  40. data/html/classes/Eymiha/Units.src/M000055.html +0 -30
  41. data/html/classes/Eymiha/Units.src/M000056.html +0 -33
  42. data/html/classes/Eymiha/Units.src/M000057.html +0 -18
  43. data/html/classes/Eymiha/Units.src/M000058.html +0 -21
  44. data/html/classes/Eymiha/Units.src/M000059.html +0 -18
  45. data/html/classes/Eymiha/Units.src/M000060.html +0 -18
  46. data/html/classes/Eymiha/Units.src/M000061.html +0 -18
  47. data/html/classes/Eymiha/Units.src/M000062.html +0 -18
  48. data/html/classes/Eymiha/Units.src/M000063.html +0 -18
  49. data/html/classes/Eymiha/Units.src/M000064.html +0 -28
  50. data/html/classes/Eymiha/UnitsException.html +0 -119
  51. data/html/classes/Eymiha/UnitsHash.html +0 -351
  52. data/html/classes/Eymiha/UnitsHash.src/M000002.html +0 -18
  53. data/html/classes/Eymiha/UnitsHash.src/M000003.html +0 -26
  54. data/html/classes/Eymiha/UnitsHash.src/M000004.html +0 -25
  55. data/html/classes/Eymiha/UnitsHash.src/M000005.html +0 -18
  56. data/html/classes/Eymiha/UnitsHash.src/M000006.html +0 -18
  57. data/html/classes/Eymiha/UnitsHash.src/M000007.html +0 -18
  58. data/html/classes/Eymiha/UnitsHash.src/M000008.html +0 -22
  59. data/html/classes/Eymiha/UnitsHash.src/M000010.html +0 -21
  60. data/html/classes/Eymiha/UnitsHash.src/M000011.html +0 -19
  61. data/html/classes/Eymiha/UnitsHash.src/M000012.html +0 -27
  62. data/html/classes/Eymiha/UnitsHash.src/M000013.html +0 -18
  63. data/html/classes/Eymiha/UnitsMeasure.html +0 -302
  64. data/html/classes/Eymiha/UnitsMeasure.src/M000014.html +0 -23
  65. data/html/classes/Eymiha/UnitsMeasure.src/M000015.html +0 -18
  66. data/html/classes/Eymiha/UnitsMeasure.src/M000016.html +0 -18
  67. data/html/classes/Eymiha/UnitsMeasure.src/M000017.html +0 -18
  68. data/html/classes/Eymiha/UnitsMeasure.src/M000018.html +0 -18
  69. data/html/classes/Eymiha/UnitsMeasure.src/M000019.html +0 -18
  70. data/html/classes/Eymiha/UnitsMeasure.src/M000020.html +0 -18
  71. data/html/classes/Eymiha/UnitsSystem.html +0 -196
  72. data/html/classes/Eymiha/UnitsSystem.src/M000050.html +0 -31
  73. data/html/classes/Eymiha/UnitsSystem.src/M000051.html +0 -18
  74. data/html/classes/Eymiha/UnitsUnit.html +0 -166
  75. data/html/classes/Eymiha/UnitsUnit.src/M000049.html +0 -18
  76. data/html/classes/Numeric.html +0 -182
  77. data/html/classes/Numeric.src/M000001.html +0 -50
  78. data/html/created.rid +0 -1
  79. data/html/files/lib/eymiha/units/definitions/area_rb.html +0 -101
  80. data/html/files/lib/eymiha/units/definitions/length_rb.html +0 -101
  81. data/html/files/lib/eymiha/units/definitions/mass_rb.html +0 -101
  82. data/html/files/lib/eymiha/units/definitions/measures_rb.html +0 -113
  83. data/html/files/lib/eymiha/units/definitions/time_rb.html +0 -101
  84. data/html/files/lib/eymiha/units/definitions/velocity_rb.html +0 -101
  85. data/html/files/lib/eymiha/units/definitions/volume_rb.html +0 -101
  86. data/html/files/lib/eymiha/units/numeric_rb.html +0 -116
  87. data/html/files/lib/eymiha/units/numeric_with_units_rb.html +0 -109
  88. data/html/files/lib/eymiha/units/object_rb.html +0 -108
  89. data/html/files/lib/eymiha/units/units_exception_rb.html +0 -101
  90. data/html/files/lib/eymiha/units/units_hash_rb.html +0 -108
  91. data/html/files/lib/eymiha/units/units_measure_rb.html +0 -109
  92. data/html/files/lib/eymiha/units/units_rb.html +0 -115
  93. data/html/files/lib/eymiha/units/units_system_rb.html +0 -109
  94. data/html/files/lib/eymiha/units/units_unit_rb.html +0 -109
  95. data/html/files/lib/eymiha/units_rb.html +0 -115
  96. data/html/fr_class_index.html +0 -37
  97. data/html/fr_file_index.html +0 -43
  98. data/html/fr_method_index.html +0 -90
  99. data/html/index.html +0 -24
  100. data/html/rdoc-style.css +0 -208
@@ -1,18 +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>
7
- <head>
8
- <title>units_measure (Eymiha::UnitsUnit)</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/units/units_unit.rb, line 57</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">units_measure</span>
15
- <span class="ruby-identifier">units_system</span>.<span class="ruby-identifier">units_measure</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,182 +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: Numeric</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">Numeric</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/eymiha/units/numeric_rb.html">
59
- lib/eymiha/units/numeric.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
- Numerics are extended to allow them to be united with units.
84
- </p>
85
- <p>
86
- Part of this extension is in the added dynamism of the class. During unit
87
- definition, if an unencountered unit is referenced, the use is held until
88
- more information is loaded into the system and the unknown unit has been
89
- resolved. During use, unencountered units are raised.
90
- </p>
91
-
92
- </div>
93
-
94
-
95
- </div>
96
-
97
- <div id="method-list">
98
- <h3 class="section-bar">Methods</h3>
99
-
100
- <div class="name-list">
101
- <a href="#M000001">unite</a>&nbsp;&nbsp;
102
- </div>
103
- </div>
104
-
105
- </div>
106
-
107
-
108
- <!-- if includes -->
109
-
110
- <div id="section">
111
-
112
-
113
-
114
- <div id="aliases-list">
115
- <h3 class="section-bar">External Aliases</h3>
116
-
117
- <div class="name-list">
118
- <table summary="aliases">
119
- <tr class="top-aligned-row context-row">
120
- <td class="context-item-name">method_missing</td>
121
- <td>-&gt;</td>
122
- <td class="context-item-value">method_missing_before_units</td>
123
- </tr>
124
- </table>
125
- </div>
126
- </div>
127
-
128
-
129
-
130
-
131
-
132
- <!-- if method_list -->
133
- <div id="methods">
134
- <h3 class="section-bar">Public Instance methods</h3>
135
-
136
- <div id="method-M000001" class="method-detail">
137
- <a name="M000001"></a>
138
-
139
- <div class="method-heading">
140
- <a href="Numeric.src/M000001.html" target="Code" class="method-signature"
141
- onclick="popupCode('Numeric.src/M000001.html');return false;">
142
- <span class="method-name">unite</span><span class="method-args">(unit=nil,power=1,measure=nil)</span>
143
- </a>
144
- </div>
145
-
146
- <div class="method-description">
147
- <p>
148
- Returns a NumericWithUnits whose numeric value is the value of the
149
- instance, and whose unit is determined from the provided unit and power in
150
- the context of a given measure:
151
- </p>
152
- <ul>
153
- <li>as a String or Symbol equal to the singular, plural or abbreviated name of
154
- a unit,
155
-
156
- </li>
157
- <li>as a UnitsHash,
158
-
159
- </li>
160
- <li>as the unit part of a NumericWithUnits,
161
-
162
- </li>
163
- <li>as an Array of any of the above.
164
-
165
- </li>
166
- </ul>
167
- </div>
168
- </div>
169
-
170
-
171
- </div>
172
-
173
-
174
- </div>
175
-
176
-
177
- <div id="validator-badges">
178
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
179
- </div>
180
-
181
- </body>
182
- </html>
@@ -1,50 +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>
7
- <head>
8
- <title>unite (Numeric)</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/units/numeric.rb, line 53</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unite</span>(<span class="ruby-identifier">unit</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">power</span>=<span class="ruby-value">1</span>,<span class="ruby-identifier">measure</span>=<span class="ruby-keyword kw">nil</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">unit</span>
16
- <span class="ruby-keyword kw">self</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">unit</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Array</span>)
19
- <span class="ruby-identifier">units</span> = <span class="ruby-constant">UnitsHash</span>.<span class="ruby-identifier">new</span>
20
- <span class="ruby-identifier">unit</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">u</span><span class="ruby-operator">|</span> <span class="ruby-identifier">units</span>.<span class="ruby-identifier">merge!</span> <span class="ruby-value">1</span>.<span class="ruby-identifier">unite</span>(<span class="ruby-identifier">u</span>)}
21
- <span class="ruby-identifier">unit</span> = <span class="ruby-identifier">units</span>
22
- <span class="ruby-keyword kw">elsif</span> (<span class="ruby-identifier">unit</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">String</span>)<span class="ruby-operator">||</span>(<span class="ruby-identifier">unit</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Symbol</span>)
23
- <span class="ruby-identifier">s</span> = <span class="ruby-identifier">unit</span>.<span class="ruby-identifier">to_s</span>
24
- <span class="ruby-identifier">as</span> = <span class="ruby-identifier">s</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">'_and_'</span>)
25
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">as</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
26
- <span class="ruby-identifier">units</span> = <span class="ruby-constant">Units</span>.<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">as</span>[<span class="ruby-value">0</span>])
27
- <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">units</span>.<span class="ruby-identifier">size</span>
28
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">unit</span> = <span class="ruby-identifier">units</span>[<span class="ruby-value">0</span>]
29
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span>
30
- <span class="ruby-identifier">as</span> = <span class="ruby-identifier">as</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">split</span>(<span class="ruby-value str">'_'</span>)
31
- <span class="ruby-identifier">units_problem</span>(<span class="ruby-value str">&quot;usage&quot;</span>,
32
- <span class="ruby-constant">AmbiguousUnitsException</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">unit</span>),
33
- <span class="ruby-identifier">:unit=</span>,<span class="ruby-identifier">unit</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">as</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
34
- <span class="ruby-identifier">unit</span> = <span class="ruby-identifier">unite</span>(<span class="ruby-identifier">as</span>,<span class="ruby-identifier">power</span>,<span class="ruby-identifier">measure</span>).<span class="ruby-identifier">unit</span>
35
- <span class="ruby-keyword kw">else</span>
36
- <span class="ruby-identifier">units_problem</span>(<span class="ruby-value str">&quot;usage&quot;</span>,
37
- <span class="ruby-constant">AmbiguousUnitsException</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">unit</span>),
38
- <span class="ruby-identifier">:unit=</span>,<span class="ruby-identifier">unit</span>)
39
- <span class="ruby-keyword kw">end</span>
40
- <span class="ruby-keyword kw">else</span>
41
- <span class="ruby-identifier">unit</span> = <span class="ruby-identifier">unite</span>(<span class="ruby-identifier">as</span>,<span class="ruby-identifier">power</span>,<span class="ruby-identifier">measure</span>).<span class="ruby-identifier">unit</span>
42
- <span class="ruby-keyword kw">end</span>
43
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">unit</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">NumericWithUnits</span>
44
- <span class="ruby-identifier">unit</span> = <span class="ruby-identifier">unit</span>.<span class="ruby-identifier">unit</span>
45
- <span class="ruby-keyword kw">end</span>
46
- <span class="ruby-constant">NumericWithUnits</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>,<span class="ruby-identifier">unit</span>,<span class="ruby-identifier">power</span>)
47
- <span class="ruby-keyword kw">end</span>
48
- <span class="ruby-keyword kw">end</span></pre>
49
- </body>
50
- </html>
@@ -1 +0,0 @@
1
- Thu, 08 May 2008 08:22:22 -0400
@@ -1,101 +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>File: area.rb</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="fileHeader">
50
- <h1>area.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/eymiha/units/definitions/area.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Sat Mar 22 09:45:12 -0400 2008</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
-
73
- </div>
74
-
75
-
76
- </div>
77
-
78
-
79
- <!-- if includes -->
80
-
81
- <div id="section">
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
- <!-- if method_list -->
91
-
92
-
93
- </div>
94
-
95
-
96
- <div id="validator-badges">
97
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
- </div>
99
-
100
- </body>
101
- </html>
@@ -1,101 +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>File: length.rb</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="fileHeader">
50
- <h1>length.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/eymiha/units/definitions/length.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Sat Mar 22 09:45:12 -0400 2008</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
-
73
- </div>
74
-
75
-
76
- </div>
77
-
78
-
79
- <!-- if includes -->
80
-
81
- <div id="section">
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
- <!-- if method_list -->
91
-
92
-
93
- </div>
94
-
95
-
96
- <div id="validator-badges">
97
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
- </div>
99
-
100
- </body>
101
- </html>