Class: TorqueBox::ComponentManager
- Inherits:
-
Object
- Object
- TorqueBox::ComponentManager
- Defined in:
- lib/torquebox/component_manager.rb
Class Method Summary collapse
Class Method Details
.lookup_component(name) ⇒ Object
21 22 23 24 |
# File 'lib/torquebox/component_manager.rb', line 21 def lookup_component(name) @components ||= {} @components[name] end |
.register_component(name, component) ⇒ Object
26 27 28 29 |
# File 'lib/torquebox/component_manager.rb', line 26 def register_component(name, component) @components ||= {} @components[name] = component end |