doc/GQLi/DSL.html in gqli-0.4.0 vs doc/GQLi/DSL.html in gqli-0.5.0

- old
+ new

@@ -115,10 +115,34 @@ <ul class="summary"> <li class="public "> <span class="summary_signature"> + <a href="#enum-class_method" title="enum (class method)">.<strong>enum</strong>(value) &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>Creates a EnumValue object.</p> +</div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#fragment-class_method" title="fragment (class method)">.<strong>fragment</strong>(name, on, &amp;block) &#x21d2; Object </a> </span> @@ -172,10 +196,34 @@ <ul class="summary"> <li class="public "> <span class="summary_signature"> + <a href="#enum-instance_method" title="#enum (instance method)">#<strong>enum</strong>(value) &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>Creates a EnumValue object.</p> +</div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#fragment-instance_method" title="#fragment (instance method)">#<strong>fragment</strong>(name, on, &amp;block) &#x21d2; Object </a> </span> @@ -227,12 +275,55 @@ <div id="class_method_details" class="method_details_list"> <h2>Class Method Details</h2> <div class="method_details first"> - <h3 class="signature first" id="fragment-class_method"> + <h3 class="signature first" id="enum-class_method"> + .<strong>enum</strong>(value) &#x21d2; <tt>Object</tt> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Creates a EnumValue object</p> + +<p>Can be used at a class level</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +27 +28 +29</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 27</span> + +<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_enum'>enum</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> + <span class='const'><span class='object_link'><a href="EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="EnumValue.html#initialize-instance_method" title="GQLi::EnumValue#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> + <h3 class="signature " id="fragment-class_method"> + .<strong>fragment</strong>(name, on, &amp;block) &#x21d2; <tt>Object</tt> @@ -254,16 +345,16 @@ <tr> <td> <pre class="lines"> -19 20 -21</pre> +21 +22</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 19</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 20</span> <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_fragment'>fragment</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='const'><span class='object_link'><a href="Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Fragment.html#initialize-instance_method" title="GQLi::Fragment#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -297,16 +388,16 @@ <tr> <td> <pre class="lines"> -12 13 -14</pre> +14 +15</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 12</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 13</span> <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_query'>query</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='const'><span class='object_link'><a href="Query.html" title="GQLi::Query (class)">Query</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -319,12 +410,55 @@ <div id="instance_method_details" class="method_details_list"> <h2>Instance Method Details</h2> <div class="method_details first"> - <h3 class="signature first" id="fragment-instance_method"> + <h3 class="signature first" id="enum-instance_method"> + #<strong>enum</strong>(value) &#x21d2; <tt>Object</tt> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Creates a EnumValue object</p> + +<p>Can be used at an instance level</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +48 +49 +50</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 48</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_enum'>enum</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> + <span class='const'><span class='object_link'><a href="EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="EnumValue.html#initialize-instance_method" title="GQLi::EnumValue#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> + <h3 class="signature " id="fragment-instance_method"> + #<strong>fragment</strong>(name, on, &amp;block) &#x21d2; <tt>Object</tt> @@ -346,16 +480,16 @@ <tr> <td> <pre class="lines"> -33 -34 -35</pre> +41 +42 +43</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 33</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 41</span> <span class='kw'>def</span> <span class='id identifier rubyid_fragment'>fragment</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='const'><span class='object_link'><a href="Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Fragment.html#initialize-instance_method" title="GQLi::Fragment#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -389,16 +523,16 @@ <tr> <td> <pre class="lines"> -26 -27 -28</pre> +34 +35 +36</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 26</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 34</span> <span class='kw'>def</span> <span class='id identifier rubyid_query'>query</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='const'><span class='object_link'><a href="Query.html" title="GQLi::Query (class)">Query</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -409,10 +543,10 @@ </div> </div> <div id="footer"> - Generated on Fri Nov 16 16:26:30 2018 by + Generated on Fri Jan 25 13:36:03 2019 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.16 (ruby-2.5.1). </div> </div> \ No newline at end of file