module HtmlSlicer::Helpers::Link

Tag that contains a link

Public Instance Methods

slice() click to toggle source

target slice number

# File lib/html_slicer/helpers/tags.rb, line 42
def slice
  raise 'Override slice with the actual slice value to be a slice.'
end
url() click to toggle source

the link's href

# File lib/html_slicer/helpers/tags.rb, line 46
def url
  slice_url_for slice
end