sycsvpro 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/Gemfile.lock +3 -1
  2. data/README.md +21 -8
  3. data/README.rdoc +3 -2
  4. data/bin/sycsvpro +17 -6
  5. data/lib/sycsvpro/aggregator.rb +16 -5
  6. data/lib/sycsvpro/calculator.rb +19 -5
  7. data/lib/sycsvpro/counter.rb +17 -7
  8. data/lib/sycsvpro/dsl.rb +43 -0
  9. data/lib/sycsvpro/filter.rb +0 -7
  10. data/lib/sycsvpro/sorter.rb +28 -8
  11. data/lib/sycsvpro/version.rb +1 -1
  12. data/spec/sycsvpro/sorter_spec.rb +50 -0
  13. data/sycsvpro.gemspec +1 -0
  14. metadata +18 -66
  15. data/html/Dsl.html +0 -277
  16. data/html/Object.html +0 -187
  17. data/html/README_rdoc.html +0 -187
  18. data/html/Sycsvpro/Aggregator.html +0 -482
  19. data/html/Sycsvpro/Allocator.html +0 -293
  20. data/html/Sycsvpro/Analyzer.html +0 -239
  21. data/html/Sycsvpro/Calculator.html +0 -407
  22. data/html/Sycsvpro/Collector.html +0 -281
  23. data/html/Sycsvpro/ColumnFilter.html +0 -170
  24. data/html/Sycsvpro/ColumnTypeFilter.html +0 -191
  25. data/html/Sycsvpro/Counter.html +0 -492
  26. data/html/Sycsvpro/Extractor.html +0 -269
  27. data/html/Sycsvpro/Filter.html +0 -411
  28. data/html/Sycsvpro/Header.html +0 -239
  29. data/html/Sycsvpro/Inserter.html +0 -275
  30. data/html/Sycsvpro/Mapper.html +0 -288
  31. data/html/Sycsvpro/Profiler.html +0 -234
  32. data/html/Sycsvpro/RowFilter.html +0 -175
  33. data/html/Sycsvpro/ScriptCreator.html +0 -235
  34. data/html/Sycsvpro/ScriptList.html +0 -281
  35. data/html/Sycsvpro/Sorter.html +0 -346
  36. data/html/Sycsvpro.html +0 -155
  37. data/html/created.rid +0 -24
  38. data/html/fonts/Lato-Light.ttf +0 -0
  39. data/html/fonts/Lato-LightItalic.ttf +0 -0
  40. data/html/fonts/Lato-Regular.ttf +0 -0
  41. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  42. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  43. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  44. data/html/fonts.css +0 -167
  45. data/html/images/add.png +0 -0
  46. data/html/images/arrow_up.png +0 -0
  47. data/html/images/brick.png +0 -0
  48. data/html/images/brick_link.png +0 -0
  49. data/html/images/bug.png +0 -0
  50. data/html/images/bullet_black.png +0 -0
  51. data/html/images/bullet_toggle_minus.png +0 -0
  52. data/html/images/bullet_toggle_plus.png +0 -0
  53. data/html/images/date.png +0 -0
  54. data/html/images/delete.png +0 -0
  55. data/html/images/find.png +0 -0
  56. data/html/images/loadingAnimation.gif +0 -0
  57. data/html/images/macFFBgHack.png +0 -0
  58. data/html/images/package.png +0 -0
  59. data/html/images/page_green.png +0 -0
  60. data/html/images/page_white_text.png +0 -0
  61. data/html/images/page_white_width.png +0 -0
  62. data/html/images/plugin.png +0 -0
  63. data/html/images/ruby.png +0 -0
  64. data/html/images/tag_blue.png +0 -0
  65. data/html/images/tag_green.png +0 -0
  66. data/html/images/transparent.png +0 -0
  67. data/html/images/wrench.png +0 -0
  68. data/html/images/wrench_orange.png +0 -0
  69. data/html/images/zoom.png +0 -0
  70. data/html/index.html +0 -225
  71. data/html/js/darkfish.js +0 -140
  72. data/html/js/jquery.js +0 -18
  73. data/html/js/navigation.js +0 -142
  74. data/html/js/search.js +0 -109
  75. data/html/js/search_index.js +0 -1
  76. data/html/js/searcher.js +0 -228
  77. data/html/rdoc.css +0 -580
  78. data/html/table_of_contents.html +0 -347
