Method: Sequence#succ

Defined in:
lib/sequence.rb

#succObject

Return a new #position for next location or nil if we are at the end.



473
474
475
# File 'lib/sequence.rb', line 473

def succ
  self+1 unless eof?
end