lib/artoo/robot.rb in artoo-1.1.0 vs lib/artoo/robot.rb in artoo-1.1.1
- old
+ new
@@ -1,18 +1,18 @@
require 'celluloid/autostart'
require 'celluloid/io'
require 'multi_json'
-require 'artoo/ext/timers'
-require 'artoo/ext/actor'
+require 'artoo/ext/actor'
require 'artoo/robot_class_methods'
require 'artoo/basic'
require 'artoo/connection'
require 'artoo/adaptors/adaptor'
require 'artoo/device'
require 'artoo/drivers/driver'
require 'artoo/events'
+require 'artoo/exceptions'
require 'artoo/api/api'
require 'artoo/master'
require 'artoo/port'
require 'artoo/utility'
@@ -87,10 +87,10 @@
connections.values.first
end
# @return [Collection] connection types
def connection_types
- current_class.connection_types
+ current_class.connection_types ||= [{:name => :passthru}]
end
# @return [Collection] device types
def device_types
current_class.device_types ||= []