Method: TTY::Pager::ClassMethods#page
- Defined in:
- lib/tty/pager.rb
#page(text = nil, path: nil, enabled: true, command: nil, **options, &block) ⇒ Object
Paginate content through null, basic or system pager.
63 64 65 66 67 68 |
# File 'lib/tty/pager.rb', line 63 def page(text = nil, path: nil, enabled: true, command: nil, **, &block) select_pager(enabled: enabled, command: command). page(text, path: path, enabled: enabled, command: command, **, &block) end |