vizi_translator 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/README.rdoc +56 -54
  2. data/README.rdoc.old +56 -0
  3. data/doc/classes/Vizi/Translator.html +200 -0
  4. data/doc/classes/Vizi/Translator.src/M000002.html +18 -0
  5. data/doc/classes/Vizi/Translator.src/M000003.html +18 -0
  6. data/doc/classes/Vizi/Translator.src/M000004.html +40 -0
  7. data/doc/classes/Vizi/UnSupportedLanguage.html +150 -0
  8. data/doc/classes/Vizi/UnSupportedLanguage.src/M000001.html +18 -0
  9. data/doc/classes/Vizi.html +122 -0
  10. data/doc/created.rid +1 -4
  11. data/doc/files/lib/vizi/vizi_translator_rb.html +126 -0
  12. data/doc/files/lib/vizi_translator_rb.html +114 -0
  13. data/doc/files/testit_rb.html +127 -0
  14. data/doc/fr_class_index.html +29 -0
  15. data/doc/fr_file_index.html +29 -0
  16. data/doc/fr_method_index.html +30 -0
  17. data/doc/index.html +24 -68
  18. data/doc/rdoc-style.css +208 -0
  19. data/testit.rb +2 -2
  20. data/vizi_translator-0.2.0.gem +0 -0
  21. data/vizi_translator.gemspec +1 -1
  22. metadata +20 -60
  23. data/doc/Object.html +0 -200
  24. data/doc/ParserTest.html +0 -268
  25. data/doc/README_rdoc.html +0 -128
  26. data/doc/Rakefile.html +0 -148
  27. data/doc/Visit.html +0 -487
  28. data/doc/VisitList.html +0 -385
  29. data/doc/Vizi/LogFormat.html +0 -377
  30. data/doc/Vizi/LogParser.html +0 -551
  31. data/doc/Vizi/Translator.html +0 -302
  32. data/doc/Vizi/UnSupportedLanguage.html +0 -212
  33. data/doc/Vizi/Visit.html +0 -487
  34. data/doc/Vizi/VisitList.html +0 -386
  35. data/doc/Vizi.html +0 -159
  36. data/doc/ViziLogFormat.html +0 -382
  37. data/doc/ViziLogParser.html +0 -551
  38. data/doc/docs/Whois_Documentation.doc +0 -0
  39. data/doc/formats/apache-custom-log.pdf +0 -0
  40. data/doc/formats/apache.rtf +0 -238
  41. data/doc/formats/format-descriptions.xls +0 -0
  42. data/doc/formats/w3c-extended.pdf +0 -0
  43. data/doc/formats/w3c-extended.rtf +0 -135
  44. data/doc/images/brick.png +0 -0
  45. data/doc/images/brick_link.png +0 -0
  46. data/doc/images/bug.png +0 -0
  47. data/doc/images/bullet_black.png +0 -0
  48. data/doc/images/bullet_toggle_minus.png +0 -0
  49. data/doc/images/bullet_toggle_plus.png +0 -0
  50. data/doc/images/date.png +0 -0
  51. data/doc/images/find.png +0 -0
  52. data/doc/images/loadingAnimation.gif +0 -0
  53. data/doc/images/macFFBgHack.png +0 -0
  54. data/doc/images/package.png +0 -0
  55. data/doc/images/page_green.png +0 -0
  56. data/doc/images/page_white_text.png +0 -0
  57. data/doc/images/page_white_width.png +0 -0
  58. data/doc/images/plugin.png +0 -0
  59. data/doc/images/ruby.png +0 -0
  60. data/doc/images/tag_green.png +0 -0
  61. data/doc/images/wrench.png +0 -0
  62. data/doc/images/wrench_orange.png +0 -0
  63. data/doc/images/zoom.png +0 -0
  64. data/doc/js/darkfish.js +0 -116
  65. data/doc/js/jquery.js +0 -32
  66. data/doc/js/quicksearch.js +0 -114
  67. data/doc/js/thickbox-compressed.js +0 -10
  68. data/doc/lib/vizi/parser_rb.html +0 -63
  69. data/doc/lib/vizi/vizi_tracker_rb.html +0 -63
  70. data/doc/lib/vizi/vizi_translator.html +0 -104
  71. data/doc/lib/vizi/vizi_translator_rb.html +0 -69
  72. data/doc/lib/vizi_log_parser_rb.html +0 -56
  73. data/doc/lib/vizi_tracker_rb.html +0 -56
  74. data/doc/lib/vizi_translator_rb.html +0 -54
  75. data/doc/rdoc.css +0 -759
  76. data/doc/test/parser_test_rb.html +0 -54
  77. data/doc/test/test_helper_rb.html +0 -56
  78. data/doc/testit_rb.html +0 -63
