docs/Puppeteer/Viewport.html in puppeteer-ruby-0.0.9 vs docs/Puppeteer/Viewport.html in puppeteer-ruby-0.0.10

- old
+ new

@@ -277,10 +277,32 @@ <li class="public "> <span class="summary_signature"> + <a href="#merge-instance_method" title="#merge (instance method)">#<strong>merge</strong>(width: nil, height: nil, device_scale_factor: nil, is_mobile: nil, has_touch: nil, is_landscape: nil) &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'></div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#mobile%3F-instance_method" title="#mobile? (instance method)">#<strong>mobile?</strong> &#x21d2; Boolean </a> </span> @@ -689,10 +711,68 @@ </tr> </table> </div> <div class="method_details "> + <h3 class="signature " id="merge-instance_method"> + + #<strong>merge</strong>(width: nil, height: nil, device_scale_factor: nil, is_mobile: nil, has_touch: nil, is_landscape: nil) &#x21d2; <tt>Object</tt> + + + + + +</h3><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/puppeteer/viewport.rb', line 37</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span> + <span class='label'>width:</span> <span class='kw'>nil</span><span class='comma'>,</span> + <span class='label'>height:</span> <span class='kw'>nil</span><span class='comma'>,</span> + <span class='label'>device_scale_factor:</span> <span class='kw'>nil</span><span class='comma'>,</span> + <span class='label'>is_mobile:</span> <span class='kw'>nil</span><span class='comma'>,</span> + <span class='label'>has_touch:</span> <span class='kw'>nil</span><span class='comma'>,</span> + <span class='label'>is_landscape:</span> <span class='kw'>nil</span><span class='rparen'>)</span> + + <span class='const'><span class='object_link'><a href="../Puppeteer.html" title="Puppeteer (class)">Puppeteer</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Puppeteer::Viewport (class)">Viewport</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Puppeteer::Viewport#initialize (method)">new</a></span></span><span class='lparen'>(</span> + <span class='label'>width:</span> <span class='id identifier rubyid_width'>width</span> <span class='op'>||</span> <span class='ivar'>@width</span><span class='comma'>,</span> + <span class='label'>height:</span> <span class='id identifier rubyid_height'>height</span> <span class='op'>||</span> <span class='ivar'>@height</span><span class='comma'>,</span> + <span class='label'>device_scale_factor:</span> <span class='id identifier rubyid_device_scale_factor'>device_scale_factor</span> <span class='op'>||</span> <span class='ivar'>@device_scale_factor</span><span class='comma'>,</span> + <span class='label'>is_mobile:</span> <span class='id identifier rubyid_is_mobile'>is_mobile</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@is_mobile</span> <span class='op'>:</span> <span class='id identifier rubyid_is_mobile'>is_mobile</span><span class='comma'>,</span> + <span class='label'>has_touch:</span> <span class='id identifier rubyid_has_touch'>has_touch</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@has_touch</span> <span class='op'>:</span> <span class='id identifier rubyid_has_touch'>has_touch</span><span class='comma'>,</span> + <span class='label'>is_landscape:</span> <span class='id identifier rubyid_is_landscape'>is_landscape</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='ivar'>@is_landscape</span> <span class='op'>:</span> <span class='id identifier rubyid_is_landscape'>is_landscape</span><span class='comma'>,</span> + <span class='rparen'>)</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> <h3 class="signature " id="mobile?-instance_method"> #<strong>mobile?</strong> &#x21d2; <tt>Boolean</tt> @@ -745,10 +825,10 @@ </div> </div> <div id="footer"> - Generated on Tue Jun 9 00:13:40 2020 by + Generated on Fri Jun 12 12:38:34 2020 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.24 (ruby-2.6.3). </div> </div> \ No newline at end of file