Sha256: 75e1c9a805a0f3c1fdb9f6cfb9f9f8e8040d6e2b441718e98156883cd39d2fc0

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

require 'observed/observer'

module Observed
  module Default
    class Observer < Observed::Observer

      attribute :reader

      def observe
        data = reader.read
        system.report(tag, data)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
observed-0.1.1 lib/observed/default/observer.rb