class Shopli::BarcodeReader
Public Class Methods
new(path)
click to toggle source
# File lib/shopli/barcode_reader.rb, line 5 def initialize(path) @path = path end
Public Instance Methods
events_stream()
click to toggle source
# File lib/shopli/barcode_reader.rb, line 9 def events_stream di = DevInput.new(@path, 24) di.to_enum(:each) end