doc/file.README.html in schemacop-2.4.2 vs doc/file.README.html in schemacop-2.4.3
- old
+ new
@@ -708,11 +708,11 @@
<p>Example:</p>
<pre class="code ruby"><code class="ruby">Schema.new do
# Pass array to `cast`. This enables casting from String or Float to Integer
# using the built-in casters.
- req: id_1, :integer, cast: [String, Float]
+ req :id_1, :integer, cast: [String, Float]
# Pass hash to `cast`. This enables casting from Float to Integer using the
# built-in caster and from String to Integer using a custom callback.
req :id_2, :integer, cast: { Float => :default, String => proc { |s| Integer(s) }
end
@@ -802,14 +802,14 @@
file</p></li>
</ul>
<h2>Copyright</h2>
-<p>Copyright (c) 2019 Sitrox. See <code>LICENSE</code> for further details.</p>
+<p>Copyright (c) 2020 Sitrox. See <code>LICENSE</code> for further details.</p>
</div></div>
<div id="footer">
- Generated on Tue Nov 5 11:16:27 2019 by
+ Generated on Thu Mar 5 15:46:21 2020 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.20 (ruby-2.6.2).
</div>
</div>
\ No newline at end of file