From 09fc5ef46b911f9d7e31cdedd240e7afc4c11c92 Mon Sep 17 00:00:00 2001 From: realtradam Date: Wed, 7 Jul 2021 17:49:00 -0400 Subject: completed functionality --- docs/FelFlame/Helper/ComponentManager.html | 147 ++++++++--------------------- 1 file changed, 39 insertions(+), 108 deletions(-) (limited to 'docs/FelFlame/Helper/ComponentManager.html') 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 @@
  • - #attr_changed_trigger_systems(attr) ⇒ Object + #attr_changed_trigger_systems(attr) ⇒ Boolean @@ -422,7 +422,7 @@
  • - #attrs ⇒ Hash + #attrs ⇒ Hash<Symbol, Value> @@ -544,31 +544,7 @@
  • - #to_json ⇒ String - - - - - - - - - - - - - -
    -

    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.

    -
    - -
  • - - -
  • - - - #update_attrs(**opts) ⇒ Object + #update_attrs(**opts) ⇒ Hash<Symbol, Value> @@ -1243,7 +1219,7 @@

    - #attr_changed_trigger_systems(attr) ⇒ Object + #attr_changed_trigger_systems(attr) ⇒ Boolean @@ -1259,6 +1235,24 @@

    +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    @@ -1266,7 +1260,6 @@
     
     
    -202
     203
     204
     205
    @@ -1275,11 +1268,10 @@
     208
     209
     210
    -211
    -212
    +211
    -
    # File 'component_manager.rb', line 202
    +      
    # File 'component_manager.rb', line 203
     
     def attr_changed_trigger_systems(attr)
       systems_to_execute = self.class.attr_triggers[attr]
    @@ -1288,10 +1280,8 @@
       systems_to_execute |= attr_triggers[attr] unless attr_triggers[attr].nil?
     
       systems_to_execute.sort_by(&:priority).reverse.each(&:call)
    -  #self.attr_triggers.each do |system|
    -  #  systems_to_execute |= [system]
    -  #end
    -end
    + true +end
    @@ -1300,7 +1290,7 @@

    - #attrsHash + #attrsHash<Symbol, Value> @@ -1322,7 +1312,7 @@
  • - (Hash) + (Hash<Symbol, Value>) @@ -1341,16 +1331,16 @@
     
     
    +234
     235
     236
     237
     238
     239
    -240
    -241
    +240 -
    # File 'component_manager.rb', line 235
    +      
    # File 'component_manager.rb', line 234
     
     def attrs
       return_hash = instance_variables.each_with_object({}) do |key, final|
    @@ -1395,7 +1385,7 @@
           
             —
             
    -

    true.

    +

    true.

  • @@ -1408,6 +1398,7 @@
     
     
    +215
     216
     217
     218
    @@ -1423,11 +1414,10 @@
     228
     229
     230
    -231
    -232
    +231 -
    # File 'component_manager.rb', line 216
    +      
    # File 'component_manager.rb', line 215
     
     def delete
       addition_triggers.each do |system|
    @@ -1557,71 +1547,12 @@
         
       
     
    -

    - -
    -

    - - #to_jsonString - - - - - -

    -
    - -

    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

    - - -
    -
    -
    - -

    Returns:

    -
      - -
    • - - - (String) - - - - — -
      -

      a JSON formatted String

      -
      - -
    • - -
    - -
    - - - - -
    -
    -
    -
    -246
    -247
    -248
    -
    -
    # File 'component_manager.rb', line 246
    -
    -def to_json
    -  # should return a json or hash of all data in this component
    -end
    -

    - #update_attrs(**opts) ⇒ Object + #update_attrs(**opts) ⇒ Hash<Symbol, Value> @@ -1643,11 +1574,11 @@
  • - + (Hash<Symbol, Value>) - + —

    Hash of updated attributes

    @@ -1686,7 +1617,7 @@
  • -- cgit v1.2.3