Module: Roby::Actions::Models::Interface
- Includes:
- MetaRuby::ModelAsClass, InterfaceBase
- Included in:
- Coordination::Models::FaultResponseTable
- Defined in:
- lib/roby/actions/models/interface.rb
Instance Method Summary collapse
-
#promote_registered_action(name, action) ⇒ Object
private
Internal handler for MetaRuby’s inherited-attribute functionality.
Methods included from InterfaceBase
#action_script, #action_state_machine, #added_method_action_check_arity, #clear_model, #create_and_register_coordination_action, #create_coordination_action, #create_coordination_model, #create_default_action_return_type, #describe, #each_action, #fault_response_table, #find_action_by_name, #find_all_actions_by_type, #method_added, #method_missing, #register_action, #register_action!, #register_added_method_as_action, #registered_action, #require_current_description, #respond_to_missing?, #state_machine, #use_fault_response_table, #use_library
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Roby::Actions::Models::InterfaceBase
Instance Method Details
#promote_registered_action(name, action) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Internal handler for MetaRuby’s inherited-attribute functionality. It updates an action from a parent model to match this model.
In particular, it updates coordination models to point to actions of this
17 18 19 |
# File 'lib/roby/actions/models/interface.rb', line 17 def promote_registered_action(name, action) actions[name] ||= action.rebind(self) end |