mucgly 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.rdoc +8 -0
  3. data/LICENSE +1 -1
  4. data/README.rdoc +160 -130
  5. data/bin/mucgly +4 -217
  6. data/doc/Mucgly.html +24 -82
  7. data/doc/_index.html +5 -153
  8. data/doc/class_list.html +7 -2
  9. data/doc/css/style.css +2 -1
  10. data/doc/file.CHANGELOG.html +16 -8
  11. data/doc/file.README.html +210 -187
  12. data/doc/file_list.html +6 -1
  13. data/doc/frames.html +5 -7
  14. data/doc/index.html +210 -187
  15. data/doc/js/app.js +7 -2
  16. data/doc/js/full_list.js +9 -6
  17. data/doc/method_list.html +7 -686
  18. data/doc/top-level-namespace.html +5 -5
  19. data/ext/mucgly/extconf.rb +11 -0
  20. data/ext/mucgly/mucgly.c +2095 -0
  21. data/lib/version.rb +6 -0
  22. data/test/golden/test_basic.txt +18 -0
  23. data/test/golden/test_specials_cli.txt +11 -0
  24. data/test/golden/test_specials_cmd.txt +36 -0
  25. data/test/result/test_basic.txt +18 -0
  26. data/test/result/test_specials_cli.txt +11 -0
  27. data/test/result/test_specials_cmd.txt +36 -0
  28. data/test/result/test_specials_cmd2.txt +1 -0
  29. data/test/test_basic.rx.txt +10 -6
  30. data/test/test_mucgly.rb +4 -6
  31. data/test/test_specials_cli.rx.txt +4 -4
  32. data/test/test_specials_cmd.rx.txt +5 -5
  33. metadata +45 -63
  34. data/Rakefile +0 -29
  35. data/doc/EasyFile/InOut.html +0 -2097
  36. data/doc/EasyFile/Read.html +0 -1334
  37. data/doc/EasyFile/ReadStack.html +0 -461
  38. data/doc/EasyFile/Stacked.html +0 -411
  39. data/doc/EasyFile/String.html +0 -570
  40. data/doc/EasyFile/Write.html +0 -1084
  41. data/doc/EasyFile/WriteStack.html +0 -305
  42. data/doc/EasyFile.html +0 -155
  43. data/doc/Mucgly/Env.html +0 -1675
  44. data/doc/Mucgly/MucglyFile/ParseState.html +0 -1662
  45. data/doc/Mucgly/MucglyFile/Token.html +0 -529
  46. data/doc/Mucgly/MucglyFile.html +0 -545
  47. data/doc/Mucgly/Separators.html +0 -521
  48. data/lib/easyfile.rb +0 -720
  49. data/lib/mucgly.rb +0 -627
  50. data/test/test_multi.rx.txt +0 -4
data/bin/mucgly CHANGED
@@ -1,220 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'como'
4
- include Como
5
- require_relative '../lib/easyfile'
6
- require_relative '../lib/mucgly'
3
+ require_relative '../lib/mucgly/mucgly'
4
+ require_relative '../lib/version'
7
5
 
