Module: Adhearsion::Components::ComponentModule::ComponentModuleMethods
- Defined in:
- lib/adhearsion/component_manager.rb
Instance Method Summary collapse
-
#method_added(name) ⇒ Object
This is so that
def meth...behaves like in Ruby’s top-level context. - #start_component_after(*others) ⇒ Object
Instance Method Details
#method_added(name) ⇒ Object
This is so that def meth... behaves like in Ruby’s top-level context. The implementation simply calls Module#module_function(name).
262 263 264 |
# File 'lib/adhearsion/component_manager.rb', line 262 def method_added(name) # :nodoc: module_function(name) end |
#start_component_after(*others) ⇒ Object
266 267 268 269 270 |
# File 'lib/adhearsion/component_manager.rb', line 266 def start_component_after(*others) others.each do |component_name| component.manager.active_components[component_name].start end end |