rresume 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/RRESUME_VERSION.rb +1 -1
- data/lib/doc/classes/Duration.html +146 -0
- data/lib/doc/classes/Duration.src/M000032.html +26 -0
- data/lib/doc/classes/Duration.src/M000033.html +18 -0
- data/lib/doc/classes/Duration.src/M000043.html +26 -0
- data/lib/doc/classes/Duration.src/M000044.html +18 -0
- data/lib/doc/classes/Duration.src/M000045.html +18 -0
- data/lib/doc/classes/Duration.src/M000053.html +26 -0
- data/lib/doc/classes/Duration.src/M000054.html +18 -0
- data/lib/doc/classes/OutputPersonal.html +131 -0
- data/lib/doc/classes/OutputPersonal.src/M000031.html +18 -0
- data/lib/doc/classes/OutputPersonal.src/M000042.html +18 -0
- data/lib/doc/classes/OutputPersonal.src/M000043.html +18 -0
- data/lib/doc/classes/OutputPersonal.src/M000052.html +18 -0
- data/lib/doc/classes/Person.html +266 -0
- data/lib/doc/classes/Person.src/M000007.html +29 -0
- data/lib/doc/classes/Person.src/M000008.html +22 -0
- data/lib/doc/classes/Person.src/M000009.html +51 -0
- data/lib/doc/classes/Person.src/M000010.html +25 -0
- data/lib/doc/classes/Person.src/M000011.html +18 -0
- data/lib/doc/classes/Person.src/M000012.html +25 -0
- data/lib/doc/classes/Person.src/M000013.html +41 -0
- data/lib/doc/classes/Person.src/M000014.html +64 -0
- data/lib/doc/classes/Person.src/M000015.html +44 -0
- data/lib/doc/classes/Person.src/M000016.html +37 -0
- data/lib/doc/classes/Person.src/M000017.html +39 -0
- data/lib/doc/classes/Person.src/M000018.html +57 -0
- data/lib/doc/classes/Person.src/M000019.html +49 -0
- data/lib/doc/classes/Project.html +327 -0
- data/lib/doc/classes/Project.src/M000020.html +21 -0
- data/lib/doc/classes/Project.src/M000021.html +22 -0
- data/lib/doc/classes/Project.src/M000022.html +48 -0
- data/lib/doc/classes/Project.src/M000023.html +18 -0
- data/lib/doc/classes/Project.src/M000024.html +19 -0
- data/lib/doc/classes/Project.src/M000025.html +19 -0
- data/lib/doc/classes/Project.src/M000026.html +21 -0
- data/lib/doc/classes/Project.src/M000027.html +18 -0
- data/lib/doc/classes/Project.src/M000028.html +22 -0
- data/lib/doc/classes/Project.src/M000029.html +18 -0
- data/lib/doc/classes/Project.src/M000030.html +30 -0
- data/lib/doc/classes/Project.src/M000031.html +22 -0
- data/lib/doc/classes/Project.src/M000032.html +48 -0
- data/lib/doc/classes/Project.src/M000033.html +18 -0
- data/lib/doc/classes/Project.src/M000034.html +19 -0
- data/lib/doc/classes/Project.src/M000035.html +19 -0
- data/lib/doc/classes/Project.src/M000036.html +21 -0
- data/lib/doc/classes/Project.src/M000037.html +18 -0
- data/lib/doc/classes/Project.src/M000038.html +22 -0
- data/lib/doc/classes/Project.src/M000039.html +18 -0
- data/lib/doc/classes/Project.src/M000040.html +18 -0
- data/lib/doc/classes/Project.src/M000041.html +22 -0
- data/lib/doc/classes/Project.src/M000042.html +48 -0
- data/lib/doc/classes/Project.src/M000043.html +18 -0
- data/lib/doc/classes/Project.src/M000044.html +19 -0
- data/lib/doc/classes/Project.src/M000045.html +19 -0
- data/lib/doc/classes/Project.src/M000046.html +21 -0
- data/lib/doc/classes/Project.src/M000047.html +18 -0
- data/lib/doc/classes/Project.src/M000048.html +22 -0
- data/lib/doc/classes/Project.src/M000049.html +18 -0
- data/lib/doc/classes/ProjectList.html +280 -0
- data/lib/doc/classes/ProjectList.src/M000010.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000011.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000012.html +41 -0
- data/lib/doc/classes/ProjectList.src/M000013.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000014.html +20 -0
- data/lib/doc/classes/ProjectList.src/M000015.html +42 -0
- data/lib/doc/classes/ProjectList.src/M000016.html +38 -0
- data/lib/doc/classes/ProjectList.src/M000017.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000018.html +33 -0
- data/lib/doc/classes/ProjectList.src/M000019.html +30 -0
- data/lib/doc/classes/ProjectList.src/M000020.html +19 -0
- data/lib/doc/classes/ProjectList.src/M000021.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000022.html +20 -0
- data/lib/doc/classes/ProjectList.src/M000023.html +41 -0
- data/lib/doc/classes/ProjectList.src/M000024.html +41 -0
- data/lib/doc/classes/ProjectList.src/M000025.html +37 -0
- data/lib/doc/classes/ProjectList.src/M000026.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000027.html +33 -0
- data/lib/doc/classes/ProjectList.src/M000028.html +30 -0
- data/lib/doc/classes/ProjectList.src/M000029.html +30 -0
- data/lib/doc/classes/ProjectList.src/M000030.html +19 -0
- data/lib/doc/classes/ProjectList.src/M000031.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000032.html +20 -0
- data/lib/doc/classes/ProjectList.src/M000033.html +41 -0
- data/lib/doc/classes/ProjectList.src/M000034.html +41 -0
- data/lib/doc/classes/ProjectList.src/M000035.html +37 -0
- data/lib/doc/classes/ProjectList.src/M000036.html +18 -0
- data/lib/doc/classes/ProjectList.src/M000037.html +33 -0
- data/lib/doc/classes/ProjectList.src/M000038.html +30 -0
- data/lib/doc/classes/String.html +144 -0
- data/lib/doc/classes/String.src/M000030.html +27 -0
- data/lib/doc/classes/String.src/M000040.html +27 -0
- data/lib/doc/classes/String.src/M000041.html +27 -0
- data/lib/doc/classes/String.src/M000042.html +27 -0
- data/lib/doc/classes/String.src/M000050.html +27 -0
- data/lib/doc/classes/String.src/M000051.html +27 -0
- data/lib/doc/classes/Tool.html +222 -0
- data/lib/doc/classes/Tool.src/M000002.html +20 -0
- data/lib/doc/classes/Tool.src/M000003.html +18 -0
- data/lib/doc/classes/Tool.src/M000004.html +18 -0
- data/lib/doc/classes/Tool.src/M000005.html +19 -0
- data/lib/doc/classes/Tool.src/M000006.html +21 -0
- data/lib/doc/created.rid +1 -0
- data/lib/doc/files/RRESUME_VERSION_rb.html +114 -0
- data/lib/doc/files/pdf-test2_rb.html +110 -0
- data/lib/doc/files/pdf-test_rb.html +114 -0
- data/lib/doc/files/rresume/duration_rb.html +101 -0
- data/lib/doc/files/rresume/output_rb.html +101 -0
- data/lib/doc/files/rresume/person_rb.html +110 -0
- data/lib/doc/files/rresume/project_rb.html +110 -0
- data/lib/doc/files/rresume/projectlist_rb.html +108 -0
- data/lib/doc/files/rresume/sav_output_rb.html +136 -0
- data/lib/doc/files/rresume/sav_output_rb.src/M000001.html +41 -0
- data/lib/doc/files/rresume/sav_projectlist_rb.html +107 -0
- data/lib/doc/files/rresume/tool_rb.html +101 -0
- data/lib/doc/files/rresume_rb.html +113 -0
- data/lib/doc/files/tables_rb.html +101 -0
- data/lib/doc/files/ttt_rb.html +115 -0
- data/lib/doc/fr_class_index.html +33 -0
- data/lib/doc/fr_file_index.html +39 -0
- data/lib/doc/fr_method_index.html +59 -0
- data/lib/doc/index.html +24 -0
- data/lib/rresume.rb +1 -0
- data/lib/rresume/company.rb +12 -0
- data/lib/rresume/person.rb +281 -428
- data/lib/rresume/project.rb +17 -16
- data/lib/svn-commit.tmp +4 -0
- data/test/example_thomas.rb +39 -7
- data/test/profil.html +35 -28
- data/test/profil_2006-08-25.pdf +923 -0
- data/test/tc_thomas_neue_methode.rb +4 -0
- data/test/thomas.css +4 -0
- data/test/vorlage_profil.html +44 -18
- metadata +139 -6
- data/lib/rresume/sav_projectlist.rb +0 -365
- data/test/beispeil1.rb +0 -13
- data/test/example_sigrid.rb +0 -599
- data/test/profil.pdf +0 -737
data/lib/RRESUME_VERSION.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
RRESUME_VERSION="0.
|
1
|
+
RRESUME_VERSION="0.2.0"
|
@@ -0,0 +1,146 @@
|
|
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>Module: Duration</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>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">Duration</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/rresume/duration_rb.html">
|
59
|
+
rresume/duration.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="method-list">
|
80
|
+
<h3 class="section-bar">Methods</h3>
|
81
|
+
|
82
|
+
<div class="name-list">
|
83
|
+
<a href="#M000032">human_months</a>
|
84
|
+
<a href="#M000033">jahre</a>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
<!-- if includes -->
|
92
|
+
|
93
|
+
<div id="section">
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<!-- if method_list -->
|
103
|
+
<div id="methods">
|
104
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
105
|
+
|
106
|
+
<div id="method-M000032" class="method-detail">
|
107
|
+
<a name="M000032"></a>
|
108
|
+
|
109
|
+
<div class="method-heading">
|
110
|
+
<a href="Duration.src/M000032.html" target="Code" class="method-signature"
|
111
|
+
onclick="popupCode('Duration.src/M000032.html');return false;">
|
112
|
+
<span class="method-name">human_months</span><span class="method-args">(months)</span>
|
113
|
+
</a>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<div class="method-description">
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div id="method-M000033" class="method-detail">
|
121
|
+
<a name="M000033"></a>
|
122
|
+
|
123
|
+
<div class="method-heading">
|
124
|
+
<a href="Duration.src/M000033.html" target="Code" class="method-signature"
|
125
|
+
onclick="popupCode('Duration.src/M000033.html');return false;">
|
126
|
+
<span class="method-name">jahre</span><span class="method-args">(monate)</span>
|
127
|
+
</a>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<div class="method-description">
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
</div>
|
139
|
+
|
140
|
+
|
141
|
+
<div id="validator-badges">
|
142
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
</body>
|
146
|
+
</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>human_months (Duration)</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 rresume/duration.rb, line 3</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">human_months</span>(<span class="ruby-identifier">months</span>)
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">12</span>
|
16
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">""</span>
|
17
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">"e"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">24</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>
|
18
|
+
<span class="ruby-value str">"> "</span><span class="ruby-operator">+</span><span class="ruby-identifier">jahre</span>(<span class="ruby-identifier">months</span>).<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">" Jahr"</span><span class="ruby-operator">+</span><span class="ruby-identifier">mehrzahl</span>
|
19
|
+
<span class="ruby-keyword kw">else</span>
|
20
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">""</span>
|
21
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">"e"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">1</span>
|
22
|
+
<span class="ruby-identifier">months</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">" Monat"</span><span class="ruby-operator">+</span><span class="ruby-identifier">mehrzahl</span>
|
23
|
+
<span class="ruby-keyword kw">end</span>
|
24
|
+
<span class="ruby-keyword kw">end</span></pre>
|
25
|
+
</body>
|
26
|
+
</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>jahre (Duration)</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 rresume/duration.rb, line 15</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">jahre</span>(<span class="ruby-identifier">monate</span>)
|
15
|
+
<span class="ruby-identifier">monate</span><span class="ruby-operator">/</span><span class="ruby-value">12.0</span>.<span class="ruby-identifier">round</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</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>human_months (Duration)</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 rresume/duration.rb, line 3</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">human_months</span>(<span class="ruby-identifier">months</span>)
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">12</span>
|
16
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">""</span>
|
17
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">"e"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">24</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>
|
18
|
+
<span class="ruby-value str">"> "</span><span class="ruby-operator">+</span><span class="ruby-identifier">jahre</span>(<span class="ruby-identifier">months</span>).<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">" Jahr"</span><span class="ruby-operator">+</span><span class="ruby-identifier">mehrzahl</span>
|
19
|
+
<span class="ruby-keyword kw">else</span>
|
20
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">""</span>
|
21
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">"e"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">1</span>
|
22
|
+
<span class="ruby-identifier">months</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">" Monat"</span><span class="ruby-operator">+</span><span class="ruby-identifier">mehrzahl</span>
|
23
|
+
<span class="ruby-keyword kw">end</span>
|
24
|
+
<span class="ruby-keyword kw">end</span></pre>
|
25
|
+
</body>
|
26
|
+
</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>jahre (Duration)</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 rresume/duration.rb, line 15</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">jahre</span>(<span class="ruby-identifier">monate</span>)
|
15
|
+
<span class="ruby-identifier">monate</span><span class="ruby-operator">/</span><span class="ruby-value">12.0</span>.<span class="ruby-identifier">round</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>jahre (Duration)</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 rresume/duration.rb, line 15</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">jahre</span>(<span class="ruby-identifier">monate</span>)
|
15
|
+
<span class="ruby-identifier">monate</span><span class="ruby-operator">/</span><span class="ruby-value">12.0</span>.<span class="ruby-identifier">round</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</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>human_months (Duration)</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 rresume/duration.rb, line 3</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">human_months</span>(<span class="ruby-identifier">months</span>)
|
15
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">12</span>
|
16
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">""</span>
|
17
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">"e"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">24</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>
|
18
|
+
<span class="ruby-value str">"> "</span><span class="ruby-operator">+</span><span class="ruby-identifier">jahre</span>(<span class="ruby-identifier">months</span>).<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">" Jahr"</span><span class="ruby-operator">+</span><span class="ruby-identifier">mehrzahl</span>
|
19
|
+
<span class="ruby-keyword kw">else</span>
|
20
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">""</span>
|
21
|
+
<span class="ruby-identifier">mehrzahl</span>=<span class="ruby-value str">"e"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">months</span> <span class="ruby-operator">></span> <span class="ruby-value">1</span>
|
22
|
+
<span class="ruby-identifier">months</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">" Monat"</span><span class="ruby-operator">+</span><span class="ruby-identifier">mehrzahl</span>
|
23
|
+
<span class="ruby-keyword kw">end</span>
|
24
|
+
<span class="ruby-keyword kw">end</span></pre>
|
25
|
+
</body>
|
26
|
+
</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>jahre (Duration)</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 rresume/duration.rb, line 15</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">jahre</span>(<span class="ruby-identifier">monate</span>)
|
15
|
+
<span class="ruby-identifier">monate</span><span class="ruby-operator">/</span><span class="ruby-value">12.0</span>.<span class="ruby-identifier">round</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,131 @@
|
|
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>Module: OutputPersonal</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>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">OutputPersonal</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/rresume/output_rb.html">
|
59
|
+
rresume/output.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<div id="method-list">
|
80
|
+
<h3 class="section-bar">Methods</h3>
|
81
|
+
|
82
|
+
<div class="name-list">
|
83
|
+
<a href="#M000031">output_personal</a>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
<!-- if includes -->
|
91
|
+
|
92
|
+
<div id="section">
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
<!-- if method_list -->
|
102
|
+
<div id="methods">
|
103
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
104
|
+
|
105
|
+
<div id="method-M000031" class="method-detail">
|
106
|
+
<a name="M000031"></a>
|
107
|
+
|
108
|
+
<div class="method-heading">
|
109
|
+
<a href="OutputPersonal.src/M000031.html" target="Code" class="method-signature"
|
110
|
+
onclick="popupCode('OutputPersonal.src/M000031.html');return false;">
|
111
|
+
<span class="method-name">output_personal</span><span class="method-args">(*args)</span>
|
112
|
+
</a>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div class="method-description">
|
116
|
+
</div>
|
117
|
+
</div>
|
118
|
+
|
119
|
+
|
120
|
+
</div>
|
121
|
+
|
122
|
+
|
123
|
+
</div>
|
124
|
+
|
125
|
+
|
126
|
+
<div id="validator-badges">
|
127
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
</body>
|
131
|
+
</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>output_personal (OutputPersonal)</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 rresume/output.rb, line 2</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">output_personal</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
15
|
+
<span class="ruby-value">42</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|