8
-
9
- # Define command line arguments:
10
- Spec.command( "mucgly", "Tero Isannainen", "2009, 2013",
11
- [
12
- [ :opt_multi, "inputs", "-i", "Input file (default: <STDIN>)." ],
13
- [ :opt_multi, "configs", "-c", "Ruby configure file(s)" ],
14
- [ :opt_any, "output", "-o", "Output file (default: <STDOUT>)." ],
15
- [ :opt_multi, "cl_cmds", "-l", "Command line configuration(s)." ],
16
- [ :opt_any, "multipass", "-m", "Multipass rounds (default without arg: 2)." ],
17
- [ :opt_single, "beg_sep", "-sb", "Set hookbeg separator (default: '-<')." ],
18
- [ :opt_single, "end_sep", "-se", "Set hookend separator (default: '->')." ],
19
- [ :opt_single, "seps", "-s", "Set both hookbeg and hookend separators." ],
20
- [ :opt_single, "esc_char", "-e", "Set escape character (default: '\\')." ],
21
- [ :opt_single, "all_sep", "-sa", "Set all separators and escape." ],
22
- [ :switch, "no_inits", nil, "No initializations." ],
23
- [ :switch, "no_user_init", nil, "No user initialization." ],
24
- [ :switch, "no_env_init", nil, "No env initialization." ],
25
- [ :switch, "warn_only", "-w", "Warnings only." ],
26
- [ :switch, "debug", "-d", "Display debug messages." ],
27
- ], { :tab => 15, } )
28
-
29
-
30
- filePairs = []
31
-
32
-
33
- # Set input streams.
34
- unless Opt['inputs'].given
35
- filePairs.push [ '<STDIN>', nil ]
36
- else
37
- Opt['inputs'].value.each do |i|
38
- filePairs.push [ i, nil ]
39
- end
40
- end
41
-
42
-
43
- # Set output streams.
44
- if Opt['output'].given
45
-
46
- if Opt['output'].value.empty?
47
-
48
- # Map all input files to output files where '.rx' is removed
49
- # in the name.
50
-
51
- # Check that all inputs have '.rx' in the name.
52
- noRx = false
53
- name = nil
54
- filePairs.each do |pair|
55
- if /\.rx/.match( pair[0] )
56
- pair[1] = pair[0].gsub( /\.rx/, '' )
57
- else
58
- noRx = true
59
- name = pair[0]
60
- break
61
- end
62
- end
63
-
64
- if noRx
65
- Mucgly::error( "Input file must have '.rx' in name\
66
- when automapping: \"#{name}\"" )
67
- end
68
-
69
- elsif Opt['output'].value.length == filePairs.length
70
-
71
- filePairs.each_index do |idx|
72
- filePairs[ idx ][1] = Opt['output'].value[ idx ]
73
- end
74
-
75
- else
76
-
77
- Mucgly::error( "Input and output file counts does not match:\
78
- #{Opt['output'].value.length}/#{filePairs.length}" )
79
-
80
- end
81
-
82
- else
83
-
84
- # Default output, STDOUT.
85
- filePairs[0][1] = '<STDOUT>'
86
-
87
- end
88
-
89
-
90
- execEnv = Mucgly::Env.new
91
- execEnv._separators = Mucgly::Separators.new
92
-
93
-
94
- # Change separators:
95
- if Opt['beg_sep'].given
96
- execEnv._separators.hookBegChars = Opt['beg_sep'].value
97
- end
98
-
99
- if Opt['end_sep'].given
100
- execEnv._separators.hookEndChars = Opt['end_sep'].value
101
- end
102
-
103
- if Opt['seps'].given
104
- rest = Opt['seps'].value
105
-
106
- if rest.split.length == 2
107
- execEnv._separators.hookBegChars = rest.split[0]
108
- execEnv._separators.hookEndChars = rest.split[1]
109
- else
110
- execEnv._separators.hookBegChars = rest
111
- execEnv._separators.hookEndChars = rest
112
- end
113
- end
114
-
115
-
116
- # Change escape:
117
- if Opt['esc_char'].given
118
- execEnv._separators.escapeChar = Opt['esc_char'].value
119
- end
120
-
121
-
122
- # Change all specials.
123
- if Opt['all_sep'].given
124
- execEnv._separators.hookBegChars = Opt['all_sep'].value
125
- execEnv._separators.hookEndChars = Opt['all_sep'].value
126
- execEnv._separators.escapeChar = Opt['all_sep'].value
127
- end
128
-
129
-
130
- # Read Mucgly env config.
131
- unless ( Opt['no_env_init'].given || Opt['no_inits'].given )
132
- p = ENV["MUCGLY"]
133
- execEnv.source( p ) if p
134
- end
135
-
136
-
137
- # Read default user config.
138
- unless ( Opt['no_user_init'].given || Opt['no_inits'].given )
139
- userInit = "#{ENV['HOME']}/.mucgly"
140
- if FileTest.exist? userInit
141
- # load userInit
142
- execEnv.source( userInit )
143
- end
144
- end
145
-
146
-
147
- # Process provided configure files.
148
- Opt['configs'].given do |value|
149
- value.each do |i|
150
- execEnv.source( i )
151
- end
152
- end
153
-
154
-
155
- # Process command line.
156
- Opt['cl_cmds'].given do |value|
157
- value.each do |i|
158
- execEnv.eval( i )
159
- end
160
- end
161
-
162
-
163
- # Multipass processing.
164
- if Opt['multipass'].given
165
-
166
- if Opt['multipass'].value.empty?
167
- passes = 2
168
- else
169
- passes = Opt['multipass'].value[0].to_i
170
- end
171
-
172
-
173
- if passes <= 1
174
-
175
- execEnv._processFilePairs( filePairs )
176
-
177
- else
178
-
179
- filePairs.each do |filePair|
180
-
181
- pass = 0
182
-
183
- # Pair (ping-pong) of StringIO handles.
184
- sio = [nil]*2
185
-
186
- while pass < passes
187
-
188
- # Use StringIO to pass content between passes.
189
- if pass == 0
190
- # First pass.
191
- execEnv._openInput( filePair[ 0 ] )
192
- sio[(pass+0)%2] = execEnv._openString( "_pass0" )
193
- sio[(pass+1)%2] = execEnv._openString( "_pass1" )
194
- execEnv._outIO = sio[(pass+0)%2]
195
- elsif pass >= ( passes-1 )
196
- # Last pass.
197
- execEnv._inIO = sio[(pass+1)%2]
198
- execEnv._inIO.rewind
199
- execEnv._openOutput( filePair[ 1 ] )
200
- else
201
- # Middle pass.
202
- execEnv._inIO = sio[(pass+1)%2]
203
- execEnv._inIO.rewind
204
- execEnv._outIO = sio[(pass+0)%2]
205
- end
206
-
207
- Mucgly::MucglyFile.new( execEnv )
208
- pass += 1
209
-
210
- end
211
-
212
- end
213
-
214
- end
215
-
216
- else
217
-
218
- execEnv._processFilePairs( filePairs )
219
-
220
- end
6
+ # Send ARGV and add program name as first entry.
7
+ Mucgly.run_mucgly( [ __FILE__] + ARGV )
data/doc/Mucgly.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mucgly
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.1
9
+ &mdash; Documentation by YARD 0.8.7.6
10
10
 
11
11
  </title>
12
12
 
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
19
  relpath = '';
20
- framesUrl = "frames.html#!" + escape(window.location.href);
20
+ framesUrl = "frames.html#!Mucgly.html";
21
21
  </script>
22
22
 
23
23
 
@@ -79,21 +79,23 @@
79
79
 
80
80
 
81
81
  <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/mucgly.rb</dd>
82
+ <dd class="r1 last">lib/version.rb</dd>
83
83
 
84
84
  </dl>
85
85
  <div class="clear"></div>
86
86
 
87
- <h2>Defined Under Namespace</h2>
88
- <p class="children">
89
-
90
-
87
+
88
+ <h2>Constant Summary</h2>
91
89
 
92
-
93
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Mucgly/Env.html" title="Mucgly::Env (class)">Env</a></span>, <span class='object_link'><a href="Mucgly/MucglyFile.html" title="Mucgly::MucglyFile (class)">MucglyFile</a></span>, <span class='object_link'><a href="Mucgly/Separators.html" title="Mucgly::Separators (class)">Separators</a></span>
94
-
90
+ <dl class="constants">
91
+
92
+ <dt id="VERSION-constant" class="">VERSION =
93
+
94
+ </dt>
95
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
96
+
97
+ </dl>
95
98
 
96
- </p>
97
99
 
98
100
 
99
101
 
@@ -112,29 +114,7 @@
112
114
  <li class="public ">
113
115
  <span class="summary_signature">
114
116
 
115
- <a href="#debug-class_method" title="debug (class method)">+ (Object) <strong>debug</strong>(str) </a>
116
-
117
-
118
-
119
- </span>
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
- <span class="summary_desc"><div class='inline'></div></span>
130
-
131
- </li>
132
-
133
-
134
- <li class="public ">
135
- <span class="summary_signature">
136
-
137
- <a href="#error-class_method" title="error (class method)">+ (Object) <strong>error</strong>(str) </a>
117
+ <a href="#version-class_method" title="version (class method)">+ (Object) <strong>version</strong> </a>
138
118
 
139
119
 
140
120
 
@@ -163,39 +143,9 @@
163
143
 
164
144
 
165
145
  <div class="method_details first">
166
- <h3 class="signature first" id="debug-class_method">
146
+ <h3 class="signature first" id="version-class_method">
167
147
 
168
- + (<tt>Object</tt>) <strong>debug</strong>(str)
169
-
170
-
171
-
172
-
173
-
174
- </h3><table class="source_code">
175
- <tr>
176
- <td>
177
- <pre class="lines">
178
-
179
-
180
- 12
181
- 13
182
- 14</pre>
183
- </td>
184
- <td>
185
- <pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 12</span>
186
-
187
- <span class='kw'>def</span> <span class='const'>Mucgly</span><span class='op'>::</span><span class='id identifier rubyid_debug'>debug</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
188
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\nMucglyDebug: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_str'>str</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='const'>Opt</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>debug</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_given'>given</span>
189
- <span class='kw'>end</span></pre>
190
- </td>
191
- </tr>
192
- </table>
193
- </div>
194
-
195
- <div class="method_details ">
196
- <h3 class="signature " id="error-class_method">
197
-
198
- + (<tt>Object</tt>) <strong>error</strong>(str)
148
+ + (<tt>Object</tt>) <strong>version</strong>
199
149
 
200
150
 
201
151
 
@@ -207,23 +157,15 @@
207
157
  <pre class="lines">
208
158
 
209
159
 
160
+ 3
210
161
  4
211
- 5
212
- 6
213
- 7
214
- 8
215
- 9
216
- 10</pre>
162
+ 5</pre>
217
163
  </td>
218
164
  <td>
219
- <pre class="code"><span class="info file"># File 'lib/mucgly.rb', line 4</span>
220
-
221
- <span class='kw'>def</span> <span class='const'>Mucgly</span><span class='op'>::</span><span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span> <span class='id identifier rubyid_str'>str</span> <span class='rparen'>)</span>
222
- <span class='kw'>if</span> <span class='const'>Opt</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>warn_only</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_given'>given</span>
223
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>*** Mucgly Error: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_str'>str</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
224
- <span class='kw'>else</span>
225
- <span class='id identifier rubyid_raise'>raise</span> <span class='const'>RuntimeError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>*** Mucgly Error: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_str'>str</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
226
- <span class='kw'>end</span>
165
+ <pre class="code"><span class="info file"># File 'lib/version.rb', line 3</span>
166
+
167
+ <span class='kw'>def</span> <span class='const'>Mucgly</span><span class='period'>.</span><span class='id identifier rubyid_version'>version</span>
168
+ <span class='const'>Mucgly</span><span class='op'>::</span><span class='const'>VERSION</span>
227
169
  <span class='kw'>end</span></pre>
