Class: Artoo::MainRobot
- Defined in:
- lib/artoo/main.rb,
lib/artoo/delegator.rb
Overview
Execution context for top-level robots DSL methods executed on main are delegated to this class like Sinatra
Constant Summary
Constants included from Basic
Instance Attribute Summary
Attributes inherited from Robot
#commands, #connections, #devices, #interfaces, #name
Attributes included from Robot::ClassMethods
#api_host, #api_port, #use_api, #working_code
Method Summary
Methods inherited from Robot
#add_interface, #api_host, #api_port, #as_json, #command, #connection_types, #continue_work, #default_connection, #device_types, #disconnect, #has_work?, #initialize, #inspect, #interface_for_command, #method_missing, #own_command?, #pause_work, #respond_to_missing?, #safe_name, #to_hash, #work, #working_code
Methods included from Basic
Methods included from Robot::ClassMethods
#api, #begin_working, #cli?, #connection, #device, #handle_signals, #is_running?, #name, #prepare_work, #running!, #setup_interrupt, #start_api, #stopped!, #test?, #work, #work!
Methods included from Events
#create_proxy_method, #on, #proxy_method_name
Methods included from Utility
#classify, #constantize, #current_class, #current_instance, #os, #random_string, #remove_keys, #underscore
Constructor Details
This class inherits a constructor from Artoo::Robot
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Artoo::Robot