Class: SimplePaginate::Helpers::Page
- Inherits:
-
Tag
- Object
- Tag
- SimplePaginate::Helpers::Page
show all
- Includes:
- Link
- Defined in:
- lib/simple_paginate/helpers/tags.rb
Instance Method Summary
collapse
Methods included from Link
#url
Methods inherited from Tag
#initialize, #page_url_for
Instance Method Details
#page ⇒ Object
63
64
65
|
# File 'lib/simple_paginate/helpers/tags.rb', line 63
def page
@options[:page]
end
|
#to_s(locals = {}) ⇒ Object
67
68
69
|
# File 'lib/simple_paginate/helpers/tags.rb', line 67
def to_s(locals = {})
super locals.merge(page: page)
end
|