Class: Pry::Shell::IO::Pager::Proxy
- Defined in:
- lib/pry/shell/io/pager.rb
Instance Attribute Summary collapse
-
#pager ⇒ Object
readonly
Returns the value of attribute pager.
Instance Method Summary collapse
-
#initialize(output) ⇒ Proxy
constructor
rubocop:disable Lint/MissingSuper.
- #open(&block) ⇒ Object
- #page(text) ⇒ Object
Constructor Details
Instance Attribute Details
#pager ⇒ Object (readonly)
Returns the value of attribute pager.
15 16 17 |
# File 'lib/pry/shell/io/pager.rb', line 15 def pager @pager end |
Instance Method Details
#open(&block) ⇒ Object
26 27 28 |
# File 'lib/pry/shell/io/pager.rb', line 26 def open(&block) pager.open(&block) end |
#page(text) ⇒ Object
22 23 24 |
# File 'lib/pry/shell/io/pager.rb', line 22 def page(text) pager.page(text) end |