Class: Tamashii::Agent::Handler::Base

Inherits:
Handler
  • Object
show all
Defined in:
lib/tamashii/agent/handler/base.rb

Direct Known Subclasses

Buzzer, LCD, RemoteResponse, System

Instance Method Summary collapse

Constructor Details

#initialize(*args, &block) ⇒ Base

Returns a new instance of Base.



7
8
9
10
11
# File 'lib/tamashii/agent/handler/base.rb', line 7

def initialize(*args, &block)
  super(*args, &block)
  @connection = self.env[:connection]
  @master = @connection.master
end