doc/TableSetter/Command.html in table_setter-0.2.6 vs doc/TableSetter/Command.html in table_setter-0.2.7
- old
+ new
@@ -232,18 +232,20 @@
32
33
34
35
36
-37</pre>
+37
+38</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/table_setter/command.rb', line 25</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span>
<span class='@prefix ivar id'>@prefix</span> <span class='assign token'>=</span> <span class='string val'>""</span>
<span class='parse_options identifier id'>parse_options</span>
+ <span class='@prefix ivar id'>@prefix</span> <span class='assign token'>=</span> <span class='dstring node'>"/#{@prefix}/"</span><span class='dot token'>.</span><span class='gsub identifier id'>gsub</span><span class='lparen token'>(</span><span class='regexp val'>/^\/\//</span><span class='comma token'>,</span> <span class='string val'>"/"</span><span class='rparen token'>)</span>
<span class='command identifier id'>command</span> <span class='assign token'>=</span> <span class='ARGV constant id'>ARGV</span><span class='dot token'>.</span><span class='shift identifier id'>shift</span>
<span class='@directory ivar id'>@directory</span> <span class='assign token'>=</span> <span class='ARGV constant id'>ARGV</span><span class='dot token'>.</span><span class='shift identifier id'>shift</span> <span class='orop op'>||</span> <span class='string val'>'.'</span>
<span class='TableSetter constant id'>TableSetter</span><span class='dot token'>.</span><span class='configure identifier id'>configure</span> <span class='@directory ivar id'>@directory</span>
<span class='case case kw'>case</span> <span class='command identifier id'>command</span>
<span class='when when kw'>when</span> <span class='string val'>'start'</span> <span class='then then kw'>then</span> <span class='start_server identifier id'>start_server</span>
@@ -276,31 +278,31 @@
<tr>
<td>
<pre class="lines">
+53
54
55
56
57
58
59
60
-61
-62</pre>
+61</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/table_setter/command.rb', line 54</span>
+ <pre class="code"><span class="info file"># File 'lib/table_setter/command.rb', line 53</span>
<span class='def def kw'>def</span> <span class='build_out identifier id'>build_out</span>
<span class='@out_dir ivar id'>@out_dir</span> <span class='assign token'>=</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='TableSetter constant id'>TableSetter</span><span class='dot token'>.</span><span class='config_path identifier id'>config_path</span><span class='comma token'>,</span> <span class='string val'>'out'</span><span class='comma token'>,</span> <span class='@prefix ivar id'>@prefix</span><span class='rparen token'>)</span>
<span class='puts identifier id'>puts</span> <span class='string val'>"\nBuilding your TableSetter files...\n\n"</span>
<span class='app identifier id'>app</span> <span class='assign token'>=</span> <span class='build_rack identifier id'>build_rack</span>
- <span class='request identifier id'>request</span> <span class='assign token'>=</span> <span class='Rack constant id'>Rack</span><span class='colon2 op'>::</span><span class='MockRequest constant id'>MockRequest</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='app identifier id'>app</span><span class='rparen token'>)</span>
- <span class='build_index identifier id'>build_index</span> <span class='request identifier id'>request</span>
+ <span class='@request ivar id'>@request</span> <span class='assign token'>=</span> <span class='Rack constant id'>Rack</span><span class='colon2 op'>::</span><span class='MockRequest constant id'>MockRequest</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='app identifier id'>app</span><span class='rparen token'>)</span>
+ <span class='build_index identifier id'>build_index</span>
<span class='build_assets identifier id'>build_assets</span>
- <span class='build_tables identifier id'>build_tables</span> <span class='request identifier id'>request</span>
+ <span class='build_tables identifier id'>build_tables</span>
<span class='end end kw'>end</span>
</pre>
</td>
</tr>
</table>
@@ -317,20 +319,20 @@
<tr>
<td>
<pre class="lines">
-44
45
46
47
48
49
-50</pre>
+50
+51</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/table_setter/command.rb', line 44</span>
+ <pre class="code"><span class="info file"># File 'lib/table_setter/command.rb', line 45</span>
<span class='def def kw'>def</span> <span class='install_assets identifier id'>install_assets</span>
<span class='FileUtils constant id'>FileUtils</span><span class='dot token'>.</span><span class='mkdir_p identifier id'>mkdir_p</span> <span class='@directory ivar id'>@directory</span> <span class='unless unless_mod kw'>unless</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='exists? fid id'>exists?</span> <span class='@directory ivar id'>@directory</span>
<span class='puts identifier id'>puts</span> <span class='string val'>"\nInstalling TableSetter files...\n\n"</span>
<span class='base_files identifier id'>base_files</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='path identifier id'>path</span><span class='bitor op'>|</span>
@@ -354,17 +356,17 @@
<tr>
<td>
<pre class="lines">
-39
40
41
-42</pre>
+42
+43</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/table_setter/command.rb', line 39</span>
+ <pre class="code"><span class="info file"># File 'lib/table_setter/command.rb', line 40</span>
<span class='def def kw'>def</span> <span class='start_server identifier id'>start_server</span>
<span class='app identifier id'>app</span> <span class='assign token'>=</span> <span class='build_rack identifier id'>build_rack</span>
<span class='Rack constant id'>Rack</span><span class='colon2 op'>::</span><span class='Handler constant id'>Handler</span><span class='colon2 op'>::</span><span class='Thin constant id'>Thin</span><span class='dot token'>.</span><span class='run identifier id'>run</span> <span class='app identifier id'>app</span><span class='comma token'>,</span> <span class='symbol val'>:Port</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='string val'>"3000"</span>
<span class='end end kw'>end</span>
@@ -377,10 +379,10 @@
</div>
</div>
<div id="footer">
- Generated on Thu Nov 4 18:34:16 2010 by
+ Generated on Thu Apr 14 16:57:06 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.6.1 (ruby-1.8.7).
</div>
</body>
\ No newline at end of file