Method: Sequence#nearbegin

Defined in:
lib/sequence.rb

#nearbegin(len, at = pos) ⇒ Object


is position within len elements of the beginning?



500
501
502
# File 'lib/sequence.rb', line 500

def nearbegin(len,at=pos)
  at<=len
end