doc/ElabsMatchers/Matchers/Persist.html in elabs_matchers-1.0.1 vs doc/ElabsMatchers/Matchers/Persist.html in elabs_matchers-2.0.0

- old
+ new

@@ -1,90 +1,89 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!DOCTYPE html> +<html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Module: ElabsMatchers::Matchers::Persist - &mdash; Documentation by YARD 0.8.2.1 + &mdash; Documentation by YARD 0.9.12 </title> - <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" /> - <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> - hasFrames = window.top.frames.main ? true : false; + pathId = "ElabsMatchers::Matchers::Persist"; relpath = '../../'; - framesUrl = "../../frames.html#!" + escape(window.location.href); </script> <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script> </head> <body> - <div id="header"> - <div id="menu"> + <div class="nav_wrap"> + <iframe id="nav" src="../../class_list.html?1"></iframe> + <div id="resizer"></div> + </div> + + <div id="main" tabindex="-1"> + <div id="header"> + <div id="menu"> <a href="../../_index.html">Index (P)</a> &raquo; <span class='title'><span class='object_link'><a href="../../ElabsMatchers.html" title="ElabsMatchers (module)">ElabsMatchers</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Matchers.html" title="ElabsMatchers::Matchers (module)">Matchers</a></span></span> &raquo; <span class="title">Persist</span> - - <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div> </div> - <div id="search"> + <div id="search"> <a class="full_list_link" id="class_list_link" href="../../class_list.html"> - Class List + + <svg width="24" height="24"> + <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> + </svg> </a> - <a class="full_list_link" id="method_list_link" - href="../../method_list.html"> - Method List - </a> - - <a class="full_list_link" id="file_list_link" - href="../../file_list.html"> - File List - </a> - </div> - <div class="clear"></div> - </div> + <div class="clear"></div> + </div> - <iframe id="search_frame"></iframe> - - <div id="content"><h1>Module: ElabsMatchers::Matchers::Persist + <div id="content"><h1>Module: ElabsMatchers::Matchers::Persist </h1> +<div class="box_info"> + -<dl class="box"> - - + - <dt class="r1 last">Defined in:</dt> - <dd class="r1 last">lib/elabs_matchers/matchers/persist.rb</dd> + -</dl> -<div class="clear"></div> + <dl> + <dt>Defined in:</dt> + <dd>lib/elabs_matchers/matchers/persist.rb</dd> + </dl> + +</div> <h2>Defined Under Namespace</h2> <p class="children"> @@ -102,19 +101,19 @@ <h2> Instance Method Summary - <small>(<a href="#" class="summary_toggle">collapse</a>)</small> + <small><a href="#" class="summary_toggle">collapse</a></small> </h2> <ul class="summary"> <li class="public "> <span class="summary_signature"> - <a href="#persist-instance_method" title="#persist (instance method)">- (Object) <strong>persist</strong>(attribute, value) </a> + <a href="#persist-instance_method" title="#persist (instance method)">#<strong>persist</strong>(attribute, value) &#x21d2; Object </a> </span> @@ -143,22 +142,22 @@ <div class="method_details first"> <h3 class="signature first" id="persist-instance_method"> - - (<tt>Object</tt>) <strong>persist</strong>(attribute, value) + #<strong>persist</strong>(attribute, value) &#x21d2; <tt>Object</tt> </h3><div class="docstring"> <div class="discussion"> <p>Asserts if an assigned value persistes in the database.</p> -<p>Example: post.should persist(:title, "Blog post")</p> +<p>Example: post.should persist(:title, “Blog post”)</p> </div> </div> <div class="tags"> @@ -204,32 +203,33 @@ <tr> <td> <pre class="lines"> -37 -38 -39</pre> +43 +44 +45</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 37</span> + <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 43</span> <span class='kw'>def</span> <span class='id identifier rubyid_persist'>persist</span><span class='lparen'>(</span><span class='id identifier rubyid_attribute'>attribute</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> - <span class='const'>PersistMatcher</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_attribute'>attribute</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> + <span class='const'><span class='object_link'><a href="Persist/PersistMatcher.html" title="ElabsMatchers::Matchers::Persist::PersistMatcher (class)">PersistMatcher</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_attribute'>attribute</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> </div> </div> - <div id="footer"> - Generated on Wed Sep 19 15:04:26 2012 by + <div id="footer"> + Generated on Wed Mar 14 09:56:36 2018 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.2.1 (ruby-1.9.3). + 0.9.12 (ruby-2.4.1). </div> + </div> </body> </html> \ No newline at end of file