Class: SiteLogic::Navigation
- Inherits:
-
Object
- Object
- SiteLogic::Navigation
- Defined in:
- lib/site_logic/navigation.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(args) ⇒ Navigation
constructor
A new instance of Navigation.
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
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/site_logic/navigation.rb', line 5 def description @description end |
#kind ⇒ Object
Returns the value of attribute kind.
3 4 5 |
# File 'lib/site_logic/navigation.rb', line 3 def kind @kind end |
#label ⇒ Object
Returns the value of attribute label.
4 5 6 |
# File 'lib/site_logic/navigation.rb', line 4 def label @label end |