228
170
  </td>
229
171
  </tr>
@@ -235,9 +177,9 @@
235
177
  </div>
236
178
 
237
179
  <div id="footer">
238
- Generated on Wed Jan 15 19:44:10 2014 by
180
+ Generated on Fri Feb 27 16:43:23 2015 by
239
181
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
240
- 0.8.6.1 (ruby-1.9.3).
182
+ 0.8.7.6 (ruby-2.1.2).
241
183
  </div>
242
184
 
243
185
  </body>
data/doc/_index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Documentation by YARD 0.8.6.1
7
+ Documentation by YARD 0.8.7.6
8
8
 
9
9
  </title>
10
10
 
@@ -15,7 +15,7 @@
15
15
  <script type="text/javascript" charset="utf-8">
16
16
  hasFrames = window.top.frames.main ? true : false;
17
17
  relpath = '';
18
- framesUrl = "frames.html#!" + escape(window.location.href);
18
+ framesUrl = "frames.html#!_index.html";
19
19
  </script>
20
20
 
21
21
 
@@ -56,7 +56,7 @@
56
56
 
57
57
  <iframe id="search_frame"></iframe>
58
58
 
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.6.1</h1>
59
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</h1>
60
60
  <div id="listing">
61
61
  <h1 class="alphaindex">Alphabetic Index</h1>
