Method: Sequence#read1

Defined in:
lib/sequence.rb

#read1Object

read next element or nil if eof and advance position



67
68
69
# File 'lib/sequence.rb', line 67

def read1
  (read 1)[0]
end