Method: TTY::Reader::History#previous?
- Defined in:
- lib/tty/reader/history.rb
#previous? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
134 135 136 |
# File 'lib/tty/reader/history.rb', line 134 def previous? size > 0 && !(@index < 0 && !@cycle) end |