lib/prawn/document.rb
# Re-opens the page with the given (1-based) page number so that you can
# draw on it.
#
# See Prawn::Document#number_pages for a sample usage of this capability.
#
Re-opens the page with the given (1-based) page number so that you can
draw on it.

See Prawn::Document#number_pages for a sample usage of this capability.
Re - opens the page with the given ( 1 - based ) page number so that you can draw on it . See Prawn :: Document#number_pages for a sample usage of this capability .
def go_to_page(k)
      @page_number = k
      state.page = state.pages[k-1]
      generate_margin_box
      @bounding_box = @margin_box
      @y = @bounding_box.absolute_top
    end
def go_to_page ( k ) @page_number = k state . page = state . pages [ k - 1 ] generate_margin_box @bounding_box = @margin_box @y = @bounding_box . absolute_top end
Re-opens the page with the given (1-based) page number so that you can
draw on it.
Re - opens the page with the given ( 1 - based ) page number so that you can draw on it .
k
<not_specific>