Sha256: 31e010b92293af381cf76a5613964e9ebe6b5f65b30f299a28699202f9d8cbc5

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

require 'brewby/outputs/test'
require 'brewby/outputs/gpio'

module Brewby
  module Outputs
    def self.adapter_class adapter
      case adapter
      when :test
        Brewby::Outputs::Test
      else
        Brewby::Outputs::GPIO
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brewby-0.1.1 lib/brewby/outputs.rb
brewby-0.1.0 lib/brewby/outputs.rb