quantitymanager 0.2.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Array.html +12 -12
- data/doc/classes/Array.src/M000042.html +23 -0
- data/doc/classes/Array.src/M000043.html +19 -0
- data/doc/classes/CalculatorTest.html +72 -72
- data/doc/classes/CalculatorTest.src/M000024.html +18 -10
- data/doc/classes/CalculatorTest.src/M000025.html +11 -17
- data/doc/classes/CalculatorTest.src/M000026.html +11 -13
- data/doc/classes/CalculatorTest.src/M000027.html +19 -13
- data/doc/classes/CalculatorTest.src/M000028.html +12 -11
- data/doc/classes/CalculatorTest.src/M000029.html +12 -9
- data/doc/classes/CalculatorTest.src/M000030.html +10 -10
- data/doc/classes/CalculatorTest.src/M000031.html +9 -15
- data/doc/classes/CalculatorTest.src/M000032.html +11 -8
- data/doc/classes/CalculatorTest.src/M000033.html +15 -7
- data/doc/classes/CalculatorTest.src/M000034.html +8 -17
- data/doc/classes/CalculatorTest.src/M000035.html +9 -6
- data/doc/classes/CalculatorTest.src/M000036.html +32 -0
- data/doc/classes/CalculatorTest.src/M000037.html +20 -0
- data/doc/classes/CompasedUnitTest.html +32 -2
- data/doc/classes/CompasedUnitTest.src/M000001.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000002.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000003.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000004.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000005.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000006.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000007.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000008.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000009.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000010.html +1 -1
- data/doc/classes/CompasedUnitTest.src/M000011.html +18 -0
- data/doc/classes/CompasedUnitTest.src/M000012.html +32 -0
- data/doc/classes/Configuration.html +22 -22
- data/doc/classes/Configuration.src/M000044.html +5 -4
- data/doc/classes/Configuration.src/M000045.html +4 -10
- data/doc/classes/Configuration.src/M000046.html +18 -0
- data/doc/classes/Configuration.src/M000047.html +24 -0
- data/doc/classes/ConfigurationTest.html +22 -22
- data/doc/classes/ConfigurationTest.src/M000068.html +16 -9
- data/doc/classes/ConfigurationTest.src/M000069.html +27 -0
- data/doc/classes/ConfigurationTest.src/M000070.html +35 -0
- data/doc/classes/ConfigurationTest.src/M000071.html +24 -0
- data/doc/classes/CustomUnitConversionTest.html +47 -32
- data/doc/classes/CustomUnitConversionTest.src/M000055.html +16 -11
- data/doc/classes/CustomUnitConversionTest.src/M000056.html +9 -10
- data/doc/classes/CustomUnitConversionTest.src/M000057.html +6 -10
- data/doc/classes/CustomUnitConversionTest.src/M000058.html +26 -0
- data/doc/classes/CustomUnitConversionTest.src/M000059.html +26 -0
- data/doc/classes/CustomUnitConversionTest.src/M000060.html +24 -0
- data/doc/classes/CustomUnitConversionTest.src/M000061.html +27 -0
- data/doc/classes/Numeric.html +2 -2
- data/doc/classes/QuantifiableTest.html +22 -22
- data/doc/classes/QuantifiableTest.src/M000038.html +8 -25
- data/doc/classes/QuantifiableTest.src/M000039.html +12 -9
- data/doc/classes/QuantifiableTest.src/M000040.html +41 -0
- data/doc/classes/QuantifiableTest.src/M000041.html +31 -0
- data/doc/classes/Quantity/CalculationSupport.html +168 -0
- data/doc/classes/Quantity/CalculationSupport.src/M000075.html +22 -0
- data/doc/classes/Quantity/CalculationSupport.src/M000076.html +21 -0
- data/doc/classes/Quantity/CalculationSupport.src/M000077.html +18 -0
- data/doc/classes/Quantity/Calculator.html +32 -32
- data/doc/classes/Quantity/Calculator.src/M000083.html +1 -1
- data/doc/classes/Quantity/Calculator.src/M000084.html +2 -2
- data/doc/classes/Quantity/Calculator.src/M000085.html +1 -1
- data/doc/classes/Quantity/Calculator.src/M000086.html +2 -2
- data/doc/classes/Quantity/Calculator.src/M000087.html +1 -1
- data/doc/classes/Quantity/Calculator.src/M000088.html +2 -3
- data/doc/classes/Quantity/Measurable.html +12 -12
- data/doc/classes/Quantity/Measurable.src/M000073.html +18 -0
- data/doc/classes/Quantity/Measurable.src/M000074.html +18 -0
- data/doc/classes/Quantity/OperationInfo.html +13 -13
- data/doc/classes/Quantity/OperationInfo.src/M000089.html +3 -3
- data/doc/classes/Quantity/OperationInfo.src/M000090.html +1 -1
- data/doc/classes/Quantity/Quantifiable.html +7 -7
- data/doc/classes/Quantity/Quantifiable.src/M000072.html +18 -0
- data/doc/classes/Quantity/Quantity.html +18 -18
- data/doc/classes/Quantity/Quantity.src/M000078.html +1 -1
- data/doc/classes/Quantity/Quantity.src/M000079.html +1 -1
- data/doc/classes/Quantity/Quantity.src/M000080.html +1 -1
- data/doc/classes/Quantity/QuantityInfo.html +13 -13
- data/doc/classes/Quantity/QuantityInfo.src/M000081.html +1 -1
- data/doc/classes/Quantity/QuantityInfo.src/M000082.html +1 -1
- data/doc/classes/Quantity.html +5 -5
- data/doc/classes/QuantityTest.html +44 -29
- data/doc/classes/QuantityTest.src/M000048.html +18 -13
- data/doc/classes/QuantityTest.src/M000049.html +17 -4
- data/doc/classes/QuantityTest.src/M000050.html +12 -7
- data/doc/classes/QuantityTest.src/M000051.html +6 -6
- data/doc/classes/QuantityTest.src/M000052.html +22 -0
- data/doc/classes/QuantityTest.src/M000053.html +20 -0
- data/doc/classes/QuantityTest.src/M000054.html +27 -0
- data/doc/classes/SimpleUnitTest.html +29 -44
- data/doc/classes/SimpleUnitTest.src/M000062.html +9 -11
- data/doc/classes/SimpleUnitTest.src/M000063.html +12 -8
- data/doc/classes/SimpleUnitTest.src/M000064.html +7 -4
- data/doc/classes/SimpleUnitTest.src/M000065.html +20 -0
- data/doc/classes/SimpleUnitTest.src/M000066.html +26 -0
- data/doc/classes/SimpleUnitTest.src/M000067.html +21 -0
- data/doc/classes/SpecParserTest.html +17 -17
- data/doc/classes/SpecParserTest.src/M000021.html +10 -16
- data/doc/classes/SpecParserTest.src/M000022.html +28 -0
- data/doc/classes/SpecParserTest.src/M000023.html +31 -0
- data/doc/classes/Unit/BaseUnit.html +148 -0
- data/doc/classes/Unit/BaseUnit.src/M000108.html +18 -0
- data/doc/classes/Unit/Comparable.html +12 -12
- data/doc/classes/Unit/Comparable.src/M000092.html +1 -1
- data/doc/classes/Unit/Comparable.src/M000093.html +1 -1
- data/doc/classes/Unit/ComposedUnit.html +61 -55
- data/doc/classes/Unit/ComposedUnit.src/M000109.html +7 -10
- data/doc/classes/Unit/ComposedUnit.src/M000110.html +4 -8
- data/doc/classes/Unit/ComposedUnit.src/M000111.html +4 -15
- data/doc/classes/Unit/ComposedUnit.src/M000112.html +6 -10
- data/doc/classes/Unit/ComposedUnit.src/M000113.html +4 -11
- data/doc/classes/Unit/ComposedUnit.src/M000114.html +4 -4
- data/doc/classes/Unit/ComposedUnit.src/M000115.html +22 -0
- data/doc/classes/Unit/ComposedUnit.src/M000116.html +25 -0
- data/doc/classes/Unit/ComposedUnit.src/M000117.html +18 -0
- data/doc/classes/Unit/Optimizer.html +12 -12
- data/doc/classes/Unit/Optimizer.src/M000106.html +30 -4
- data/doc/classes/Unit/Optimizer.src/M000107.html +18 -0
- data/doc/classes/Unit/Parser.html +17 -17
- data/doc/classes/Unit/Parser.src/M000103.html +4 -11
- data/doc/classes/Unit/Parser.src/M000104.html +11 -5
- data/doc/classes/Unit/Parser.src/M000105.html +19 -0
- data/doc/classes/Unit/SimpleUnit.html +57 -51
- data/doc/classes/Unit/SimpleUnit.src/M000094.html +2 -2
- data/doc/classes/Unit/SimpleUnit.src/M000095.html +1 -1
- data/doc/classes/Unit/SimpleUnit.src/M000096.html +1 -1
- data/doc/classes/Unit/SimpleUnit.src/M000097.html +4 -6
- data/doc/classes/Unit/SimpleUnit.src/M000098.html +4 -4
- data/doc/classes/Unit/SimpleUnit.src/M000099.html +4 -7
- data/doc/classes/Unit/SimpleUnit.src/M000100.html +7 -4
- data/doc/classes/Unit/SimpleUnit.src/M000101.html +18 -0
- data/doc/classes/Unit/SymbolConverter.html +7 -7
- data/doc/classes/Unit/SymbolConverter.src/M000091.html +1 -1
- data/doc/classes/Unit/TestCase.html +5 -11
- data/doc/classes/Unit/TestCase.src/M000102.html +24 -0
- data/doc/classes/Unit.html +6 -4
- data/doc/classes/UnitOptemizerTest.html +45 -42
- data/doc/classes/UnitOptemizerTest.src/M000013.html +16 -12
- data/doc/classes/UnitOptemizerTest.src/M000014.html +6 -8
- data/doc/classes/UnitOptemizerTest.src/M000015.html +9 -9
- data/doc/classes/UnitOptemizerTest.src/M000016.html +6 -5
- data/doc/classes/UnitOptemizerTest.src/M000017.html +9 -5
- data/doc/classes/UnitOptemizerTest.src/M000018.html +12 -8
- data/doc/classes/UnitOptemizerTest.src/M000019.html +23 -0
- data/doc/classes/UnitOptemizerTest.src/M000020.html +22 -0
- data/doc/created.rid +1 -1
- data/doc/files/lib/config/default_configuration_rb.html +108 -0
- data/doc/files/lib/quantity_rb.html +113 -0
- data/doc/files/lib/unitmanager/calculator_rb.html +101 -0
- data/doc/files/lib/unitmanager/configuration_rb.html +101 -0
- data/doc/files/lib/unitmanager/quantity_rb.html +101 -0
- data/doc/files/lib/unitmanager/simple_unit_rb.html +109 -0
- data/doc/files/lib/unitmanager/unit_composition_rb.html +101 -0
- data/doc/files/test/all_tests_rb.html +1 -8
- data/doc/files/test/calculator_test_rb.html +109 -0
- data/doc/files/test/composed_unit_test_rb.html +101 -0
- data/doc/files/test/configuration_test_rb.html +109 -0
- data/doc/files/test/custom_conversion_test_rb.html +109 -0
- data/doc/files/test/quantifiable_test_rb.html +101 -0
- data/doc/files/test/quantity_test_rb.html +101 -0
- data/doc/files/test/simple_unit_test_rb.html +101 -0
- data/doc/files/test/test_helper_rb.html +1 -2
- data/doc/files/test/unit_optimizer_test_rb.html +101 -0
- data/doc/files/test/unit_spec_parser_test_rb.html +101 -0
- data/doc/fr_class_index.html +13 -1
- data/doc/fr_file_index.html +18 -7
- data/doc/fr_method_index.html +117 -51
- data/doc/index.html +1 -1
- data/lib/unitmanager/calculator.rb +4 -5
- data/lib/unitmanager/quantity.rb +30 -39
- data/lib/unitmanager/simple_unit.rb +5 -5
- data/test/quantity_test.rb +13 -0
- metadata +69 -3
@@ -0,0 +1,109 @@
|
|
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: calculator_test.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>calculator_test.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>test/calculator_test.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Apr 14 21:49:58 CDT 2006</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
|
+
<div id="includes">
|
81
|
+
<h3 class="section-bar">Included Modules</h3>
|
82
|
+
|
83
|
+
<div id="includes-list">
|
84
|
+
<span class="include-name"><a href="../../classes/Unit.html">Unit</a></span>
|
85
|
+
<span class="include-name"><a href="../../classes/Quantity.html">Quantity</a></span>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<div id="section">
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<!-- if method_list -->
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
|
104
|
+
<div id="validator-badges">
|
105
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</body>
|
109
|
+
</html>
|
@@ -0,0 +1,101 @@
|
|
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: composed_unit_test.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>composed_unit_test.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>test/composed_unit_test.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Apr 14 21:50:32 CDT 2006</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>
|
@@ -0,0 +1,109 @@
|
|
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: configuration_test.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>configuration_test.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>test/configuration_test.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Apr 14 21:50:37 CDT 2006</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
|
+
<div id="includes">
|
81
|
+
<h3 class="section-bar">Included Modules</h3>
|
82
|
+
|
83
|
+
<div id="includes-list">
|
84
|
+
<span class="include-name"><a href="../../classes/Unit.html">Unit</a></span>
|
85
|
+
<span class="include-name"><a href="../../classes/Quantity.html">Quantity</a></span>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<div id="section">
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<!-- if method_list -->
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
|
104
|
+
<div id="validator-badges">
|
105
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</body>
|
109
|
+
</html>
|
@@ -0,0 +1,109 @@
|
|
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: custom_conversion_test.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>custom_conversion_test.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>test/custom_conversion_test.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Apr 14 21:50:42 CDT 2006</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
|
+
<div id="includes">
|
81
|
+
<h3 class="section-bar">Included Modules</h3>
|
82
|
+
|
83
|
+
<div id="includes-list">
|
84
|
+
<span class="include-name"><a href="../../classes/Unit.html">Unit</a></span>
|
85
|
+
<span class="include-name"><a href="../../classes/Quantity.html">Quantity</a></span>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<div id="section">
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<!-- if method_list -->
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
|
104
|
+
<div id="validator-badges">
|
105
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</body>
|
109
|
+
</html>
|
@@ -0,0 +1,101 @@
|
|
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: quantifiable_test.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>quantifiable_test.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>test/quantifiable_test.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Apr 14 21:50:47 CDT 2006</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>
|
@@ -0,0 +1,101 @@
|
|
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: quantity_test.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>quantity_test.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>test/quantity_test.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Thu Apr 27 23:40:44 CDT 2006</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>
|