Class: HtmlSlicer::Helpers::Slice
- Includes:
- Link
- Defined in:
- lib/html_slicer/helpers/tags.rb
Overview
A slice
Instance Method Summary collapse
-
#slice ⇒ Object
target slice number.
-
#to_s(locals = {}) ⇒ Object
:nodoc:.
Methods included from Link
Methods inherited from Tag
Constructor Details
This class inherits a constructor from HtmlSlicer::Helpers::Tag
Instance Method Details
#slice ⇒ Object
target slice number
58 59 60 |
# File 'lib/html_slicer/helpers/tags.rb', line 58 def slice @options[:slice] end |
#to_s(locals = {}) ⇒ Object
:nodoc:
61 62 63 |
# File 'lib/html_slicer/helpers/tags.rb', line 61 def to_s(locals = {}) #:nodoc: super locals.merge(:slice => slice) end |