Class: Willamette::Strategies::Link
- Inherits:
-
Data
- Object
- Data
- Willamette::Strategies::Link
- Defined in:
- lib/willamette/strategies/link.rb
Overview
Contain logic for rendering
Instance Attribute Summary collapse
-
#current ⇒ Object
readonly
Returns the value of attribute current.
-
#depth ⇒ Object
readonly
Returns the value of attribute depth.
-
#icon ⇒ Object
readonly
Returns the value of attribute icon.
-
#icon_family ⇒ Object
readonly
Returns the value of attribute icon_family.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Attribute Details
#current ⇒ Object (readonly)
Returns the value of attribute current
3 4 5 |
# File 'lib/willamette/strategies/link.rb', line 3 def current @current end |
#depth ⇒ Object (readonly)
Returns the value of attribute depth
3 4 5 |
# File 'lib/willamette/strategies/link.rb', line 3 def depth @depth end |
#icon ⇒ Object (readonly)
Returns the value of attribute icon
3 4 5 |
# File 'lib/willamette/strategies/link.rb', line 3 def icon @icon end |
#icon_family ⇒ Object (readonly)
Returns the value of attribute icon_family
3 4 5 |
# File 'lib/willamette/strategies/link.rb', line 3 def icon_family @icon_family end |
#title ⇒ Object (readonly)
Returns the value of attribute title
3 4 5 |
# File 'lib/willamette/strategies/link.rb', line 3 def title @title end |
#url ⇒ Object (readonly)
Returns the value of attribute url
3 4 5 |
# File 'lib/willamette/strategies/link.rb', line 3 def url @url end |