Class: HtmlSlicer::Helpers::LastSlice

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

Overview

Link with slice number that appears at the rightmost

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:



77
78
79
# File 'lib/html_slicer/helpers/tags.rb', line 77

def slice #:nodoc:
  @options[:slice_number]
end