diff options
Diffstat (limited to 'lib/felflame/component_manager.rb')
| -rw-r--r-- | lib/felflame/component_manager.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/felflame/component_manager.rb b/lib/felflame/component_manager.rb index 04faccb..6ac7463 100644 --- a/lib/felflame/component_manager.rb +++ b/lib/felflame/component_manager.rb @@ -48,28 +48,6 @@ module FelFlame FelFlame::Components.const_get(component_name) end - # Makes component module behave like an array of component - # managers with additional methods for managing the array - # @!visibility private - # #def respond_to_missing?(method, *) - # if constants.respond_to? method - # true - # else - # super - # end - # end - - ## Makes component module behave like arrays with additional - ## methods for managing the array - ## @!visibility private - # def method_missing(method, *args, **kwargs, &block) - # if constants.respond_to? method - # constants.send(method, *args, **kwargs, &block) - # else - # super - # end - # end - # Stores the components managers in {FelFlame::Components}. This # is needed because calling `FelFlame::Components.constants` # will not let you iterate over the value of the constants |
