class Pry::Pager::NullPager

`NullPager` is a “pager” that actually just prints all output as it comes in. Used when `Pry.config.pager` is false.

Public Class Methods

new(out) click to toggle source
# File lib/pry/pager.rb, line 69
def initialize(out)
  @out = out
end

Public Instance Methods

<<(str)
Alias for: print
close() click to toggle source
# File lib/pry/pager.rb, line 86
def close; end
print(str) click to toggle source
Also aliased as: <<
puts(str) click to toggle source
# File lib/pry/pager.rb, line 73
def puts(str)
  print "#{str.chomp}\n"
end
write(str) click to toggle source
# File lib/pry/pager.rb, line 82
def write(str)
  @out.write str
end

Private Instance Methods

height() click to toggle source
# File lib/pry/pager.rb, line 90
def height
  @height ||= @out.height
end
width() click to toggle source
# File lib/pry/pager.rb, line 94
def width
  @width ||= @out.width
end