Class: Tamashii::Agent::Device::Buzzer::Base

Inherits:
DeviceBase
  • Object
show all
Includes:
Common::Loggable
Defined in:
lib/tamashii/agent/device/buzzer/base.rb

Direct Known Subclasses

Dummy, PwmBuzzer

Instance Method Summary collapse

Methods included from Common::Loggable

#display_name, #logger, #progname

Methods inherited from DeviceBase

#fetch_option, #fetch_option!, #initialize, #shutdown, #unexport_pin

Constructor Details

This class inherits a constructor from Tamashii::Agent::Device::DeviceBase

Instance Method Details

#play_errorObject

Raises:

  • (NotImplementedError)


19
20
21
# File 'lib/tamashii/agent/device/buzzer/base.rb', line 19

def play_error
  raise NotImplementedError, "play_error"
end

#play_noObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/tamashii/agent/device/buzzer/base.rb', line 15

def play_no
  raise NotImplementedError, "play_no"
end

#play_okObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/tamashii/agent/device/buzzer/base.rb', line 11

def play_ok
  raise NotImplementedError, "play_ok"
end