@@ -1,234 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class Sycsvpro::Profiler - Your application title</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
- <script type="text/javascript">
13
- var rdoc_rel_prefix = "../";
14
- </script>
15
-
16
- <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
- <script src="../js/darkfish.js"></script>
22
-
23
-
24
- <body id="top" role="document" class="class">
25
- <nav role="navigation">
26
- <div id="project-navigation">
27
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
- <h2>
29
- <a href="../index.html" rel="home">Home</a>
30
- </h2>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="../table_of_contents.html#pages">Pages</a>
34
- <a href="../table_of_contents.html#classes">Classes</a>
35
- <a href="../table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
41
- <div id="search-field-wrapper">
42
- <input id="search-field" role="combobox" aria-label="Search"
43
- aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
45
- title="Type to search, Up and Down to navigate, Enter to load">
46
- </div>
47
-
48
- <ul id="search-results" aria-label="Search Results"
49
- aria-busy="false" aria-expanded="false"
50
- aria-atomic="false" class="initially-hidden"></ul>
51
- </form>
52
- </div>
53
-
54
- </div>
55
-
56
-
57
-
58
- <div id="class-metadata">
59
-
60
- <div id="parent-class-section" class="nav-section">
61
- <h3>Parent</h3>
62
-
63
-
64
- <p class="link"><a href="../Object.html">Object</a>
65
-
66
- </div>
67
-
68
- <div id="includes-section" class="nav-section">
69
- <h3>Included Modules</h3>
70
-
71
- <ul class="link-list">
72
-
73
-
74
- <li><a class="include" href="../Dsl.html">Dsl</a>
75
-
76
-
77
- </ul>
78
- </div>
79
-
80
-
81
- <!-- Method Quickref -->
82
- <div id="method-list-section" class="nav-section">
83
- <h3>Methods</h3>
84
-
85
- <ul class="link-list" role="directory">
86
-
87
- <li ><a href="#method-c-new">::new</a>
88
-
89
- <li ><a href="#method-i-execute">#execute</a>
90
-
91
- </ul>
92
- </div>
93
-
94
- </div>
95
- </nav>
96
-
97
- <main role="main" aria-labelledby="class-Sycsvpro::Profiler">
98
- <h1 id="class-Sycsvpro::Profiler" class="class">
99
- class Sycsvpro::Profiler
100
- </h1>
101
-
102
- <section class="description">
103
-
104
- <p>A profiler takes a Ruby script and executes the provided method in the
105
- script</p>
106
-
107
- </section>
108
-
109
-
110
-
111
-
112
- <section id="5Buntitled-5D" class="documentation-section">
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
- <section class="attribute-method-details" class="method-section">
121
- <header>
122
- <h3>Attributes</h3>
123
- </header>
124
-
125
-
126
- <div id="attribute-i-pro_file" class="method-detail">
127
- <div class="method-heading attribute-method-heading">
128
- <span class="method-name">pro_file</span><span
129
- class="attribute-access-type">[R]</span>
130
- </div>
131
-
132
- <div class="method-description">
133
-
134
- <p>Ruby script file</p>
135
-
136
- </div>
137
- </div>
138
-
139
- </section>
140
-
141
-
142
-
143
- <section id="public-class-5Buntitled-5D-method-details" class="method-section">
144
- <header>
145
- <h3>Public Class Methods</h3>
146
- </header>
147
-
148
-
149
- <div id="method-c-new" class="method-detail ">
150
-
151
- <div class="method-heading">
152
- <span class="method-name">new</span><span
153
- class="method-args">(pro_file)</span>
154
-
155
- <span class="method-click-advice">click to toggle source</span>
156
-
157
- </div>
158
-
159
-
160
- <div class="method-description">
161
-
162
- <p>Creates a new profiler</p>
163
-
164
-
165
-
166
-
167
- <div class="method-source-code" id="new-source">
168
- <pre><span class="ruby-comment"># File lib/sycsvpro/profiler.rb, line 15</span>
169
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">pro_file</span>)
170
- <span class="ruby-identifier">require</span> <span class="ruby-identifier">pro_file</span>
171
- <span class="ruby-keyword">end</span></pre>
172
- </div>
173
-
174
- </div>
175
-
176
-
177
-
178
-
179
- </div>
180
-
181
-
182
- </section>
183
-
184
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
185
- <header>
186
- <h3>Public Instance Methods</h3>
187
- </header>
188
-
189
-
190
- <div id="method-i-execute" class="method-detail ">
191
-
192
- <div class="method-heading">
193
- <span class="method-name">execute</span><span
194
- class="method-args">(method)</span>
195
-
196
- <span class="method-click-advice">click to toggle source</span>
197
-
198
- </div>
199
-
200
-
201
- <div class="method-description">
202
-
203
- <p>Executes the provided method in the Ruby script</p>
204
-
205
-
206
-
207
-
208
- <div class="method-source-code" id="execute-source">
209
- <pre><span class="ruby-comment"># File lib/sycsvpro/profiler.rb, line 20</span>
210
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">method</span>)
211
- <span class="ruby-identifier">send</span>(<span class="ruby-identifier">method</span>)
212
- <span class="ruby-keyword">end</span></pre>
213
- </div>
214
-
215
- </div>
216
-
217
-
218
-
219
-
220
- </div>
221
-
222
-
223
- </section>
224
-
225
- </section>
226
- </main>
227
-
228
-
229
- <footer id="validator-badges" role="contentinfo">
230
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
231
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
232
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
233
- </footer>
234
-
@@ -1,175 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class Sycsvpro::RowFilter - Your application title</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
- <script type="text/javascript">
13
- var rdoc_rel_prefix = "../";
14
- </script>
15
-
16
- <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
- <script src="../js/darkfish.js"></script>
22
-
23
-
24
- <body id="top" role="document" class="class">
25
- <nav role="navigation">
26
- <div id="project-navigation">
27
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
- <h2>
29
- <a href="../index.html" rel="home">Home</a>
30
- </h2>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="../table_of_contents.html#pages">Pages</a>
34
- <a href="../table_of_contents.html#classes">Classes</a>
35
- <a href="../table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
41
- <div id="search-field-wrapper">
42
- <input id="search-field" role="combobox" aria-label="Search"
43
- aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
45
- title="Type to search, Up and Down to navigate, Enter to load">
46
- </div>
47
-
48
- <ul id="search-results" aria-label="Search Results"
49
- aria-busy="false" aria-expanded="false"
50
- aria-atomic="false" class="initially-hidden"></ul>
51
- </form>
52
- </div>
53
-
54
- </div>
55
-
56
-
57
-
58
- <div id="class-metadata">
59
-
60
- <div id="parent-class-section" class="nav-section">
61
- <h3>Parent</h3>
62
-
63
-
64
- <p class="link"><a href="Filter.html">Sycsvpro::Filter</a>
65
-
66
- </div>
67
-
68
- <div id="includes-section" class="nav-section">
69
- <h3>Included Modules</h3>
70
-
71
- <ul class="link-list">
72
-
73
-
74
- <li><a class="include" href="../Dsl.html">Dsl</a>
75
-
76
-
77
- </ul>
78
- </div>
79
-
80
-
81
- <!-- Method Quickref -->
82
- <div id="method-list-section" class="nav-section">
83
- <h3>Methods</h3>
84
-
85
- <ul class="link-list" role="directory">
86
-
87
- <li ><a href="#method-i-process">#process</a>
88
-
89
- </ul>
90
- </div>
91
-
92
- </div>
93
- </nav>
94
-
95
- <main role="main" aria-labelledby="class-Sycsvpro::RowFilter">
96
- <h1 id="class-Sycsvpro::RowFilter" class="class">
97
- class Sycsvpro::RowFilter
98
- </h1>
99
-
100
- <section class="description">
101
-
102
- <p>Filters rows based on provided patterns</p>
103
-
104
- </section>
105
-
106
-
107
-
108
-
109
- <section id="5Buntitled-5D" class="documentation-section">
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
120
- <header>
121
- <h3>Public Instance Methods</h3>
122
- </header>
123
-
124
-
125
- <div id="method-i-process" class="method-detail ">
126
-
127
- <div class="method-heading">
128
- <span class="method-name">process</span><span
129
- class="method-args">(object, options={})</span>
130
-
131
- <span class="method-click-advice">click to toggle source</span>
132
-
133
- </div>
134
-
135
-
136
- <div class="method-description">
137
-
138
- <p>Processes the filter on the given row</p>
139
-
140
-
141
-
142
-
143
- <div class="method-source-code" id="process-source">
144
- <pre><span class="ruby-comment"># File lib/sycsvpro/row_filter.rb, line 13</span>
145
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">process</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">options</span>={})
146
- <span class="ruby-identifier">object</span> = <span class="ruby-identifier">unstring</span>(<span class="ruby-identifier">object</span>)
147
- <span class="ruby-keyword">return</span> <span class="ruby-identifier">object</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">has_filter?</span>
148
- <span class="ruby-identifier">filtered</span> = <span class="ruby-operator">!</span><span class="ruby-identifier">filter</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">uniq</span>.<span class="ruby-identifier">index</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:row</span>]).<span class="ruby-identifier">nil?</span>
149
- <span class="ruby-identifier">pattern</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span>
150
- <span class="ruby-identifier">filtered</span> = (<span class="ruby-identifier">filtered</span> <span class="ruby-keyword">or</span> <span class="ruby-operator">!</span>(<span class="ruby-identifier">object</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">p</span>)).<span class="ruby-identifier">nil?</span>)
151
- <span class="ruby-keyword">end</span>
152
- <span class="ruby-identifier">filtered</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">object</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>
153
- <span class="ruby-keyword">end</span></pre>
154
- </div>
155
-
156
- </div>
157
-
158
-
159
-
160
-
161
- </div>
162
-
163
-
164
- </section>
165
-
166
- </section>
167
- </main>
168
-
169
-
170
- <footer id="validator-badges" role="contentinfo">
171
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
172
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
173
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
174
- </footer>
175
-
@@ -1,235 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class Sycsvpro::ScriptCreator - Your application title</title>
8
-
9
- <link href="../fonts.css" rel="stylesheet">
10
- <link href="../rdoc.css" rel="stylesheet">
11
-
12
- <script type="text/javascript">
13
- var rdoc_rel_prefix = "../";
14
- </script>
15
-
16
- <script src="../js/jquery.js"></script>
17
- <script src="../js/navigation.js"></script>
18
- <script src="../js/search_index.js"></script>
19
- <script src="../js/search.js"></script>
20
- <script src="../js/searcher.js"></script>
21
- <script src="../js/darkfish.js"></script>
22
-
23
-
24
- <body id="top" role="document" class="class">
25
- <nav role="navigation">
26
- <div id="project-navigation">
27
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
- <h2>
29
- <a href="../index.html" rel="home">Home</a>
30
- </h2>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="../table_of_contents.html#pages">Pages</a>
34
- <a href="../table_of_contents.html#classes">Classes</a>
35
- <a href="../table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
41
- <div id="search-field-wrapper">
42
- <input id="search-field" role="combobox" aria-label="Search"
43
- aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
45
- title="Type to search, Up and Down to navigate, Enter to load">
46
- </div>
47
-
48
- <ul id="search-results" aria-label="Search Results"
49
- aria-busy="false" aria-expanded="false"
50
- aria-atomic="false" class="initially-hidden"></ul>
51
- </form>
52
- </div>
53
-
54
- </div>
55
-
56
-
57
-
58
- <div id="class-metadata">
59
-
60
- <div id="parent-class-section" class="nav-section">
61
- <h3>Parent</h3>
62
-
63
-
64
- <p class="link"><a href="../Object.html">Object</a>
65
-
66
- </div>
67
-
68
-
69
-
70
- <!-- Method Quickref -->
71
- <div id="method-list-section" class="nav-section">
72
- <h3>Methods</h3>
73
-
74
- <ul class="link-list" role="directory">
75
-
76
- <li ><a href="#method-c-new">::new</a>
77
-
78
- </ul>
79
- </div>
80
-
81
- </div>
82
- </nav>
83
-
84
- <main role="main" aria-labelledby="class-Sycsvpro::ScriptCreator">
85
- <h1 id="class-Sycsvpro::ScriptCreator" class="class">
86
- class Sycsvpro::ScriptCreator
87
- </h1>
88
-
89
- <section class="description">
90
-
91
- <p>Creates a ruby script scaffold</p>
92
-
93
- </section>
94
-
95
-
96
-
97
-
98
- <section id="5Buntitled-5D" class="documentation-section">
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
- <section class="attribute-method-details" class="method-section">
107
- <header>
108
- <h3>Attributes</h3>
109
- </header>
110
-
111
-
112
- <div id="attribute-i-dir" class="method-detail">
113
- <div class="method-heading attribute-method-heading">
114
- <span class="method-name">dir</span><span
115
- class="attribute-access-type">[R]</span>
116
- </div>
117
-
118
- <div class="method-description">
119
-
120
- <p>Directory of the script files</p>
121
-
122
- </div>
123
- </div>
124
-
125
- <div id="attribute-i-method_name" class="method-detail">
126
- <div class="method-heading attribute-method-heading">
127
- <span class="method-name">method_name</span><span
128
- class="attribute-access-type">[R]</span>
129
- </div>
130
-
131
- <div class="method-description">
132
-
133
- <p>Method name</p>
134
-
135
- </div>
136
- </div>
137
-
138
- <div id="attribute-i-script_file" class="method-detail">
139
- <div class="method-heading attribute-method-heading">
140
- <span class="method-name">script_file</span><span
141
- class="attribute-access-type">[R]</span>
142
- </div>
143
-
144
- <div class="method-description">
145
-
146
- <p><a href="ScriptCreator.html#attribute-i-script_file">#script_file</a> path</p>
147
-
148
- </div>
149
- </div>
150
-
151
- <div id="attribute-i-script_name" class="method-detail">
152
- <div class="method-heading attribute-method-heading">
153
- <span class="method-name">script_name</span><span
154
- class="attribute-access-type">[R]</span>
155
- </div>
156
-
157
- <div class="method-description">
158
-
159
- <p>Script name</p>
160
-
161
- </div>
162
- </div>
163
-
164
- <div id="attribute-i-script_type" class="method-detail">
165
- <div class="method-heading attribute-method-heading">
166
- <span class="method-name">script_type</span><span
167
- class="attribute-access-type">[R]</span>
168
- </div>
169
-
170
- <div class="method-description">
171
-
172
- <p>type of the script-file</p>
173
-
174
- </div>
175
- </div>
176
-
177
- </section>
178
-
179
-
180
-
181
- <section id="public-class-5Buntitled-5D-method-details" class="method-section">
182
- <header>
183
- <h3>Public Class Methods</h3>
184
- </header>
185
-
186
-
187
- <div id="method-c-new" class="method-detail ">
188
-
189
- <div class="method-heading">
190
- <span class="method-name">new</span><span
191
- class="method-args">(options={})</span>
192
-
193
- <span class="method-click-advice">click to toggle source</span>
194
-
195
- </div>
196
-
197
-
198
- <div class="method-description">
199
-
200
- <p>Creates a new <a href="ScriptCreator.html">ScriptCreator</a></p>
201
-
202
-
203
-
204
-
205
- <div class="method-source-code" id="new-source">
206
- <pre><span class="ruby-comment"># File lib/sycsvpro/script_creator.rb, line 19</span>
207
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>={})
208
- <span class="ruby-ivar">@dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:dir</span>], <span class="ruby-string">&#39;scripts&#39;</span>)
209
- <span class="ruby-ivar">@script_name</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:script</span>]
210
- <span class="ruby-ivar">@script_type</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">extname</span>(<span class="ruby-ivar">@script_name</span>)
211
- <span class="ruby-ivar">@method_name</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:method</span>] <span class="ruby-keyword">if</span> <span class="ruby-ivar">@script_type</span> <span class="ruby-operator">==</span> <span class="ruby-string">&#39;.rb&#39;</span>
212
- <span class="ruby-identifier">create_script</span>
213
- <span class="ruby-keyword">end</span></pre>
214
- </div>
215
-
216
- </div>
217
-
218
-
219
-
220
-
221
- </div>
222
-
223
-
224
- </section>
225
-
226
- </section>
227
- </main>
228
-
229
-
230
- <footer id="validator-badges" role="contentinfo">
231
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
232
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
233
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
234
- </footer>
235
-