62
62
 
@@ -83,41 +83,6 @@
83
83
  <td valign='top' width="33%">
84
84
 
85
85
 
86
- <ul id="alpha_E" class="alpha">
87
- <li class="letter">E</li>
88
- <ul>
89
-
90
- <li>
91
- <span class='object_link'><a href="EasyFile.html" title="EasyFile (module)">EasyFile</a></span>
92
-
93
- </li>
94
-
95
- <li>
96
- <span class='object_link'><a href="Mucgly/Env.html" title="Mucgly::Env (class)">Env</a></span>
97
-
98
- <small>(Mucgly)</small>
99
-
100
- </li>
101
-
102
- </ul>
103
- </ul>
104
-
105
-
106
- <ul id="alpha_I" class="alpha">
107
- <li class="letter">I</li>
108
- <ul>
109
-
110
- <li>
111
- <span class='object_link'><a href="EasyFile/InOut.html" title="EasyFile::InOut (class)">InOut</a></span>
112
-
113
- <small>(EasyFile)</small>
114
-
115
- </li>
116
-
117
- </ul>
118
- </ul>
119
-
120
-
121
86
  <ul id="alpha_M" class="alpha">
122
87
  <li class="letter">M</li>
123
88
  <ul>
@@ -127,119 +92,6 @@
127
92
 
