Method: Artoo::Drivers::Driver#method_missing

Defined in:
lib/artoo/drivers/driver.rb

#method_missing(method_name, *arguments, &block) ⇒ Object

Sends missing methods to connection



85
86
87
88
89
90
91
# File 'lib/artoo/drivers/driver.rb', line 85

def method_missing(method_name, *arguments, &block)
  connection.send(method_name, *arguments, &block)
rescue Exception => e
  Logger.error e.message
  Logger.error e.backtrace.inspect
  return nil
end