doc/TaskJuggler/Tj3SheetAppBase.html in taskjuggler-0.0.8 vs doc/TaskJuggler/Tj3SheetAppBase.html in taskjuggler-0.0.9

- old
+ new

@@ -129,10 +129,12 @@ <li><a href="../TaskJuggler/AttributeBase.html">TaskJuggler::AttributeBase</a></li> <li><a href="../TaskJuggler/AttributeDefinition.html">TaskJuggler::AttributeDefinition</a></li> + <li><a href="../TaskJuggler/AttributeOverwrite.html">TaskJuggler::AttributeOverwrite</a></li> + <li><a href="../TaskJuggler/BatchProcessor.html">TaskJuggler::BatchProcessor</a></li> <li><a href="../TaskJuggler/Booking.html">TaskJuggler::Booking</a></li> <li><a href="../TaskJuggler/BookingListAttribute.html">TaskJuggler::BookingListAttribute</a></li> @@ -207,10 +209,12 @@ <li><a href="../TaskJuggler/HTMLGraphics.html">TaskJuggler::HTMLGraphics</a></li> <li><a href="../TaskJuggler/Interval.html">TaskJuggler::Interval</a></li> + <li><a href="../TaskJuggler/IntervalList.html">TaskJuggler::IntervalList</a></li> + <li><a href="../TaskJuggler/IntervalListAttribute.html">TaskJuggler::IntervalListAttribute</a></li> <li><a href="../TaskJuggler/JobInfo.html">TaskJuggler::JobInfo</a></li> <li><a href="../TaskJuggler/Journal.html">TaskJuggler::Journal</a></li> @@ -239,10 +243,12 @@ <li><a href="../TaskJuggler/LogicalExpression.html">TaskJuggler::LogicalExpression</a></li> <li><a href="../TaskJuggler/LogicalExpressionAttribute.html">TaskJuggler::LogicalExpressionAttribute</a></li> + <li><a href="../TaskJuggler/LogicalExpressionListAttribute.html">TaskJuggler::LogicalExpressionListAttribute</a></li> + <li><a href="../TaskJuggler/LogicalFlag.html">TaskJuggler::LogicalFlag</a></li> <li><a href="../TaskJuggler/LogicalFunction.html">TaskJuggler::LogicalFunction</a></li> <li><a href="../TaskJuggler/LogicalOperation.html">TaskJuggler::LogicalOperation</a></li> @@ -519,10 +525,12 @@ <li><a href="../TaskJuggler/VimSyntax.html">TaskJuggler::VimSyntax</a></li> <li><a href="../TaskJuggler/WebServer.html">TaskJuggler::WebServer</a></li> + <li><a href="../TaskJuggler/WelcomePage.html">TaskJuggler::WelcomePage</a></li> + <li><a href="../TaskJuggler/WorkingHours.html">TaskJuggler::WorkingHours</a></li> <li><a href="../TaskJuggler/WorkingHoursAttribute.html">TaskJuggler::WorkingHoursAttribute</a></li> <li><a href="../TaskJuggler/XMLBlob.html">TaskJuggler::XMLBlob</a></li> @@ -545,12 +553,10 @@ <li><a href="../RuntimeConfig.html">RuntimeConfig</a></li> <li><a href="../String.html">String</a></li> - <li><a href="../StringIO.html">StringIO</a></li> - </ul> <div id="no-class-search-results" style="display: none;">No matching classes.</div> </div> @@ -594,17 +600,17 @@ <div class="method-source-code" id="new-source"> <pre> - <span class="ruby-comment cmt"># File lib/Tj3SheetAppBase.rb, line 19</span> -19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -20: <span class="ruby-keyword kw">super</span> -21: -22: <span class="ruby-ivar">@dryRun</span> = <span class="ruby-keyword kw">false</span> -23: <span class="ruby-ivar">@workingDir</span> = <span class="ruby-keyword kw">nil</span> -24: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/Tj3SheetAppBase.rb, line 20</span> +20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +21: <span class="ruby-keyword kw">super</span> +22: +23: <span class="ruby-ivar">@dryRun</span> = <span class="ruby-keyword kw">false</span> +24: <span class="ruby-ivar">@workingDir</span> = <span class="ruby-keyword kw">nil</span> +25: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -637,25 +643,25 @@ <div class="method-source-code" id="opts-nd-ate-source"> <pre> - <span class="ruby-comment cmt"># File lib/Tj3SheetAppBase.rb, line 41</span> -41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">optsEndDate</span> -42: <span class="ruby-ivar">@opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">'-e'</span>, <span class="ruby-value str">'--enddate &lt;DAY&gt;'</span>, <span class="ruby-constant">String</span>, -43: <span class="ruby-identifier">format</span>(<span class="ruby-value str">&quot;The end date of the reporting period. Either as &quot;</span> <span class="ruby-operator">+</span> -44: <span class="ruby-value str">&quot;YYYY-MM-DD or day of week. 0: Sunday, 1: Monday and &quot;</span> <span class="ruby-operator">+</span> -45: <span class="ruby-node">&quot;so on. The default value is #{@date}.&quot;</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span> -46: <span class="ruby-identifier">ymdFilter</span> = <span class="ruby-regexp re">/([0-9]{4})-([0-9]{2})-([0-9]{2})/</span> -47: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">ymdFilter</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">arg</span>) -48: <span class="ruby-ivar">@date</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">mktime</span>(*(<span class="ruby-identifier">ymdFilter</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">arg</span>)[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">3</span>])) -49: <span class="ruby-keyword kw">else</span> -50: <span class="ruby-ivar">@date</span> = <span class="ruby-constant">TjTime</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">nextDayOfWeek</span>(<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">%</span> <span class="ruby-value">7</span>) -51: <span class="ruby-keyword kw">end</span> -52: <span class="ruby-ivar">@date</span> = <span class="ruby-ivar">@date</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-value str">'%Y-%m-%d'</span>) -53: <span class="ruby-keyword kw">end</span> -54: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/Tj3SheetAppBase.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">optsEndDate</span> +43: <span class="ruby-ivar">@opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">'-e'</span>, <span class="ruby-value str">'--enddate &lt;DAY&gt;'</span>, <span class="ruby-constant">String</span>, +44: <span class="ruby-identifier">format</span>(<span class="ruby-value str">&quot;The end date of the reporting period. Either as &quot;</span> <span class="ruby-operator">+</span> +45: <span class="ruby-value str">&quot;YYYY-MM-DD or day of week. 0: Sunday, 1: Monday and &quot;</span> <span class="ruby-operator">+</span> +46: <span class="ruby-node">&quot;so on. The default value is #{@date}.&quot;</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span> +47: <span class="ruby-identifier">ymdFilter</span> = <span class="ruby-regexp re">/([0-9]{4})-([0-9]{2})-([0-9]{2})/</span> +48: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">ymdFilter</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">arg</span>) +49: <span class="ruby-ivar">@date</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">mktime</span>(*(<span class="ruby-identifier">ymdFilter</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">arg</span>)[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">3</span>])) +50: <span class="ruby-keyword kw">else</span> +51: <span class="ruby-ivar">@date</span> = <span class="ruby-constant">TjTime</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">nextDayOfWeek</span>(<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-operator">%</span> <span class="ruby-value">7</span>) +52: <span class="ruby-keyword kw">end</span> +53: <span class="ruby-ivar">@date</span> = <span class="ruby-ivar">@date</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-value str">'%Y-%m-%d'</span>) +54: <span class="ruby-keyword kw">end</span> +55: <span class="ruby-keyword kw">end</span></pre> </div> </div> @@ -682,24 +688,24 @@ <div class="method-source-code" id="process-rguments-source"> <pre> - <span class="ruby-comment cmt"># File lib/Tj3SheetAppBase.rb, line 26</span> -26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">processArguments</span>(<span class="ruby-identifier">argv</span>) -27: <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">do</span> -28: <span class="ruby-ivar">@opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">'-d'</span>, <span class="ruby-value str">'--directory &lt;DIR&gt;'</span>, <span class="ruby-constant">String</span>, -29: <span class="ruby-identifier">format</span>(<span class="ruby-value str">'Use the specified directory as working '</span> <span class="ruby-operator">+</span> -30: <span class="ruby-value str">'directory'</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span> -31: <span class="ruby-ivar">@workingDir</span> = <span class="ruby-identifier">arg</span> -32: <span class="ruby-keyword kw">end</span> -33: <span class="ruby-ivar">@opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">'--dryrun'</span>, -34: <span class="ruby-identifier">format</span>(<span class="ruby-value str">&quot;Don't send out any emails or do SCM commits&quot;</span>)) <span class="ruby-keyword kw">do</span> -35: <span class="ruby-ivar">@dryRun</span> = <span class="ruby-keyword kw">true</span> -36: <span class="ruby-keyword kw">end</span> -37: <span class="ruby-keyword kw">yield</span> -38: <span class="ruby-keyword kw">end</span> -39: <span class="ruby-keyword kw">end</span></pre> + <span class="ruby-comment cmt"># File lib/Tj3SheetAppBase.rb, line 27</span> +27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">processArguments</span>(<span class="ruby-identifier">argv</span>) +28: <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">do</span> +29: <span class="ruby-ivar">@opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">'-d'</span>, <span class="ruby-value str">'--directory &lt;DIR&gt;'</span>, <span class="ruby-constant">String</span>, +30: <span class="ruby-identifier">format</span>(<span class="ruby-value str">'Use the specified directory as working '</span> <span class="ruby-operator">+</span> +31: <span class="ruby-value str">'directory'</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span> +32: <span class="ruby-ivar">@workingDir</span> = <span class="ruby-identifier">arg</span> +33: <span class="ruby-keyword kw">end</span> +34: <span class="ruby-ivar">@opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">'--dryrun'</span>, +35: <span class="ruby-identifier">format</span>(<span class="ruby-value str">&quot;Don't send out any emails or do SCM commits&quot;</span>)) <span class="ruby-keyword kw">do</span> +36: <span class="ruby-ivar">@dryRun</span> = <span class="ruby-keyword kw">true</span> +37: <span class="ruby-keyword kw">end</span> +38: <span class="ruby-keyword kw">yield</span> +39: <span class="ruby-keyword kw">end</span> +40: <span class="ruby-keyword kw">end</span></pre> </div> </div>