128
93
  </li>
129
94
 
130
- <li>
131
- <span class='object_link'><a href="Mucgly/MucglyFile.html" title="Mucgly::MucglyFile (class)">MucglyFile</a></span>
132
-
133
- <small>(Mucgly)</small>
134
-
135
- </li>
136
-
137
- </ul>
138
- </ul>
139
-
140
-
141
- <ul id="alpha_P" class="alpha">
142
- <li class="letter">P</li>
143
- <ul>
144
-
145
- <li>
146
- <span class='object_link'><a href="Mucgly/MucglyFile/ParseState.html" title="Mucgly::MucglyFile::ParseState (class)">ParseState</a></span>
147
-
148
- <small>(Mucgly::MucglyFile)</small>
149
-
150
- </li>
151
-
152
- </ul>
153
- </ul>
154
-
155
-
156
- <ul id="alpha_R" class="alpha">
157
- <li class="letter">R</li>
158
- <ul>
159
-
160
- <li>
161
- <span class='object_link'><a href="EasyFile/Read.html" title="EasyFile::Read (class)">Read</a></span>
162
-
163
- <small>(EasyFile)</small>
164
-
165
- </li>
166
-
167
- <li>
168
- <span class='object_link'><a href="EasyFile/ReadStack.html" title="EasyFile::ReadStack (class)">ReadStack</a></span>
169
-
170
- <small>(EasyFile)</small>
171
-
172
- </li>
173
-
174
- </ul>
175
- </ul>
176
-
177
-
178
- <ul id="alpha_S" class="alpha">
179
- <li class="letter">S</li>
180
- <ul>
181
-
182
- <li>
183
- <span class='object_link'><a href="Mucgly/Separators.html" title="Mucgly::Separators (class)">Separators</a></span>
184
-
185
- <small>(Mucgly)</small>
186
-
187
- </li>
188
-
189
- <li>
190
- <span class='object_link'><a href="EasyFile/Stacked.html" title="EasyFile::Stacked (module)">Stacked</a></span>
191
-
192
- <small>(EasyFile)</small>
193
-
194
- </li>
195
-
196
- <li>
197
- <span class='object_link'><a href="EasyFile/String.html" title="EasyFile::String (class)">String</a></span>
198
-
199
- <small>(EasyFile)</small>
200
-
201
- </li>
202
-
203
- </ul>
204
- </ul>
205
-
206
-
207
- <ul id="alpha_T" class="alpha">
208
- <li class="letter">T</li>
209
- <ul>
210
-
211
- <li>
212
- <span class='object_link'><a href="Mucgly/MucglyFile/Token.html" title="Mucgly::MucglyFile::Token (class)">Token</a></span>
213
-
214
- <small>(Mucgly::MucglyFile)</small>
215
-
216
- </li>
217
-
218
- </ul>
219
- </ul>
220
-
221
-
222
- </td><td valign='top' width="33%">
223
-
224
-
225
- <ul id="alpha_W" class="alpha">
226
- <li class="letter">W</li>
227
- <ul>
228
-
229
- <li>
230
- <span class='object_link'><a href="EasyFile/Write.html" title="EasyFile::Write (class)">Write</a></span>
231
-
232
- <small>(EasyFile)</small>
233
-
234
- </li>
235
-
236
- <li>
237
- <span class='object_link'><a href="EasyFile/WriteStack.html" title="EasyFile::WriteStack (class)">WriteStack</a></span>
238
-
239
- <small>(EasyFile)</small>
240
-
241
- </li>
242
-
243
95
  </ul>
244
96
  </ul>
245
97
 
@@ -252,9 +104,9 @@
252
104
  </div>
253
105
 
254
106
  <div id="footer">
255
- Generated on Wed Jan 15 19:44:10 2014 by
107
+ Generated on Fri Feb 27 16:43:23 2015 by
256
108
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
257
- 0.8.6.1 (ruby-1.9.3).
109
+ 0.8.7.6 (ruby-2.1.2).
258
110
  </div>
259
111
 
