Method: Sequence#nearend

Defined in:
lib/sequence.rb

#nearend(len, at = pos) ⇒ Object


is position within len elements of the end?



506
507
508
# File 'lib/sequence.rb', line 506

def nearend(len,at=pos)
  at+len>=size
end