class Pry::Command::Ri

def page

def page
  paging_text = StringIO.new
  yield paging_text
  Pry::Pager.page(paging_text.string)
end