Class: HtmlSlicer::Helpers::FirstSlice

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

Overview

Link with slice number that appears at the leftmost

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:



69
70
71
# File 'lib/html_slicer/helpers/tags.rb', line 69

def slice #:nodoc:
  1
end