Sha256: 9e84a386b1a07e8fa731045a8eacb3f4f2f982ee0e8ad67e80312376b3d0aba9

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

require 'tamashii/agent/common'

module Tamashii
  module Agent
    module Device
      class DeviceBase
        include Common::Loggable

        def initialize(component, options = {})
          @component = component
          @options = options
        end

        def shutdown
          logger.warn "Device '#{self.class}' does not implement a shutdown method"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tamashii-agent-0.3.1 lib/tamashii/agent/device/device_base.rb