Method: Documentation::SearchResult#start_result_number
- Defined in:
- lib/documentation/search_result.rb
#start_result_number ⇒ Object
The number of the first result on the current page
58 59 60 |
# File 'lib/documentation/search_result.rb', line 58 def start_result_number ((page - 1) * per_page) + 1 end |