mack-localization 0.7.1 → 0.7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- metadata +2 -63
- data/doc/classes/ActiveSupport.html +0 -101
- data/doc/classes/Mack.html +0 -194
- data/doc/classes/Mack/Localization/Configuration.html +0 -118
- data/doc/classes/Mack/Localization/DateFormatEngine/BP.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/Base.html +0 -237
- data/doc/classes/Mack/Localization/DateFormatEngine/DE.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/EN.html +0 -218
- data/doc/classes/Mack/Localization/DateFormatEngine/ES.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/FR.html +0 -217
- data/doc/classes/Mack/Localization/DateFormatEngine/IT.html +0 -217
- data/doc/classes/Mack/Localization/Errors/FormatEngineNotFound.html +0 -153
- data/doc/classes/Mack/Localization/Errors/InvalidArgument.html +0 -146
- data/doc/classes/Mack/Localization/Errors/InvalidConfiguration.html +0 -117
- data/doc/classes/Mack/Localization/Errors/InvalidMethodName.html +0 -153
- data/doc/classes/Mack/Localization/Errors/LanguageFileNotFound.html +0 -152
- data/doc/classes/Mack/Localization/Errors/UnknownStringKey.html +0 -153
- data/doc/classes/Mack/Localization/Errors/UnsupportedEncoding.html +0 -153
- data/doc/classes/Mack/Localization/Errors/UnsupportedFeature.html +0 -152
- data/doc/classes/Mack/Localization/Errors/UnsupportedLanguage.html +0 -153
- data/doc/classes/Mack/Localization/FormatEngineRegistry.html +0 -245
- data/doc/classes/Mack/Localization/Formatter.html +0 -392
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/BP.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/Base.html +0 -250
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/DE.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/EN.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/ES.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/FR.html +0 -196
- data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/IT.html +0 -196
- data/doc/classes/Mack/Localization/Translator.html +0 -275
- data/doc/classes/Mack/ViewHelpers/L10NHelpers.html +0 -402
- data/doc/classes/Mack/ViewHelpers/L10NHelpers/Context.html +0 -278
- data/doc/classes/Object.html +0 -236
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -107
- data/doc/files/lib/mack-localization/configuration_rb.html +0 -110
- data/doc/files/lib/mack-localization/content_cache_rb.html +0 -101
- data/doc/files/lib/mack-localization/errors_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/df_engines/base_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/df_engines/bp_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/df_engines/de_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/df_engines/en_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/df_engines/es_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/df_engines/fr_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/df_engines/it_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/engine_registry_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/nc_engines/base_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/nc_engines/bp_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/nc_engines/de_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/nc_engines/en_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/nc_engines/es_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/nc_engines/fr_rb.html +0 -101
- data/doc/files/lib/mack-localization/format_engine/nc_engines/it_rb.html +0 -101
- data/doc/files/lib/mack-localization/formatter_rb.html +0 -101
- data/doc/files/lib/mack-localization/helpers/view_helpers/l10n_helpers_rb.html +0 -101
- data/doc/files/lib/mack-localization/translator_rb.html +0 -101
- data/doc/files/lib/mack-localization_rb.html +0 -144
- data/doc/fr_class_index.html +0 -58
- data/doc/fr_file_index.html +0 -49
- data/doc/fr_method_index.html +0 -109
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
@@ -1,196 +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: Mack::Localization::NumberAndCurrencyFormatEngine::BP</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">Mack::Localization::NumberAndCurrencyFormatEngine::BP</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../../files/lib/mack-localization/format_engine/nc_engines/bp_rb.html">
|
59
|
-
lib/mack-localization/format_engine/nc_engines/bp.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="Base.html">
|
69
|
-
Base
|
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
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000038">delimiter</a>
|
92
|
-
<a href="#M000040">separator</a>
|
93
|
-
<a href="#M000039">unit</a>
|
94
|
-
</div>
|
95
|
-
</div>
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
<!-- if includes -->
|
101
|
-
|
102
|
-
<div id="section">
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
<!-- if method_list -->
|
112
|
-
<div id="methods">
|
113
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
114
|
-
|
115
|
-
<div id="method-M000038" class="method-detail">
|
116
|
-
<a name="M000038"></a>
|
117
|
-
|
118
|
-
<div class="method-heading">
|
119
|
-
<a href="#M000038" class="method-signature">
|
120
|
-
<span class="method-name">delimiter</span><span class="method-args">()</span>
|
121
|
-
</a>
|
122
|
-
</div>
|
123
|
-
|
124
|
-
<div class="method-description">
|
125
|
-
<p><a class="source-toggle" href="#"
|
126
|
-
onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
|
127
|
-
<div class="method-source-code" id="M000038-source">
|
128
|
-
<pre>
|
129
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/bp.rb, line 5</span>
|
130
|
-
5: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delimiter</span>
|
131
|
-
6: <span class="ruby-keyword kw">return</span> <span class="ruby-value str">","</span>
|
132
|
-
7: <span class="ruby-keyword kw">end</span>
|
133
|
-
</pre>
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
<div id="method-M000040" class="method-detail">
|
139
|
-
<a name="M000040"></a>
|
140
|
-
|
141
|
-
<div class="method-heading">
|
142
|
-
<a href="#M000040" class="method-signature">
|
143
|
-
<span class="method-name">separator</span><span class="method-args">()</span>
|
144
|
-
</a>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<div class="method-description">
|
148
|
-
<p><a class="source-toggle" href="#"
|
149
|
-
onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
|
150
|
-
<div class="method-source-code" id="M000040-source">
|
151
|
-
<pre>
|
152
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/bp.rb, line 13</span>
|
153
|
-
13: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">separator</span>
|
154
|
-
14: <span class="ruby-keyword kw">return</span> <span class="ruby-value str">"."</span>
|
155
|
-
15: <span class="ruby-keyword kw">end</span>
|
156
|
-
</pre>
|
157
|
-
</div>
|
158
|
-
</div>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
<div id="method-M000039" class="method-detail">
|
162
|
-
<a name="M000039"></a>
|
163
|
-
|
164
|
-
<div class="method-heading">
|
165
|
-
<a href="#M000039" class="method-signature">
|
166
|
-
<span class="method-name">unit</span><span class="method-args">()</span>
|
167
|
-
</a>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
<div class="method-description">
|
171
|
-
<p><a class="source-toggle" href="#"
|
172
|
-
onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
|
173
|
-
<div class="method-source-code" id="M000039-source">
|
174
|
-
<pre>
|
175
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/bp.rb, line 9</span>
|
176
|
-
9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unit</span>
|
177
|
-
10: <span class="ruby-keyword kw">return</span> <span class="ruby-value str">"R$"</span>
|
178
|
-
11: <span class="ruby-keyword kw">end</span>
|
179
|
-
</pre>
|
180
|
-
</div>
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
|
185
|
-
</div>
|
186
|
-
|
187
|
-
|
188
|
-
</div>
|
189
|
-
|
190
|
-
|
191
|
-
<div id="validator-badges">
|
192
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
193
|
-
</div>
|
194
|
-
|
195
|
-
</body>
|
196
|
-
</html>
|
@@ -1,250 +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: Mack::Localization::NumberAndCurrencyFormatEngine::Base</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">Mack::Localization::NumberAndCurrencyFormatEngine::Base</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../../files/lib/mack-localization/format_engine/nc_engines/base_rb.html">
|
59
|
-
lib/mack-localization/format_engine/nc_engines/base.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
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000043">delimiter</a>
|
92
|
-
<a href="#M000041">format_currency</a>
|
93
|
-
<a href="#M000042">format_number</a>
|
94
|
-
<a href="#M000045">separator</a>
|
95
|
-
<a href="#M000044">unit</a>
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
<!-- if includes -->
|
103
|
-
|
104
|
-
<div id="section">
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<!-- if method_list -->
|
114
|
-
<div id="methods">
|
115
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
116
|
-
|
117
|
-
<div id="method-M000041" class="method-detail">
|
118
|
-
<a name="M000041"></a>
|
119
|
-
|
120
|
-
<div class="method-heading">
|
121
|
-
<a href="#M000041" class="method-signature">
|
122
|
-
<span class="method-name">format_currency</span><span class="method-args">(num, lang)</span>
|
123
|
-
</a>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
<div class="method-description">
|
127
|
-
<p><a class="source-toggle" href="#"
|
128
|
-
onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
|
129
|
-
<div class="method-source-code" id="M000041-source">
|
130
|
-
<pre>
|
131
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/base.rb, line 6</span>
|
132
|
-
6: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format_currency</span>(<span class="ruby-identifier">num</span>, <span class="ruby-identifier">lang</span>)
|
133
|
-
7: <span class="ruby-identifier">currency</span> = <span class="ruby-node">"#{unit}#{format_number(num, lang)}"</span>
|
134
|
-
8: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">currency</span>
|
135
|
-
9: <span class="ruby-keyword kw">end</span>
|
136
|
-
</pre>
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
</div>
|
140
|
-
|
141
|
-
<div id="method-M000042" class="method-detail">
|
142
|
-
<a name="M000042"></a>
|
143
|
-
|
144
|
-
<div class="method-heading">
|
145
|
-
<a href="#M000042" class="method-signature">
|
146
|
-
<span class="method-name">format_number</span><span class="method-args">(num, lang)</span>
|
147
|
-
</a>
|
148
|
-
</div>
|
149
|
-
|
150
|
-
<div class="method-description">
|
151
|
-
<p><a class="source-toggle" href="#"
|
152
|
-
onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
|
153
|
-
<div class="method-source-code" id="M000042-source">
|
154
|
-
<pre>
|
155
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/base.rb, line 11</span>
|
156
|
-
11: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format_number</span>(<span class="ruby-identifier">num</span>, <span class="ruby-identifier">lang</span>)
|
157
|
-
12: <span class="ruby-identifier">num_str</span> = <span class="ruby-value str">"%01.2f"</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">num</span>
|
158
|
-
13: <span class="ruby-identifier">parts</span> = <span class="ruby-identifier">num_str</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">"."</span>)
|
159
|
-
14: <span class="ruby-identifier">parts</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp re">/(\d)(?=(\d\d\d)+(?!\d))/</span>, <span class="ruby-node">"\\1#{delimiter}"</span>)
|
160
|
-
15: <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">join</span> <span class="ruby-identifier">separator</span>
|
161
|
-
16: <span class="ruby-keyword kw">end</span>
|
162
|
-
</pre>
|
163
|
-
</div>
|
164
|
-
</div>
|
165
|
-
</div>
|
166
|
-
|
167
|
-
<h3 class="section-bar">Protected Instance methods</h3>
|
168
|
-
|
169
|
-
<div id="method-M000043" class="method-detail">
|
170
|
-
<a name="M000043"></a>
|
171
|
-
|
172
|
-
<div class="method-heading">
|
173
|
-
<a href="#M000043" class="method-signature">
|
174
|
-
<span class="method-name">delimiter</span><span class="method-args">()</span>
|
175
|
-
</a>
|
176
|
-
</div>
|
177
|
-
|
178
|
-
<div class="method-description">
|
179
|
-
<p><a class="source-toggle" href="#"
|
180
|
-
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
181
|
-
<div class="method-source-code" id="M000043-source">
|
182
|
-
<pre>
|
183
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/base.rb, line 20</span>
|
184
|
-
20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delimiter</span>
|
185
|
-
21: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Unimplemented: delimiter"</span>
|
186
|
-
22: <span class="ruby-keyword kw">end</span>
|
187
|
-
</pre>
|
188
|
-
</div>
|
189
|
-
</div>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
<div id="method-M000045" class="method-detail">
|
193
|
-
<a name="M000045"></a>
|
194
|
-
|
195
|
-
<div class="method-heading">
|
196
|
-
<a href="#M000045" class="method-signature">
|
197
|
-
<span class="method-name">separator</span><span class="method-args">()</span>
|
198
|
-
</a>
|
199
|
-
</div>
|
200
|
-
|
201
|
-
<div class="method-description">
|
202
|
-
<p><a class="source-toggle" href="#"
|
203
|
-
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
204
|
-
<div class="method-source-code" id="M000045-source">
|
205
|
-
<pre>
|
206
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/base.rb, line 28</span>
|
207
|
-
28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">separator</span>
|
208
|
-
29: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Unimplemented: separator"</span>
|
209
|
-
30: <span class="ruby-keyword kw">end</span>
|
210
|
-
</pre>
|
211
|
-
</div>
|
212
|
-
</div>
|
213
|
-
</div>
|
214
|
-
|
215
|
-
<div id="method-M000044" class="method-detail">
|
216
|
-
<a name="M000044"></a>
|
217
|
-
|
218
|
-
<div class="method-heading">
|
219
|
-
<a href="#M000044" class="method-signature">
|
220
|
-
<span class="method-name">unit</span><span class="method-args">()</span>
|
221
|
-
</a>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
<div class="method-description">
|
225
|
-
<p><a class="source-toggle" href="#"
|
226
|
-
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
227
|
-
<div class="method-source-code" id="M000044-source">
|
228
|
-
<pre>
|
229
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/base.rb, line 24</span>
|
230
|
-
24: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unit</span>
|
231
|
-
25: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Unimplemented: unit"</span>
|
232
|
-
26: <span class="ruby-keyword kw">end</span>
|
233
|
-
</pre>
|
234
|
-
</div>
|
235
|
-
</div>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
|
239
|
-
</div>
|
240
|
-
|
241
|
-
|
242
|
-
</div>
|
243
|
-
|
244
|
-
|
245
|
-
<div id="validator-badges">
|
246
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
247
|
-
</div>
|
248
|
-
|
249
|
-
</body>
|
250
|
-
</html>
|
@@ -1,196 +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: Mack::Localization::NumberAndCurrencyFormatEngine::DE</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">Mack::Localization::NumberAndCurrencyFormatEngine::DE</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../../files/lib/mack-localization/format_engine/nc_engines/de_rb.html">
|
59
|
-
lib/mack-localization/format_engine/nc_engines/de.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="Base.html">
|
69
|
-
Base
|
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
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000032">delimiter</a>
|
92
|
-
<a href="#M000034">separator</a>
|
93
|
-
<a href="#M000033">unit</a>
|
94
|
-
</div>
|
95
|
-
</div>
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
<!-- if includes -->
|
101
|
-
|
102
|
-
<div id="section">
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
<!-- if method_list -->
|
112
|
-
<div id="methods">
|
113
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
114
|
-
|
115
|
-
<div id="method-M000032" class="method-detail">
|
116
|
-
<a name="M000032"></a>
|
117
|
-
|
118
|
-
<div class="method-heading">
|
119
|
-
<a href="#M000032" class="method-signature">
|
120
|
-
<span class="method-name">delimiter</span><span class="method-args">()</span>
|
121
|
-
</a>
|
122
|
-
</div>
|
123
|
-
|
124
|
-
<div class="method-description">
|
125
|
-
<p><a class="source-toggle" href="#"
|
126
|
-
onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
|
127
|
-
<div class="method-source-code" id="M000032-source">
|
128
|
-
<pre>
|
129
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/de.rb, line 5</span>
|
130
|
-
5: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delimiter</span>
|
131
|
-
6: <span class="ruby-keyword kw">return</span> <span class="ruby-value str">"."</span>
|
132
|
-
7: <span class="ruby-keyword kw">end</span>
|
133
|
-
</pre>
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
<div id="method-M000034" class="method-detail">
|
139
|
-
<a name="M000034"></a>
|
140
|
-
|
141
|
-
<div class="method-heading">
|
142
|
-
<a href="#M000034" class="method-signature">
|
143
|
-
<span class="method-name">separator</span><span class="method-args">()</span>
|
144
|
-
</a>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<div class="method-description">
|
148
|
-
<p><a class="source-toggle" href="#"
|
149
|
-
onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
|
150
|
-
<div class="method-source-code" id="M000034-source">
|
151
|
-
<pre>
|
152
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/de.rb, line 13</span>
|
153
|
-
13: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">separator</span>
|
154
|
-
14: <span class="ruby-keyword kw">return</span> <span class="ruby-value str">","</span>
|
155
|
-
15: <span class="ruby-keyword kw">end</span>
|
156
|
-
</pre>
|
157
|
-
</div>
|
158
|
-
</div>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
<div id="method-M000033" class="method-detail">
|
162
|
-
<a name="M000033"></a>
|
163
|
-
|
164
|
-
<div class="method-heading">
|
165
|
-
<a href="#M000033" class="method-signature">
|
166
|
-
<span class="method-name">unit</span><span class="method-args">()</span>
|
167
|
-
</a>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
<div class="method-description">
|
171
|
-
<p><a class="source-toggle" href="#"
|
172
|
-
onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
|
173
|
-
<div class="method-source-code" id="M000033-source">
|
174
|
-
<pre>
|
175
|
-
<span class="ruby-comment cmt"># File lib/mack-localization/format_engine/nc_engines/de.rb, line 9</span>
|
176
|
-
9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unit</span>
|
177
|
-
10: <span class="ruby-keyword kw">return</span> <span class="ruby-value str">"€"</span>
|
178
|
-
11: <span class="ruby-keyword kw">end</span>
|
179
|
-
</pre>
|
180
|
-
</div>
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
|
185
|
-
</div>
|
186
|
-
|
187
|
-
|
188
|
-
</div>
|
189
|
-
|
190
|
-
|
191
|
-
<div id="validator-badges">
|
192
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
193
|
-
</div>
|
194
|
-
|
195
|
-
</body>
|
196
|
-
</html>
|