Method: Sequence#pred
- Defined in:
- lib/sequence.rb
#pred ⇒ Object
Return a new #position for previous location or nil if we are at the beginning.
477 478 479 |
# File 'lib/sequence.rb', line 477 def pred self-1 unless pos.zero? end |