data/README.rdoc CHANGED
@@ -1,54 +1,56 @@
1
- = ViziTranslator
2
-
3
- == Introduction
4
-
5
- This gem module provides a classes to support the language translation of text files or text strings.
6
- The Frengly on-line service requires registration and prvoides access with a username and password.
7
- The gem module uses the NET::HTTP library to access the Frengly service.
8
- Find out more about the translation service at www.frengly.com.
9
-
10
- == Installation
11
-
12
- Just run:
13
-
14
- gem install vizi_translator
15
-
16
- This sample application will read a text file for translation.
17
-
18
- The sample text file is a index markdown file written in English.
19
- The English markdown file provides content for Vizitrax's home page.
20
- The translated file can be used to replace the English content with content for another language.
21
-
22
- == Usage
23
-
24
- require 'vizi_translator'
25
-
26
- # Set username and password. Username must be registered at Frengly
27
- username = "akivi"
28
- password = "welcome123"
29
-
30
- # Set target language for translation
31
- targetlanguage = "fr"
32
-
33
- begin
34
- # Open test file for translation
35
- @test = File.read(Dir.pwd+'./data/index.md')
36
-
37
- # Initiate Translator class
38
- translator = Vizi::Translator.new
39
- # Get array with available language codes
40
- @langcodes = translator.getcodes
41
- # Get hashed list of languages and language codes
42
- @langlist = translator.getlist
43
-
44
- # Call method to do the translation
45
- @testnew = translator.gettext(username, password, @test, targetlanguage)
46
-
47
- end
48
-
49
-
50
- == License
51
-
52
- This code is made available under the MIT license.
53
-
54
- All users of this code should read and follow the acceptable use policies for the Frengly translation service.
1
+ = ViziTranslator
2
+
3
+ == Introduction
4
+
5
+ This gem module provides a classes to support the language translation of text files or text strings.
6
+ The Frengly on-line service requires registration and prvoides access with a username and password.
7
+ The gem module uses the NET::HTTP library to access the Frengly service.
8
+ Find out more about the translation service at www.frengly.com.
9
+
10
+ == Installation
11
+
12
+ Just run:
13
+
14
+ gem install vizi_translator
15
+
16
+ The following gems are required 'net/http', 'uri' and 'xmlsimple'. You can install xmlsimple with 'get install xml-simple'
17
+
18
+ This sample application will read a text file for translation.
19
+
20
+ The sample text file is a index markdown file written in English.
21
+ The English markdown file provides content for Vizitrax's home page.
22
+ The translated file can be used to replace the English content with content for another language.
23
+
24
+ == Usage
25
+
26
+ require 'vizi_translator'
27
+
28
+ # Set username and password. Username must be registered at Frengly
29
+ username = "your_username"
30
+ password = "your_password"
31
+
32
+ # Set target language for translation
33
+ targetlanguage = "fr"
34
+
35
+ begin
36
+ # Open test file for translation
37
+ @test = File.read(Dir.pwd+'./data/index.md')
38
+
39
+ # Initiate Translator class
40
+ translator = Vizi::Translator.new
41
+ # Get array with available language codes
42
+ @langcodes = translator.getcodes
43
+ # Get hashed list of languages and language codes
44
+ @langlist = translator.getlist
45
+
46
+ # Call method to do the translation
47
+ @testnew = translator.gettext(username, password, @test, targetlanguage)
48
+
49
+ end
50
+
51
+
52
+ == License
53
+
54
+ This code is made available under the MIT license.
55
+
56
+ All users of this code should read and follow the acceptable use policies for the Frengly translation service.
data/README.rdoc.old ADDED
@@ -0,0 +1,56 @@
1
+ = ViziTranslator
2
+
3
+ == Introduction
4
+
5
+ This gem module provides a classes to support the language translation of text files or text strings.
6
+ The Frengly on-line service requires registration and prvoides access with a username and password.
7
+ The gem module uses the NET::HTTP library to access the Frengly service.
8
+ Find out more about the translation service at www.frengly.com.
9
+
10
+ == Installation
11
+
12
+ Just run:
13
+
14
+ gem install vizi_translator
15
+
16
+ The following gems are required 'net/http', 'uri' and 'xmlsimple'. You can install xmlsimple with 'get install xml-simple'
17
+
18
+ This sample application will read a text file for translation.
19
+
20
+ The sample text file is a index markdown file written in English.
21
+ The English markdown file provides content for Vizitrax's home page.
22
+ The translated file can be used to replace the English content with content for another language.
23
+
24
+ == Usage
25
+
26
+ require 'vizi_translator'
27
+
28
+ # Set username and password. Username must be registered at Frengly
29
+ username = "your_username"
30
+ password = "your_password"
31
+
32
+ # Set target language for translation
33
+ targetlanguage = "fr"
34
+
35
+ begin
36
+ # Open test file for translation
37
+ @test = File.read(Dir.pwd+'./data/index.md')
38
+
39
+ # Initiate Translator class
40
+ translator = Vizi::Translator.new
41
+ # Get array with available language codes
42
+ @langcodes = translator.getcodes
43
+ # Get hashed list of languages and language codes
44
+ @langlist = translator.getlist
45
+
46
+ # Call method to do the translation
47
+ @testnew = translator.gettext(username, password, @test, targetlanguage)
48
+
49
+ end
50
+
51
+
52
+ == License
53
+
54
+ This code is made available under the MIT license.
55
+
56
+ All users of this code should read and follow the acceptable use policies for the Frengly translation service.
@@ -0,0 +1,200 @@
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: Vizi::Translator</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">Vizi::Translator</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/vizi/vizi_translator_rb.html">
59
+ lib/vizi/vizi_translator.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+ <div id="description">
82
+ <p>
83
+ This class includes a set of methods to translate using the Frengly service
84
+ </p>
85
+
86
+ </div>
87
+
88
+
89
+ </div>
90
+
91
+ <div id="method-list">
92
+ <h3 class="section-bar">Methods</h3>
93
+
94
+ <div class="name-list">
95
+ <a href="#M000002">getcodes</a>&nbsp;&nbsp;
96
+ <a href="#M000003">getlist</a>&nbsp;&nbsp;
97
+ <a href="#M000004">gettext</a>&nbsp;&nbsp;
98
+ </div>
99
+ </div>
100
+
101
+ </div>
102
+
103
+
104
+ <!-- if includes -->
105
+
106
+ <div id="section">
107
+
108
+
109
+ <div id="constants-list">
110
+ <h3 class="section-bar">Constants</h3>
111
+
112
+ <div class="name-list">
113
+ <table summary="Constants">
114
+ <tr class="top-aligned-row context-row">
115
+ <td class="context-item-name">SUPPORTED_LANG_CODES</td>
116
+ <td>=</td>
117
+ <td class="context-item-value">['fr','de','es','pt','it','nl','tl','fi','el','iw','pl','ru','sv']</td>
118
+ </tr>
119
+ <tr class="top-aligned-row context-row">
120
+ <td class="context-item-name">SUPPORTED_LANG_LIST</td>
121
+ <td>=</td>
122
+ <td class="context-item-value">{&quot;English&quot; =&gt; &quot;en&quot;, &quot;French&quot; =&gt; &quot;fr&quot;, &quot;German&quot; =&gt; &quot;de&quot;, &quot;Spanish&quot; =&gt; &quot;es&quot;,
123
  &quot;Portuguese&quot; =&gt; &quot;pt&quot;, &quot;Italian&quot; =&gt; &quot;it&quot;, &quot;Filipino&quot; =&gt; &quot;tl&quot;,&quot;Finnish&quot; =&gt; &quot;fi&quot;,&quot;Greek&quot; =&gt; &quot;el&quot;,
1
124
  &quot;Hebrew&quot; =&gt; &quot;iw&quot;, &quot;Polish&quot; =&gt; &quot;pl&quot;, &quot;Russian&quot; =&gt; &quot;ru&quot;, &quot;Swedish&quot; =&gt; &quot;sv&quot;}</td>