260
112
  </body>
data/doc/class_list.html CHANGED
@@ -15,11 +15,16 @@
15
15
  <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
16
 
17
17
 
18
+ <title>Class List</title>
18
19
  <base id="base_target" target="_parent" />
19
20
  </head>
20
21
  <body>
21
22
  <script type="text/javascript" charset="utf-8">
22
- if (window.top.frames.main) {
23
+ var hasFrames = false;
24
+ try {
25
+ hasFrames = window.top.frames.main ? true : false;
26
+ } catch (e) { }
27
+ if (hasFrames) {
23
28
  document.getElementById('base_target').target = 'main';
24
29
  document.body.className = 'frames';
25
30
  }
@@ -45,7 +50,7 @@
45
50
 
46
51
  <ul id="full_list" class="class">
47
52
  <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
48
- <li><a class='toggle'></a> <span class='object_link'><a href="EasyFile.html" title="EasyFile (module)">EasyFile</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="EasyFile/InOut.html" title="EasyFile::InOut (class)">InOut</a></span> &lt; Object<small class='search_info'>EasyFile</small></li><li><span class='object_link'><a href="EasyFile/Read.html" title="EasyFile::Read (class)">Read</a></span> &lt; InOut<small class='search_info'>EasyFile</small></li><li><span class='object_link'><a href="EasyFile/ReadStack.html" title="EasyFile::ReadStack (class)">ReadStack</a></span> &lt; Object<small class='search_info'>EasyFile</small></li><li><span class='object_link'><a href="EasyFile/Stacked.html" title="EasyFile::Stacked (module)">Stacked</a></span><small class='search_info'>EasyFile</small></li><li><span class='object_link'><a href="EasyFile/String.html" title="EasyFile::String (class)">String</a></span> &lt; InOut<small class='search_info'>EasyFile</small></li><li><span class='object_link'><a href="EasyFile/Write.html" title="EasyFile::Write (class)">Write</a></span> &lt; InOut<small class='search_info'>EasyFile</small></li><li><span class='object_link'><a href="EasyFile/WriteStack.html" title="EasyFile::WriteStack (class)">WriteStack</a></span> &lt; Object<small class='search_info'>EasyFile</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="Mucgly.html" title="Mucgly (module)">Mucgly</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Mucgly/Env.html" title="Mucgly::Env (class)">Env</a></span> &lt; Object<small class='search_info'>Mucgly</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Mucgly/MucglyFile.html" title="Mucgly::MucglyFile (class)">MucglyFile</a></span> &lt; Object<small class='search_info'>Mucgly</small></li><ul><li><span class='object_link'><a href="Mucgly/MucglyFile/ParseState.html" title="Mucgly::MucglyFile::ParseState (class)">ParseState</a></span> &lt; Object<small class='search_info'>Mucgly::MucglyFile</small></li><li><span class='object_link'><a href="Mucgly/MucglyFile/Token.html" title="Mucgly::MucglyFile::Token (class)">Token</a></span> &lt; Object<small class='search_info'>Mucgly::MucglyFile</small></li></ul><li><span class='object_link'><a href="Mucgly/Separators.html" title="Mucgly::Separators (class)">Separators</a></span> &lt; Object<small class='search_info'>Mucgly</small></li></ul>
53
+ <li><span class='object_link'><a href="Mucgly.html" title="Mucgly (module)">Mucgly</a></span><small class='search_info'>Top Level Namespace</small></li>
49
54
 
50
55
  </ul>
51
56
  </div>
data/doc/css/style.css CHANGED
@@ -291,6 +291,7 @@ li.r2 { background: #fafafa; }
291
291
  -moz-box-shadow: -2px 2px 6px #bbb;
292
292
  z-index: 5000;
293
293
  position: relative;
294
+ overflow-x: auto;
294
295
  }
295
296
  #toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
296
297
  #toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
@@ -324,9 +325,9 @@ pre.code .dot + pre.code .id,
324
325
  pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
325
326
  pre.code .comment { color: #0066FF; }
326
327
  pre.code .const, pre.code .constant { color: #585CF6; }
328
+ pre.code .label,
327
329
  pre.code .symbol { color: #C5060B; }
328
330
  pre.code .kw,
329
- pre.code .label,
330
331
  pre.code .rubyid_require,
331
332
  pre.code .rubyid_extend,
332
333
  pre.code .rubyid_include { color: #0000FF; }