Class: Pry::Pager
- Inherits:
-
Object
show all
- Defined in:
- lib/mind_control/pry_monkey_patches.rb
Defined Under Namespace
Classes: MindControlPager
Instance Method Summary
collapse
Instance Method Details
#best_available ⇒ Object
7
8
9
10
11
12
13
14
15
|
# File 'lib/mind_control/pry_monkey_patches.rb', line 7
def best_available
if _pry_ == Pry.current[ :mind_control_pry_instance ]
MindControlPager.new( _pry_.input, _pry_.output )
else
vanilla_best_available
end
end
|
#vanilla_best_available ⇒ Object
5
|
# File 'lib/mind_control/pry_monkey_patches.rb', line 5
alias :vanilla_best_available :best_available
|