Module: Enumerable

Defined in:
lib/pdf-417.rb

Instance Method Summary collapse

Instance Method Details

#probeObject



4
5
6
7
8
# File 'lib/pdf-417.rb', line 4

def probe
  out = nil
  each_with_index {|val, i| out = yield(val, i) and break}
  out
end