Sha256: 38bf0c7245c6b87aa3303716e317cbb23d5d4720dc989a5e1926f86d564c2ee6

Contents?: true

Size: 402 Bytes

Versions: 14

Compression:

Stored size: 402 Bytes

Contents

require 'tamashii/agent/adapter/base'
require 'tamashii/agent/device/pi_buzzer'
require 'tamashii/agent/device/fake_buzzer'

module Tamashii
  module Agent
    module Adapter
      class Buzzer < Base
        class << self
          def real_class
            Device::PIBuzzer
          end

          def fake_class
            Device::FakeBuzzer
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tamashii-agent-0.3.0 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.8 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.7 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.6 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.5 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.4 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.3 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.1 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.2.0 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.1.11 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.1.10 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.1.9 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.1.8 lib/tamashii/agent/adapter/buzzer.rb
tamashii-agent-0.1.7 lib/tamashii/agent/adapter/buzzer.rb