Class: SiteLogic::Navigation

Inherits:
Object
  • Object
show all
Defined in:
lib/site_logic/navigation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Navigation

Returns a new instance of Navigation.



6
7
8
# File 'lib/site_logic/navigation.rb', line 6

def initialize(args)
  args.each{|k,v| self.send("#{k}=",v) if self.respond_to?(k)}
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/site_logic/navigation.rb', line 5

def description
  @description
end

#kindObject

Returns the value of attribute kind.



3
4
5
# File 'lib/site_logic/navigation.rb', line 3

def kind
  @kind
end

#labelObject

Returns the value of attribute label.



4
5
6
# File 'lib/site_logic/navigation.rb', line 4

def label
  @label
end