class AmaLayout::NavigationItem
Attributes
alt[RW]
current_url[RW]
icon[RW]
link[RW]
target[RW]
text[RW]
Public Class Methods
new(args = {})
click to toggle source
Calls superclass method
# File lib/ama_layout/navigation_item.rb, line 11 def initialize(args = {}) self.current_url = args[:current_url] super end
Public Instance Methods
decorate()
click to toggle source
# File lib/ama_layout/navigation_item.rb, line 5 def decorate AmaLayout::NavigationItemDecorator.new(self) end