Class: HtmlSlicer::Helpers::NextSlice

Inherits:
Tag
  • Object
show all
Includes:
Link
Defined in:
lib/html_slicer/helpers/tags.rb

Overview

The “next” slice of the current slice

Instance Method Summary collapse

Methods included from Link

#to_s, #url

Methods inherited from Tag

#initialize, #slice_url_for, #to_s

Constructor Details

This class inherits a constructor from HtmlSlicer::Helpers::Tag

Instance Method Details

#sliceObject

:nodoc:



93
94
95
# File 'lib/html_slicer/helpers/tags.rb', line 93

def slice #:nodoc:
  @options[:current_slice] + 1
end