html/Gravaty/Parser.html in gravaty-9.0.1 vs html/Gravaty/Parser.html in gravaty-10.0.0
- old
+ new
@@ -2,19 +2,22 @@
<html>
<head>
<meta charset="UTF-8">
-<title>class Gravaty::Parser - gravaty 9.0.1</title>
+<title>class Gravaty::Parser - gravaty 10.0.0</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../";
var index_rel_prefix = "../";
</script>
-<script src="../js/jquery.js"></script>
-<script src="../js/darkfish.js"></script>
+<script src="../js/navigation.js" defer></script>
+<script src="../js/search.js" defer></script>
+<script src="../js/search_index.js" defer></script>
+<script src="../js/searcher.js" defer></script>
+<script src="../js/darkfish.js" defer></script>
<link href="../css/fonts.css" rel="stylesheet">
<link href="../css/rdoc.css" rel="stylesheet">
@@ -93,15 +96,12 @@
<dl class="rdoc-list note-list"><dt>Author
<dd>
<p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
</dd><dt>Copyright
<dd>
-<p>Copyright © 2013, 2014, 2015, 2016, 2017, 2018,</p>
-</dd></dl>
-
-<p>2019 Marco Bresciani</p>
-<dl class="rdoc-list note-list"><dt>License
+<p>Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani</p>
+</dd><dt>License
<dd>
<p>GNU General Public License version 3</p>
</dd></dl>
</section>
@@ -162,16 +162,16 @@
<div class="method-source-code" id="new-source">
<pre> <span class="ruby-comment"># File lib/gravaty/parser.rb</span>
-<span class="line-num">35</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">args</span> = {})
-<span class="line-num">36</span> <span class="ruby-ivar">@parsers</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
-<span class="line-num">37</span> <span class="ruby-constant">ALLOWED_PARAMS</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">param</span><span class="ruby-operator">|</span>
-<span class="line-num">38</span> <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">param</span>] = <span class="ruby-identifier">args</span>[<span class="ruby-identifier">param</span>]
-<span class="line-num">39</span> <span class="ruby-keyword">end</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">nil?</span>
-<span class="line-num">40</span> <span class="ruby-keyword">end</span></pre>
+<span class="line-num">34</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">args</span> = {})
+<span class="line-num">35</span> <span class="ruby-ivar">@parsers</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
+<span class="line-num">36</span> <span class="ruby-constant">ALLOWED_PARAMS</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">param</span><span class="ruby-operator">|</span>
+<span class="line-num">37</span> <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">param</span>] = <span class="ruby-identifier">args</span>[<span class="ruby-identifier">param</span>]
+<span class="line-num">38</span> <span class="ruby-keyword">end</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">nil?</span>
+<span class="line-num">39</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
@@ -206,16 +206,16 @@
<div class="method-source-code" id="parse-source">
<pre> <span class="ruby-comment"># File lib/gravaty/parser.rb</span>
-<span class="line-num">43</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">parse</span>(<span class="ruby-identifier">method</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">value</span> = <span class="ruby-keyword">nil</span>)
-<span class="line-num">44</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-keyword">nil</span>
-<span class="line-num">45</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">method</span>.<span class="ruby-identifier">to_sym</span>] <span class="ruby-keyword">unless</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">or</span>
-<span class="line-num">46</span> <span class="ruby-identifier">parsers</span>.<span class="ruby-identifier">nil?</span>
-<span class="line-num">47</span> <span class="ruby-identifier">a_parser</span>.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">value</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">a_parser</span>.<span class="ruby-identifier">nil?</span>
-<span class="line-num">48</span> <span class="ruby-keyword">end</span></pre>
+<span class="line-num">42</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">parse</span>(<span class="ruby-identifier">method</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">value</span> = <span class="ruby-keyword">nil</span>)
+<span class="line-num">43</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-keyword">nil</span>
+<span class="line-num">44</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">method</span>.<span class="ruby-identifier">to_sym</span>] <span class="ruby-keyword">unless</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">or</span>
+<span class="line-num">45</span> <span class="ruby-identifier">parsers</span>.<span class="ruby-identifier">nil?</span>
+<span class="line-num">46</span> <span class="ruby-identifier">a_parser</span>.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">value</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">a_parser</span>.<span class="ruby-identifier">nil?</span>
+<span class="line-num">47</span> <span class="ruby-keyword">end</span></pre>
</div>
</div>
@@ -231,9 +231,9 @@
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>