Class: Artoo::MainRobot

Inherits:
Robot
  • Object
show all
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

Basic::CALLERS_TO_IGNORE

Instance Attribute Summary

Attributes inherited from Robot

#connections, #devices, #name

Attributes included from Robot::ClassMethods

#api_host, #api_port, #use_api, #working_code

Method Summary

Methods inherited from Robot

#api_host, #api_port, #as_json, #connection_types, #continue_work, #default_connection, #device_types, #disconnect, #has_work?, #initialize, #inspect, #pause_work, #safe_name, #to_hash, #work, #working_code

Methods included from Basic

#caller_files, #set

Methods included from Robot::ClassMethods

#api, #begin_working, #cli?, #connection, #device, #handle_signals, #is_running?, #master, #prepare_robots, #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, #underscore

Constructor Details

This class inherits a constructor from Artoo::Robot