Method: Sequence#read!

Defined in:
lib/sequence.rb

#read!(reverse = false) ⇒ Object

read the remaining elements. if reverse, read everything behind position



115
116
117
118
119
120
121
# File 'lib/sequence.rb', line 115

def read!(reverse=false)
  if reverse
    readback pos
  else
    read rest_size
  end
end