docs/closure/Closure/Compiler/Compilation.html in closure-1.5.5 vs docs/closure/Closure/Compiler/Compilation.html in closure-1.5.6
- old
+ new
@@ -202,10 +202,34 @@
<li class="public ">
<span class="summary_signature">
+ <a href="#compiled%3F-instance_method" title="#compiled? (instance method)">- (Boolean) <strong>compiled?</strong> </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'>
+<p>True when compilation actually happened.</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Compilation) <strong>initialize</strong>(env, js_output_file = nil, log = nil) </a>
</span>
@@ -467,17 +491,17 @@
<tr>
<td>
<pre class="lines">
-132
-133
-134
-135</pre>
+138
+139
+140
+141</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 132</span>
+ <pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 138</span>
<span class='kw'>def</span> <span class='op'><<</span><span class='lparen'>(</span><span class='id identifier rubyid_javascript'>javascript</span><span class='rparen'>)</span>
<span class='ivar'>@javascript</span> <span class='op'><<</span> <span class='id identifier rubyid_javascript'>javascript</span>
<span class='kw'>self</span>
<span class='kw'>end</span></pre>
@@ -485,10 +509,64 @@
</tr>
</table>
</div>
<div class="method_details ">
+ <h3 class="signature " id="compiled?-instance_method">
+
+ - (<tt>Boolean</tt>) <strong>compiled?</strong>
+
+
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+<p>True when compilation actually happened. False when build was up to date.</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+<p class="tag_title">Returns:</p>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>Boolean</tt>)</span>
+
+
+
+ </li>
+
+</ul>
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+106
+107
+108</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 106</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_compiled?'>compiled?</span>
+ <span class='op'>!</span><span class='op'>!</span><span class='ivar'>@log</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
<h3 class="signature " id="javascript-instance_method">
- <strong>javascript</strong>
@@ -522,21 +600,21 @@
<tr>
<td>
<pre class="lines">
-140
-141
-142
-143
-144
-145
146
-147</pre>
+147
+148
+149
+150
+151
+152
+153</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 140</span>
+ <pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 146</span>
<span class='kw'>def</span> <span class='id identifier rubyid_javascript'>javascript</span>
<span class='kw'>if</span> <span class='ivar'>@js_output_file</span>
<span class='id identifier rubyid_file_js'>file_js</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='ivar'>@js_output_file</span><span class='rparen'>)</span> <span class='kw'>rescue</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
<span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_file_js'>file_js</span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='ivar'>@javascript</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='kw'>nil</span>
@@ -596,16 +674,10 @@
<tr>
<td>
<pre class="lines">
-110
-111
-112
-113
-114
-115
116
117
118
119
120
@@ -614,14 +686,20 @@
123
124
125
126
127
-128</pre>
+128
+129
+130
+131
+132
+133
+134</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 110</span>
+ <pre class="code"><span class="info file"># File 'lib/closure/compiler.rb', line 116</span>
<span class='kw'>def</span> <span class='id identifier rubyid_to_response'>to_response</span>
<span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_log'>log</span> <span class='kw'>and</span> <span class='ivar'>@javascript</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='kw'>and</span> <span class='ivar'>@js_output_file</span>
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='const'>FileResponse</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='ivar'>@env</span><span class='comma'>,</span> <span class='ivar'>@js_output_file</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>application/javascript</span><span class='tstring_end'>'</span></span>
<span class='kw'>else</span>
@@ -648,10 +726,10 @@
</div>
</div>
<div id="footer">
- Generated on Fri Jan 27 11:18:50 2017 by
+ Generated on Fri Jan 27 13:12:58 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.7.6 (ruby-2.1.8).
</div>
</body>
\ No newline at end of file