docs/Mangrove/Option/None.html in mangrove-0.9.2 vs docs/Mangrove/Option/None.html in mangrove-0.10.1

- old
+ new

@@ -384,12 +384,17 @@ + <h3 class="inherited">Methods included from <span class='object_link'><a href="../Option.html" title="Mangrove::Option (module)">Mangrove::Option</a></span></h3> + <p class="inherited"><span class='object_link'><a href="../Option.html#from_nilable-class_method" title="Mangrove::Option.from_nilable (method)">from_nilable</a></span></p> + + + <div id="instance_method_details" class="method_details_list"> <h2>Instance Method Details</h2> @@ -443,24 +448,24 @@ <tr> <td> <pre class="lines"> -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122</pre> +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 112</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 126</span> <span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span> <span class='kw'>case</span> <span class='id identifier rubyid_other'>other</span> <span class='kw'>when</span> <span class='const'><span class='object_link'><a href="../Option.html" title="Mangrove::Option (module)">Option</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Some.html" title="Mangrove::Option::Some (class)">Some</a></span></span> <span class='kw'>false</span> @@ -539,16 +544,16 @@ <tr> <td> <pre class="lines"> -135 -136 -137</pre> +149 +150 +151</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 135</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 149</span> <span class='kw'>def</span> <span class='id identifier rubyid_expect!'>expect!</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../Option.html" title="Mangrove::Option (module)">Option</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ControlSignal.html" title="Mangrove::Option::ControlSignal (class)">ControlSignal</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span> <span class='kw'>end</span></pre> </td> @@ -619,16 +624,16 @@ <tr> <td> <pre class="lines"> -140 -141 -142</pre> +154 +155 +156</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 140</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 154</span> <span class='kw'>def</span> <span class='id identifier rubyid_expect_with!'>expect_with!</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../Option.html" title="Mangrove::Option (module)">Option</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ControlSignal.html" title="Mangrove::Option::ControlSignal (class)">ControlSignal</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span> <span class='kw'>end</span></pre> </td> @@ -686,16 +691,16 @@ <tr> <td> <pre class="lines"> -156 -157 -158</pre> +170 +171 +172</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 156</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 170</span> <span class='kw'>def</span> <span class='id identifier rubyid_map_none'>map_none</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span> <span class='kw'>end</span></pre> </td> @@ -753,16 +758,16 @@ <tr> <td> <pre class="lines"> -151 -152 -153</pre> +165 +166 +167</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 151</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 165</span> <span class='kw'>def</span> <span class='id identifier rubyid_map_some'>map_some</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid__block'>_block</span><span class='rparen'>)</span> <span class='kw'>self</span> <span class='kw'>end</span></pre> </td> @@ -805,14 +810,14 @@ <tr> <td> <pre class="lines"> -148</pre> +162</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 148</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 162</span> <span class='kw'>def</span> <span class='id identifier rubyid_none?'>none?</span> <span class='op'>=</span> <span class='kw'>true</span></pre> </td> </tr> </table> @@ -853,14 +858,14 @@ <tr> <td> <pre class="lines"> -145</pre> +159</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 145</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 159</span> <span class='kw'>def</span> <span class='id identifier rubyid_some?'>some?</span> <span class='op'>=</span> <span class='kw'>false</span></pre> </td> </tr> </table> @@ -916,16 +921,16 @@ <tr> <td> <pre class="lines"> -161 -162 -163</pre> +175 +176 +177</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 161</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 175</span> <span class='kw'>def</span> <span class='id identifier rubyid_transpose'>transpose</span><span class='lparen'>(</span><span class='id identifier rubyid_err'>err</span><span class='rparen'>)</span> <span class='const'><span class='object_link'><a href="../Result.html" title="Mangrove::Result (module)">Result</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Result/Err.html" title="Mangrove::Result::Err (class)">Err</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Result/Err.html#initialize-instance_method" title="Mangrove::Result::Err#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_err'>err</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -981,16 +986,16 @@ <tr> <td> <pre class="lines"> -130 -131 -132</pre> +144 +145 +146</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 130</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 144</span> <span class='kw'>def</span> <span class='id identifier rubyid_unwrap!'>unwrap!</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../Option.html" title="Mangrove::Option (module)">Option</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ControlSignal.html" title="Mangrove::Option::ControlSignal (class)">ControlSignal</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>called `Option#unwrap!` on an `None` value: </span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>end</span></pre> </td> @@ -1048,16 +1053,16 @@ <tr> <td> <pre class="lines"> -125 -126 -127</pre> +139 +140 +141</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 125</span> + <pre class="code"><span class="info file"># File 'lib/mangrove/option.rb', line 139</span> <span class='kw'>def</span> <span class='id identifier rubyid_unwrap_or'>unwrap_or</span><span class='lparen'>(</span><span class='id identifier rubyid_default'>default</span><span class='rparen'>)</span> <span class='id identifier rubyid_default'>default</span> <span class='kw'>end</span></pre> </td> @@ -1068,10 +1073,10 @@ </div> </div> <div id="footer"> - Generated on Tue Oct 24 12:49:57 2023 by + Generated on Tue Oct 24 12:55:37 2023 by <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.34 (ruby-3.1.2). </div> </div> \ No newline at end of file