Class: Willamette::Strategies::Link

Inherits:
Data
  • Object
show all
Defined in:
lib/willamette/strategies/link.rb

Overview

Contain logic for rendering

Instance Attribute Summary collapse

Instance Attribute Details

#currentObject (readonly)

Returns the value of attribute current

Returns:

  • (Object)

    the current value of current



3
4
5
# File 'lib/willamette/strategies/link.rb', line 3

def current
  @current
end

#depthObject (readonly)

Returns the value of attribute depth

Returns:

  • (Object)

    the current value of depth



3
4
5
# File 'lib/willamette/strategies/link.rb', line 3

def depth
  @depth
end

#iconObject (readonly)

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



3
4
5
# File 'lib/willamette/strategies/link.rb', line 3

def icon
  @icon
end

#icon_familyObject (readonly)

Returns the value of attribute icon_family

Returns:

  • (Object)

    the current value of icon_family



3
4
5
# File 'lib/willamette/strategies/link.rb', line 3

def icon_family
  @icon_family
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



3
4
5
# File 'lib/willamette/strategies/link.rb', line 3

def title
  @title
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



3
4
5
# File 'lib/willamette/strategies/link.rb', line 3

def url
  @url
end