diff options
Diffstat (limited to 'docs/FelFlame/Helper/ComponentManager.html')
| -rw-r--r-- | docs/FelFlame/Helper/ComponentManager.html | 147 |
1 files changed, 39 insertions, 108 deletions
diff --git a/docs/FelFlame/Helper/ComponentManager.html b/docs/FelFlame/Helper/ComponentManager.html index 0d4d93a..1a04d45 100644 --- a/docs/FelFlame/Helper/ComponentManager.html +++ b/docs/FelFlame/Helper/ComponentManager.html @@ -398,7 +398,7 @@ <li class="public "> <span class="summary_signature"> - <a href="#attr_changed_trigger_systems-instance_method" title="#attr_changed_trigger_systems (instance method)">#<strong>attr_changed_trigger_systems</strong>(attr) ⇒ Object </a> + <a href="#attr_changed_trigger_systems-instance_method" title="#attr_changed_trigger_systems (instance method)">#<strong>attr_changed_trigger_systems</strong>(attr) ⇒ Boolean </a> @@ -422,7 +422,7 @@ <li class="public "> <span class="summary_signature"> - <a href="#attrs-instance_method" title="#attrs (instance method)">#<strong>attrs</strong> ⇒ Hash </a> + <a href="#attrs-instance_method" title="#attrs (instance method)">#<strong>attrs</strong> ⇒ Hash<Symbol, Value> </a> @@ -544,31 +544,7 @@ <li class="public "> <span class="summary_signature"> - <a href="#to_json-instance_method" title="#to_json (instance method)">#<strong>to_json</strong> ⇒ String </a> - - - - </span> - - - - - - - - - - <span class="summary_desc"><div class='inline'> -<p>Export all data into a JSON String, which could then later be loaded or saved to a file TODO: This function is not yet complete.</p> -</div></span> - -</li> - - - <li class="public "> - <span class="summary_signature"> - - <a href="#update_attrs-instance_method" title="#update_attrs (instance method)">#<strong>update_attrs</strong>(**opts) ⇒ Object </a> + <a href="#update_attrs-instance_method" title="#update_attrs (instance method)">#<strong>update_attrs</strong>(**opts) ⇒ Hash<Symbol, Value> </a> @@ -1243,7 +1219,7 @@ <div class="method_details first"> <h3 class="signature first" id="attr_changed_trigger_systems-instance_method"> - #<strong>attr_changed_trigger_systems</strong>(attr) ⇒ <tt>Object</tt> + #<strong>attr_changed_trigger_systems</strong>(attr) ⇒ <tt>Boolean</tt> @@ -1259,6 +1235,24 @@ </div> <div class="tags"> +<p class="tag_title">Returns:</p> +<ul class="return"> + + <li> + + + <span class='type'>(<tt>Boolean</tt>)</span> + + + + — + <div class='inline'> +<p><code>true</code></p> +</div> + + </li> + +</ul> </div><table class="source_code"> <tr> @@ -1266,7 +1260,6 @@ <pre class="lines"> -202 203 204 205 @@ -1275,11 +1268,10 @@ 208 209 210 -211 -212</pre> +211</pre> </td> <td> - <pre class="code"><span class="info file"># File 'component_manager.rb', line 202</span> + <pre class="code"><span class="info file"># File 'component_manager.rb', line 203</span> <span class='kw'>def</span> <span class='id identifier rubyid_attr_changed_trigger_systems'>attr_changed_trigger_systems</span><span class='lparen'>(</span><span class='id identifier rubyid_attr'>attr</span><span class='rparen'>)</span> <span class='id identifier rubyid_systems_to_execute'>systems_to_execute</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_attr_triggers'>attr_triggers</span><span class='lbracket'>[</span><span class='id identifier rubyid_attr'>attr</span><span class='rbracket'>]</span> @@ -1288,10 +1280,8 @@ <span class='id identifier rubyid_systems_to_execute'>systems_to_execute</span> <span class='op'>|=</span> <span class='id identifier rubyid_attr_triggers'>attr_triggers</span><span class='lbracket'>[</span><span class='id identifier rubyid_attr'>attr</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_attr_triggers'>attr_triggers</span><span class='lbracket'>[</span><span class='id identifier rubyid_attr'>attr</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='id identifier rubyid_systems_to_execute'>systems_to_execute</span><span class='period'>.</span><span class='id identifier rubyid_sort_by'>sort_by</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:priority</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_reverse'>reverse</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:call</span><span class='rparen'>)</span> - <span class='comment'>#self.attr_triggers.each do |system| -</span> <span class='comment'># systems_to_execute |= [system] -</span> <span class='comment'>#end -</span><span class='kw'>end</span></pre> + <span class='kw'>true</span> +<span class='kw'>end</span></pre> </td> </tr> </table> @@ -1300,7 +1290,7 @@ <div class="method_details "> <h3 class="signature " id="attrs-instance_method"> - #<strong>attrs</strong> ⇒ <tt>Hash</tt> + #<strong>attrs</strong> ⇒ <tt>Hash<Symbol, Value></tt> @@ -1322,7 +1312,7 @@ <li> - <span class='type'>(<tt>Hash</tt>)</span> + <span class='type'>(<tt>Hash<Symbol, Value></tt>)</span> @@ -1341,16 +1331,16 @@ <pre class="lines"> +234 235 236 237 238 239 -240 -241</pre> +240</pre> </td> <td> - <pre class="code"><span class="info file"># File 'component_manager.rb', line 235</span> + <pre class="code"><span class="info file"># File 'component_manager.rb', line 234</span> <span class='kw'>def</span> <span class='id identifier rubyid_attrs'>attrs</span> <span class='id identifier rubyid_return_hash'>return_hash</span> <span class='op'>=</span> <span class='id identifier rubyid_instance_variables'>instance_variables</span><span class='period'>.</span><span class='id identifier rubyid_each_with_object'>each_with_object</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_final'>final</span><span class='op'>|</span> @@ -1395,7 +1385,7 @@ — <div class='inline'> -<p>true.</p> +<p><code>true</code>.</p> </div> </li> @@ -1408,6 +1398,7 @@ <pre class="lines"> +215 216 217 218 @@ -1423,11 +1414,10 @@ 228 229 230 -231 -232</pre> +231</pre> </td> <td> - <pre class="code"><span class="info file"># File 'component_manager.rb', line 216</span> + <pre class="code"><span class="info file"># File 'component_manager.rb', line 215</span> <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span> <span class='id identifier rubyid_addition_triggers'>addition_triggers</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_system'>system</span><span class='op'>|</span> @@ -1560,68 +1550,9 @@ </div> <div class="method_details "> - <h3 class="signature " id="to_json-instance_method"> - - #<strong>to_json</strong> ⇒ <tt>String</tt> - - - - - -</h3><div class="docstring"> - <div class="discussion"> - -<p>Export all data into a JSON String, which could then later be loaded or saved to a file TODO: This function is not yet complete</p> - - - </div> -</div> -<div class="tags"> - -<p class="tag_title">Returns:</p> -<ul class="return"> - - <li> - - - <span class='type'>(<tt>String</tt>)</span> - - - - — - <div class='inline'> -<p>a JSON formatted String</p> -</div> - - </li> - -</ul> - -</div><table class="source_code"> - <tr> - <td> - <pre class="lines"> - - -246 -247 -248</pre> - </td> - <td> - <pre class="code"><span class="info file"># File 'component_manager.rb', line 246</span> - -<span class='kw'>def</span> <span class='id identifier rubyid_to_json'>to_json</span> - <span class='comment'># should return a json or hash of all data in this component -</span><span class='kw'>end</span></pre> - </td> - </tr> -</table> -</div> - - <div class="method_details "> <h3 class="signature " id="update_attrs-instance_method"> - #<strong>update_attrs</strong>(**opts) ⇒ <tt>Object</tt> + #<strong>update_attrs</strong>(**opts) ⇒ <tt>Hash<Symbol, Value></tt> @@ -1643,11 +1574,11 @@ <li> - <span class='type'></span> + <span class='type'>(<tt>Hash<Symbol, Value></tt>)</span> - + — <div class='inline'> <p>Hash of updated attributes</p> </div> @@ -1686,7 +1617,7 @@ </div> <div id="footer"> - Generated on Wed Jul 7 01:04:28 2021 by + Generated on Wed Jul 7 12:27:30 2021 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.26 (ruby-2.7.3). </div> |
