Class: Pry::Pager
- Inherits:
-
Object
- Object
- Pry::Pager
- Defined in:
- lib/zeus/pry.rb
Instance Method Summary collapse
Instance Method Details
#best_available ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/zeus/pry.rb', line 4 def best_available # Versions of Pry prior to 0.13 define `Pry::Pager#_pry_` # while versions after that define `Pry::Pager#pry_instance` pry = defined?(pry_instance) ? pry_instance : _pry_ # paging does not work in zeus so disable it NullPager.new(pry.output) end |