125
+ </tr>
126
+ </table>
127
+ </div>
128
+ </div>
129
+
130
+
131
+
132
+
133
+
134
+
135
+ <!-- if method_list -->
136
+ <div id="methods">
137
+ <h3 class="section-bar">Public Instance methods</h3>
138
+
139
+ <div id="method-M000002" class="method-detail">
140
+ <a name="M000002"></a>
141
+
142
+ <div class="method-heading">
143
+ <a href="Translator.src/M000002.html" target="Code" class="method-signature"
144
+ onclick="popupCode('Translator.src/M000002.html');return false;">
145
+ <span class="method-name">getcodes</span><span class="method-args">()</span>
146
+ </a>
147
+ </div>
148
+
149
+ <div class="method-description">
150
+ <p>
151
+ method to get array of language codes
152
+ </p>
153
+ </div>
154
+ </div>
155
+
156
+ <div id="method-M000003" class="method-detail">
157
+ <a name="M000003"></a>
158
+
159
+ <div class="method-heading">
160
+ <a href="Translator.src/M000003.html" target="Code" class="method-signature"
161
+ onclick="popupCode('Translator.src/M000003.html');return false;">
162
+ <span class="method-name">getlist</span><span class="method-args">()</span>
163
+ </a>
164
+ </div>
165
+
166
+ <div class="method-description">
167
+ <p>
168
+ method to get hash list of languages
169
+ </p>
170
+ </div>
171
+ </div>
172
+
173
+ <div id="method-M000004" class="method-detail">
174
+ <a name="M000004"></a>
175
+
176
+ <div class="method-heading">
177
+ <a href="Translator.src/M000004.html" target="Code" class="method-signature"
178
+ onclick="popupCode('Translator.src/M000004.html');return false;">
179
+ <span class="method-name">gettext</span><span class="method-args">(username, password, input_text, output_code)</span>
180
+ </a>
181
+ </div>
182
+
183
+ <div class="method-description">
184
+ <p>
185
+ method to translate from one language to another
186
+ </p>
187
+ </div>
188
+ </div>
189
+
190
+
191
+ </div>
192
+
193
+
194
+ </div>
195
+
196
+
197
+ <div id="validator-badges">
198
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
199
+ </div>
200
+
201
+ </body>
202
+ </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>getcodes (Vizi::Translator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/vizi/vizi_translator.rb, line 28</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getcodes</span>
15
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">SUPPORTED_LANG_CODES</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>getlist (Vizi::Translator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/vizi/vizi_translator.rb, line 33</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getlist</span>
15
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">SUPPORTED_LANG_LIST</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,40 @@
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>gettext (Vizi::Translator)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/vizi/vizi_translator.rb, line 38</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gettext</span>(<span class="ruby-identifier">username</span>, <span class="ruby-identifier">password</span>, <span class="ruby-identifier">input_text</span>, <span class="ruby-identifier">output_code</span>)
15
+ <span class="ruby-identifier">default_src</span> = <span class="ruby-value str">'en'</span>
16
+ <span class="ruby-identifier">default_action</span> = <span class="ruby-value str">'translateREST'</span>
17
+
18
+ <span class="ruby-identifier">input_text</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">input_text</span>)
19
+ <span class="ruby-keyword kw">begin</span>
20
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">UnSupportedLanguage</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">SUPPORTED_LANG_CODES</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">output_code</span>)
21
+ <span class="ruby-identifier">site_url</span> = <span class="ruby-value str">'www.syslang.com'</span>
22
+ <span class="ruby-identifier">uri_method</span> = <span class="ruby-value str">'/frengly/controller?'</span>
23
+ <span class="ruby-identifier">uri_string</span> = <span class="ruby-value str">'action='</span><span class="ruby-operator">+</span><span class="ruby-identifier">default_action</span><span class="ruby-operator">+</span><span class="ruby-value str">'&amp;src='</span><span class="ruby-operator">+</span><span class="ruby-identifier">default_src</span><span class="ruby-operator">+</span><span class="ruby-value str">'&amp;dest='</span><span class="ruby-operator">+</span><span class="ruby-identifier">output_code</span><span class="ruby-operator">+</span><span class="ruby-value str">'&amp;text='</span><span class="ruby-operator">+</span><span class="ruby-identifier">input_text</span><span class="ruby-operator">+</span><span class="ruby-value str">'&amp;username='</span><span class="ruby-operator">+</span><span class="ruby-identifier">username</span><span class="ruby-operator">+</span><span class="ruby-value str">'&amp;password='</span><span class="ruby-operator">+</span><span class="ruby-identifier">password</span>
24
+ <span class="ruby-identifier">response</span> = <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTP</span>.<span class="ruby-identifier">get_response</span>(<span class="ruby-identifier">site_url</span>, <span class="ruby-identifier">uri_method</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">uri_string</span>)
25
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;200&quot;</span>
26
+ <span class="ruby-identifier">xml_data</span> = <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>
27
+ <span class="ruby-identifier">data</span> = <span class="ruby-constant">XmlSimple</span>.<span class="ruby-identifier">xml_in</span>(<span class="ruby-identifier">xml_data</span>)
28
+ <span class="ruby-identifier">result</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">&quot;translation&quot;</span>][<span class="ruby-value">0</span>]
29
+ <span class="ruby-keyword kw">else</span>
30
+ <span class="ruby-identifier">puts</span> <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>
31
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">StandardError</span>, <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>
32
+ <span class="ruby-keyword kw">end</span>
33
+ <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">UnSupportedLanguage</span>
34
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">UnSupportedLanguage</span>.<span class="ruby-identifier">new</span>
35
+ <span class="ruby-keyword kw">rescue</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">err_msg</span>
36
+ <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;#{err_msg}&quot;</span>
37
+ <span class="ruby-keyword kw">end</span>
38
+ <span class="ruby-keyword kw">end</span></pre>
39
+ </body>
40
+ </html>
@@ -0,0 +1,150 @@
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: Vizi::UnSupportedLanguage</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">Vizi::UnSupportedLanguage</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/vizi/vizi_translator_rb.html">
59
+ lib/vizi/vizi_translator.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
+ RuntimeError
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
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000001">new</a>&nbsp;&nbsp;
90
+ </div>
91
+ </div>
92
+
93
+ </div>
94
+
95
+
96
+ <!-- if includes -->
97
+
98
+ <div id="section">
99
+
100
+
101
+
102
+
103
+
104
+ <div id="attribute-list">
105
+ <h3 class="section-bar">Attributes</h3>
106
+
107
+ <div class="name-list">
108
+ <table>
109
+ <tr class="top-aligned-row context-row">
110
+ <td class="context-item-name">msg</td>
111
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
112
+ <td class="context-item-desc"></td>
113
+ </tr>
114
+ </table>
115
+ </div>
116
+ </div>
117
+
118
+
119
+
120
+ <!-- if method_list -->
121
+ <div id="methods">
122
+ <h3 class="section-bar">Public Class methods</h3>
123
+
124
+ <div id="method-M000001" class="method-detail">
125
+ <a name="M000001"></a>
126
+
127
+ <div class="method-heading">
128
+ <a href="UnSupportedLanguage.src/M000001.html" target="Code" class="method-signature"
129
+ onclick="popupCode('UnSupportedLanguage.src/M000001.html');return false;">
130
+ <span class="method-name">new</span><span class="method-args">(message='')</span>
131
+ </a>
132
+ </div>
133
+
134
+ <div class="method-description">
135
+ </div>
136
+ </div>
137
+
138
+
139
+ </div>
140
+
141
+
142
+ </div>
143
+
144
+
145
+ <div id="validator-badges">
146
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
147
+ </div>
148
+
149
+ </body>
150
+ </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>new (Vizi::UnSupportedLanguage)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/vizi/vizi_translator.rb, line 15</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</span>=<span class="ruby-value str">''</span>)
15
+ <span class="ruby-ivar">@msg</span> = <span class="ruby-value str">&quot;Language pair not supported yet.&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>