doc/Caricature/Expectation.html in caricature-0.6.0 vs doc/Caricature/Expectation.html in caricature-0.6.1

- old
+ new

@@ -57,21 +57,21 @@ <div id="method-list-section" class="section"> <h3 class="section-header">Methods</h3> <ul class="link-list"> - <li><a href="#M000031">::new</a></li> + <li><a href="#M000038">::new</a></li> - <li><a href="#M000036">#call_super?</a></li> + <li><a href="#M000044">#call_super?</a></li> - <li><a href="#M000037">#execute</a></li> + <li><a href="#M000045">#execute</a></li> - <li><a href="#M000032">#has_error_args?</a></li> + <li><a href="#M000040">#has_error_args?</a></li> - <li><a href="#M000033">#has_return_value?</a></li> + <li><a href="#M000041">#has_return_value?</a></li> - <li><a href="#M000035">#super_before?</a></li> + <li><a href="#M000042">#super_before?</a></li> </ul> </div> @@ -310,11 +310,11 @@ <div id="public-class-method-details" class="method-section section"> <h3 class="section-header">Public Class Methods</h3> <div id="new-method" class="method-detail "> - <a name="M000031"></a> + <a name="M000038"></a> <div class="method-heading"> <span class="method-name">new</span><span class="method-args">(method_name, args, error_args, return_value, super_mode)</span> @@ -331,11 +331,11 @@ <div class="method-source-code" id="new-source"> <pre> -<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 101</span> +<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 102</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">args</span>, <span class="ruby-identifier">error_args</span>, <span class="ruby-identifier">return_value</span>, <span class="ruby-identifier">super_mode</span>) <span class="ruby-ivar">@method_name</span>, <span class="ruby-ivar">@args</span>, <span class="ruby-ivar">@error_args</span>, <span class="ruby-ivar">@return_value</span>, <span class="ruby-ivar">@super</span> = <span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">args</span>, <span class="ruby-identifier">error_args</span>, <span class="ruby-identifier">return_value</span>, <span class="ruby-identifier">super_mode</span> <span class="ruby-ivar">@any_args</span> = <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">end</span></pre> @@ -352,11 +352,11 @@ <div id="public-instance-method-details" class="method-section section"> <h3 class="section-header">Public Instance Methods</h3> <div id="call-super--method" class="method-detail "> - <a name="M000036"></a> + <a name="M000044"></a> <div class="method-heading"> <span class="method-name">call_super?</span><span class="method-args">()</span> @@ -373,11 +373,11 @@ <div class="method-source-code" id="call-super--source"> <pre> -<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 123</span> +<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 124</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call_super?</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@super</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">end</span></pre> </div> @@ -386,11 +386,11 @@ </div> <div id="execute-method" class="method-detail "> - <a name="M000037"></a> + <a name="M000045"></a> <div class="method-heading"> <span class="method-name">execute</span><span class="method-args">(*margs)</span> @@ -407,14 +407,14 @@ <div class="method-source-code" id="execute-source"> <pre> -<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 128</span> +<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 129</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">execute</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">margs</span>) <span class="ruby-identifier">ags</span> = <span class="ruby-identifier">any_args?</span> <span class="ruby-value">? </span>(<span class="ruby-identifier">margs</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-operator">:</span><span class="ruby-identifier">any</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">margs</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">args</span> - <span class="ruby-identifier">raise</span> <span class="ruby-operator">*</span><span class="ruby-ivar">@error_args</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">has_error_args?</span> + <span class="ruby-identifier">actual_raise</span> <span class="ruby-operator">*</span><span class="ruby-ivar">@error_args</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">has_error_args?</span> <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">return_value</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">has_return_value?</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">end</span></pre> </div> @@ -423,11 +423,11 @@ </div> <div id="has-error-args--method" class="method-detail "> - <a name="M000032"></a> + <a name="M000040"></a> <div class="method-heading"> <span class="method-name">has_error_args?</span><span class="method-args">()</span> @@ -444,11 +444,11 @@ <div class="method-source-code" id="has-error-args--source"> <pre> -<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 108</span> +<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 109</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_error_args?</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@error_args</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">end</span></pre> </div> @@ -457,11 +457,11 @@ </div> <div id="has-return-value--method" class="method-detail "> - <a name="M000033"></a> + <a name="M000041"></a> <div class="method-heading"> <span class="method-name">has_return_value?</span><span class="method-args">()</span> @@ -478,11 +478,11 @@ <div class="method-source-code" id="has-return-value--source"> <pre> -<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 113</span> +<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 114</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_return_value?</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@return_value</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">end</span></pre> </div> @@ -491,11 +491,11 @@ </div> <div id="super-before--method" class="method-detail "> - <a name="M000035"></a> + <a name="M000042"></a> <div class="method-heading"> <span class="method-name">super_before?</span><span class="method-args">()</span> @@ -512,10 +512,10 @@ <div class="method-source-code" id="super-before--source"> <pre> -<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 118</span> +<span class="ruby-comment cmt"># File lib/caricature/expectation.rb, line 119</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">super_before?</span> <span class="ruby-ivar">@super</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">:before</span> <span class="ruby-keyword kw">end</span></pre> </div>