Class: HtmlSlicer::Helpers::PrevSlice
- Includes:
- Link
- Defined in:
- lib/html_slicer/helpers/tags.rb
Overview
The “previous” slice of the current slice
Instance Method Summary collapse
-
#slice ⇒ Object
:nodoc:.
Methods included from Link
Methods inherited from Tag
#initialize, #slice_url_for, #to_s
Constructor Details
This class inherits a constructor from HtmlSlicer::Helpers::Tag
Instance Method Details
#slice ⇒ Object
:nodoc:
85 86 87 |
# File 'lib/html_slicer/helpers/tags.rb', line 85 def slice #:nodoc: @options[:current_slice] - 1 end |