private Method

DefaultDisplay.setup_pager

There's no documentation for this item.

Source Code

# File rdoc/ri/ri_display.rb, line 211
def setup_pager
  unless @options.use_stdout
    for pager in [ ENV['PAGER'], "less", "more", 'pager' ].compact.uniq
      return IO.popen(pager, "w") rescue nil
    end
    @options.use_stdout = true
    nil
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.