Class: Tamashii::Agent::Device::Buzzer::Dummy
- Inherits:
-
Base
show all
- Defined in:
- lib/tamashii/agent/device/buzzer/dummy.rb
Instance Method Summary
collapse
#display_name, #logger, #progname
Methods inherited from DeviceBase
#fetch_option, #fetch_option!, #unexport_pin
Constructor Details
#initialize(*args) ⇒ Dummy
Returns a new instance of Dummy.
8
9
10
11
|
# File 'lib/tamashii/agent/device/buzzer/dummy.rb', line 8
def initialize(*args)
super
logger.debug "Initialized"
end
|
Instance Method Details
#play_error ⇒ Object
21
22
23
|
# File 'lib/tamashii/agent/device/buzzer/dummy.rb', line 21
def play_error
logger.debug "Played: Error"
end
|
#play_no ⇒ Object
17
18
19
|
# File 'lib/tamashii/agent/device/buzzer/dummy.rb', line 17
def play_no
logger.debug "Played: No"
end
|
#play_ok ⇒ Object
13
14
15
|
# File 'lib/tamashii/agent/device/buzzer/dummy.rb', line 13
def play_ok
logger.debug "Played: OK"
end
|
#shutdown ⇒ Object
25
26
27
|
# File 'lib/tamashii/agent/device/buzzer/dummy.rb', line 25
def shutdown
logger.debug "Stopped"
end
|