Method: FormatR::Format#resetPage
- Defined in:
- lib/formatr.rb
#resetPage ⇒ Object
Sets the variable that says how many lines may be printed to the maximum for the page which can be set using setPageLength (anInt). Defaults to 60.
772 773 774 775 776 |
# File 'lib/formatr.rb', line 772 def resetPage () @lines_left = @page_length @top.resetPage unless @top.nil? @bottom.resetPage unless @bottom.nil? end |