mack-localization 0.6.0.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{localization → mack-localization}/configuration.rb +0 -0
- data/lib/{localization → mack-localization}/content_cache.rb +0 -0
- data/lib/{localization → mack-localization}/errors.rb +3 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/base.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/bp.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/de.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/en.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/es.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/fr.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/df_engines/it.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/engine_registry.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/base.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/bp.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/de.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/en.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/es.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/fr.rb +0 -0
- data/lib/{localization → mack-localization}/format_engine/nc_engines/it.rb +0 -0
- data/lib/{localization → mack-localization}/formatter.rb +0 -0
- data/lib/{localization → mack-localization}/helpers/view_helpers/l10n_helpers.rb +0 -0
- data/lib/{localization → mack-localization}/translator.rb +9 -9
- data/lib/mack-localization.rb +1 -1
- metadata +23 -84
- data/doc/classes/Mack/Localization/Configuration.html +0 -118
- data/doc/classes/Mack/Localization/ContentCache.html +0 -111
- 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 -117
- 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/Context.html +0 -278
- data/doc/classes/Mack/ViewHelpers/L10NHelpers.html +0 -402
- data/doc/classes/Mack.html +0 -194
- data/doc/classes/Object.html +0 -236
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -107
- data/doc/files/lib/localization/configuration_rb.html +0 -110
- data/doc/files/lib/localization/content_cache_rb.html +0 -101
- data/doc/files/lib/localization/errors_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/base_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/bp_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/de_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/en_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/es_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/fr_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/df_engines/it_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/engine_registry_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/base_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/bp_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/de_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/en_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/es_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/fr_rb.html +0 -101
- data/doc/files/lib/localization/format_engine/nc_engines/it_rb.html +0 -101
- data/doc/files/lib/localization/formatter_rb.html +0 -101
- data/doc/files/lib/localization/helpers/view_helpers/l10n_helpers_rb.html +0 -101
- data/doc/files/lib/localization/translator_rb.html +0 -101
- data/doc/files/lib/mack-localization_rb.html +0 -109
- data/doc/fr_class_index.html +0 -58
- data/doc/fr_file_index.html +0 -49
- data/doc/fr_method_index.html +0 -107
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -28,18 +28,18 @@ module Mack
|
|
28
28
|
base_lang = l10n_config.base_language
|
29
29
|
base_lang = lang.to_s if !lang.nil?
|
30
30
|
|
31
|
-
raise UnsupportedLanguage.new(base_lang) if !l10n_config.supported_languages.include?(base_lang)
|
31
|
+
raise Mack::Localization::Errors::UnsupportedLanguage.new(base_lang) if !l10n_config.supported_languages.include?(base_lang)
|
32
32
|
|
33
33
|
cache_key = "#{view_sym}_#{base_lang}_content"
|
34
34
|
path = File.join(l10n_config.base_directory, "views", "#{view_name}", "content_#{base_lang}.yml")
|
35
35
|
content_hash = load_content_hash(cache_key, base_lang, path)
|
36
36
|
|
37
|
-
raise UnknownStringKey.new(key) if content_hash[key] == nil
|
37
|
+
raise Mack::Localization::Errors::UnknownStringKey.new(key) if content_hash[key] == nil
|
38
38
|
return u(content_hash[key])
|
39
39
|
end
|
40
40
|
|
41
41
|
def getimg(view_sym, key, lang)
|
42
|
-
raise UnsupportedFeature.new("getimg")
|
42
|
+
raise Mack::Localization::Errors::UnsupportedFeature.new("getimg")
|
43
43
|
end
|
44
44
|
|
45
45
|
# REVIEW: inflection... should localized inflection use the same inflection engine as the english counterpart?
|
@@ -57,18 +57,18 @@ module Mack
|
|
57
57
|
base_lang = l10n_config.base_language
|
58
58
|
base_lang = lang if !lang.nil?
|
59
59
|
|
60
|
-
raise UnsupportedLanguage.new(base_lang) if !l10n_config.supported_languages.include?(base_lang)
|
60
|
+
raise Mack::Localization::Errors::UnsupportedLanguage.new(base_lang) if !l10n_config.supported_languages.include?(base_lang)
|
61
61
|
|
62
62
|
cache_key = "rules_content_#{base_lang}"
|
63
63
|
path = File.join(l10n_config.base_directory, "rules", "inflection_#{base_lang}.yml")
|
64
64
|
content_hash = load_content_hash(cache_key, base_lang, path)
|
65
65
|
|
66
66
|
hash = content_hash[type]
|
67
|
-
raise InvalidConfiguration.new if hash.nil?
|
67
|
+
raise Mack::Localization::Errors::InvalidConfiguration.new if hash.nil?
|
68
68
|
|
69
69
|
arr = hash[key]
|
70
|
-
raise InvalidConfiguration.new if arr.nil?
|
71
|
-
raise InvalidConfiguration.new if arr.size != 2
|
70
|
+
raise Mack::Localization::Errors::InvalidConfiguration.new if arr.nil?
|
71
|
+
raise Mack::Localization::Errors::InvalidConfiguration.new if arr.size != 2
|
72
72
|
|
73
73
|
if num <= 1
|
74
74
|
val = sprintf(arr[0], num)
|
@@ -86,8 +86,8 @@ module Mack
|
|
86
86
|
content_hash = l10n_cache.get("#{cache_key}")
|
87
87
|
|
88
88
|
if content_hash.nil?
|
89
|
-
raise InvalidConfiguration.new if base_lang.nil?
|
90
|
-
raise LanguageFileNotFound.new if !File.exists?(path)
|
89
|
+
raise Mack::Localization::Errors::InvalidConfiguration.new if base_lang.nil?
|
90
|
+
raise Mack::Localization::Errors::LanguageFileNotFound.new(path) if !File.exists?(path)
|
91
91
|
|
92
92
|
data = File.read(path)
|
93
93
|
content_hash = YAML.load(data)
|
data/lib/mack-localization.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mack-localization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darsono Sutedja
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-08-04 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -31,90 +31,29 @@ extensions: []
|
|
31
31
|
extra_rdoc_files:
|
32
32
|
- README
|
33
33
|
files:
|
34
|
-
- lib/localization/configuration.rb
|
35
|
-
- lib/localization/content_cache.rb
|
36
|
-
- lib/localization/errors.rb
|
37
|
-
- lib/localization/format_engine/df_engines/base.rb
|
38
|
-
- lib/localization/format_engine/df_engines/bp.rb
|
39
|
-
- lib/localization/format_engine/df_engines/de.rb
|
40
|
-
- lib/localization/format_engine/df_engines/en.rb
|
41
|
-
- lib/localization/format_engine/df_engines/es.rb
|
42
|
-
- lib/localization/format_engine/df_engines/fr.rb
|
43
|
-
- lib/localization/format_engine/df_engines/it.rb
|
44
|
-
- lib/localization/format_engine/engine_registry.rb
|
45
|
-
- lib/localization/format_engine/nc_engines/base.rb
|
46
|
-
- lib/localization/format_engine/nc_engines/bp.rb
|
47
|
-
- lib/localization/format_engine/nc_engines/de.rb
|
48
|
-
- lib/localization/format_engine/nc_engines/en.rb
|
49
|
-
- lib/localization/format_engine/nc_engines/es.rb
|
50
|
-
- lib/localization/format_engine/nc_engines/fr.rb
|
51
|
-
- lib/localization/format_engine/nc_engines/it.rb
|
52
|
-
- lib/localization/formatter.rb
|
53
|
-
- lib/localization/helpers/view_helpers/l10n_helpers.rb
|
54
|
-
- lib/localization/translator.rb
|
34
|
+
- lib/mack-localization/configuration.rb
|
35
|
+
- lib/mack-localization/content_cache.rb
|
36
|
+
- lib/mack-localization/errors.rb
|
37
|
+
- lib/mack-localization/format_engine/df_engines/base.rb
|
38
|
+
- lib/mack-localization/format_engine/df_engines/bp.rb
|
39
|
+
- lib/mack-localization/format_engine/df_engines/de.rb
|
40
|
+
- lib/mack-localization/format_engine/df_engines/en.rb
|
41
|
+
- lib/mack-localization/format_engine/df_engines/es.rb
|
42
|
+
- lib/mack-localization/format_engine/df_engines/fr.rb
|
43
|
+
- lib/mack-localization/format_engine/df_engines/it.rb
|
44
|
+
- lib/mack-localization/format_engine/engine_registry.rb
|
45
|
+
- lib/mack-localization/format_engine/nc_engines/base.rb
|
46
|
+
- lib/mack-localization/format_engine/nc_engines/bp.rb
|
47
|
+
- lib/mack-localization/format_engine/nc_engines/de.rb
|
48
|
+
- lib/mack-localization/format_engine/nc_engines/en.rb
|
49
|
+
- lib/mack-localization/format_engine/nc_engines/es.rb
|
50
|
+
- lib/mack-localization/format_engine/nc_engines/fr.rb
|
51
|
+
- lib/mack-localization/format_engine/nc_engines/it.rb
|
52
|
+
- lib/mack-localization/formatter.rb
|
53
|
+
- lib/mack-localization/helpers/view_helpers/l10n_helpers.rb
|
54
|
+
- lib/mack-localization/translator.rb
|
55
55
|
- lib/mack-localization.rb
|
56
56
|
- README
|
57
|
-
- doc/classes/Mack/Localization/Configuration.html
|
58
|
-
- doc/classes/Mack/Localization/ContentCache.html
|
59
|
-
- doc/classes/Mack/Localization/DateFormatEngine/Base.html
|
60
|
-
- doc/classes/Mack/Localization/DateFormatEngine/BP.html
|
61
|
-
- doc/classes/Mack/Localization/DateFormatEngine/DE.html
|
62
|
-
- doc/classes/Mack/Localization/DateFormatEngine/EN.html
|
63
|
-
- doc/classes/Mack/Localization/DateFormatEngine/ES.html
|
64
|
-
- doc/classes/Mack/Localization/DateFormatEngine/FR.html
|
65
|
-
- doc/classes/Mack/Localization/DateFormatEngine/IT.html
|
66
|
-
- doc/classes/Mack/Localization/Errors/FormatEngineNotFound.html
|
67
|
-
- doc/classes/Mack/Localization/Errors/InvalidArgument.html
|
68
|
-
- doc/classes/Mack/Localization/Errors/InvalidConfiguration.html
|
69
|
-
- doc/classes/Mack/Localization/Errors/InvalidMethodName.html
|
70
|
-
- doc/classes/Mack/Localization/Errors/LanguageFileNotFound.html
|
71
|
-
- doc/classes/Mack/Localization/Errors/UnknownStringKey.html
|
72
|
-
- doc/classes/Mack/Localization/Errors/UnsupportedEncoding.html
|
73
|
-
- doc/classes/Mack/Localization/Errors/UnsupportedFeature.html
|
74
|
-
- doc/classes/Mack/Localization/Errors/UnsupportedLanguage.html
|
75
|
-
- doc/classes/Mack/Localization/FormatEngineRegistry.html
|
76
|
-
- doc/classes/Mack/Localization/Formatter.html
|
77
|
-
- doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/Base.html
|
78
|
-
- doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/BP.html
|
79
|
-
- doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/DE.html
|
80
|
-
- doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/EN.html
|
81
|
-
- doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/ES.html
|
82
|
-
- doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/FR.html
|
83
|
-
- doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/IT.html
|
84
|
-
- doc/classes/Mack/Localization/Translator.html
|
85
|
-
- doc/classes/Mack/ViewHelpers/L10NHelpers/Context.html
|
86
|
-
- doc/classes/Mack/ViewHelpers/L10NHelpers.html
|
87
|
-
- doc/classes/Mack.html
|
88
|
-
- doc/classes/Object.html
|
89
|
-
- doc/created.rid
|
90
|
-
- doc/files/lib/localization/configuration_rb.html
|
91
|
-
- doc/files/lib/localization/content_cache_rb.html
|
92
|
-
- doc/files/lib/localization/errors_rb.html
|
93
|
-
- doc/files/lib/localization/format_engine/df_engines/base_rb.html
|
94
|
-
- doc/files/lib/localization/format_engine/df_engines/bp_rb.html
|
95
|
-
- doc/files/lib/localization/format_engine/df_engines/de_rb.html
|
96
|
-
- doc/files/lib/localization/format_engine/df_engines/en_rb.html
|
97
|
-
- doc/files/lib/localization/format_engine/df_engines/es_rb.html
|
98
|
-
- doc/files/lib/localization/format_engine/df_engines/fr_rb.html
|
99
|
-
- doc/files/lib/localization/format_engine/df_engines/it_rb.html
|
100
|
-
- doc/files/lib/localization/format_engine/engine_registry_rb.html
|
101
|
-
- doc/files/lib/localization/format_engine/nc_engines/base_rb.html
|
102
|
-
- doc/files/lib/localization/format_engine/nc_engines/bp_rb.html
|
103
|
-
- doc/files/lib/localization/format_engine/nc_engines/de_rb.html
|
104
|
-
- doc/files/lib/localization/format_engine/nc_engines/en_rb.html
|
105
|
-
- doc/files/lib/localization/format_engine/nc_engines/es_rb.html
|
106
|
-
- doc/files/lib/localization/format_engine/nc_engines/fr_rb.html
|
107
|
-
- doc/files/lib/localization/format_engine/nc_engines/it_rb.html
|
108
|
-
- doc/files/lib/localization/formatter_rb.html
|
109
|
-
- doc/files/lib/localization/helpers/view_helpers/l10n_helpers_rb.html
|
110
|
-
- doc/files/lib/localization/translator_rb.html
|
111
|
-
- doc/files/lib/mack-localization_rb.html
|
112
|
-
- doc/files/README.html
|
113
|
-
- doc/fr_class_index.html
|
114
|
-
- doc/fr_file_index.html
|
115
|
-
- doc/fr_method_index.html
|
116
|
-
- doc/index.html
|
117
|
-
- doc/rdoc-style.css
|
118
57
|
has_rdoc: true
|
119
58
|
homepage: http://www.mackframework.com
|
120
59
|
post_install_message:
|
@@ -1,118 +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>Module: Mack::Localization::Configuration</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">Mack::Localization::Configuration</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/localization/configuration_rb.html">
|
59
|
-
lib/localization/configuration.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
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
<!-- if includes -->
|
84
|
-
|
85
|
-
<div id="section">
|
86
|
-
|
87
|
-
|
88
|
-
<div id="constants-list">
|
89
|
-
<h3 class="section-bar">Constants</h3>
|
90
|
-
|
91
|
-
<div class="name-list">
|
92
|
-
<table summary="Constants">
|
93
|
-
<tr class="top-aligned-row context-row">
|
94
|
-
<td class="context-item-name">L10N_DEFAULTS</td>
|
95
|
-
<td>=</td>
|
96
|
-
<td class="context-item-value">{ "base_language" => "en", "supported_languages" => %w{bp en fr it de es}, "char_encoding" => 'us-ascii', "dynamic_translation" => false, "base_directory" => File.join(Mack.root, "app", "lang"), "content_expiry" => 3600</td>
|
97
|
-
</tr>
|
98
|
-
</table>
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if method_list -->
|
108
|
-
|
109
|
-
|
110
|
-
</div>
|
111
|
-
|
112
|
-
|
113
|
-
<div id="validator-badges">
|
114
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
115
|
-
</div>
|
116
|
-
|
117
|
-
</body>
|
118
|
-
</html>
|
@@ -1,111 +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::ContentCache</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::ContentCache</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/localization/content_cache_rb.html">
|
59
|
-
lib/localization/content_cache.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
|
-
Cachetastic::Caches::Base
|
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
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
<!-- if includes -->
|
90
|
-
|
91
|
-
<div id="section">
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<!-- if method_list -->
|
101
|
-
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
|
106
|
-
<div id="validator-badges">
|
107
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
-
</div>
|
109
|
-
|
110
|
-
</body>
|
111
|
-
</html>
|