Class: Utilities::Hierarchy::Node
- Inherits:
-
Data
- Object
- Data
- Utilities::Hierarchy::Node
- Defined in:
- lib/utilities/hierarchy.rb
Instance Attribute Summary collapse
-
#alias ⇒ Object
readonly
Returns the value of attribute alias.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#parent_id ⇒ Object
readonly
Returns the value of attribute parent_id.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#weight ⇒ Object
readonly
Returns the value of attribute weight.
Instance Attribute Details
#alias ⇒ Object (readonly)
Returns the value of attribute alias
4 5 6 |
# File 'lib/utilities/hierarchy.rb', line 4 def alias @alias end |
#id ⇒ Object (readonly)
Returns the value of attribute id
4 5 6 |
# File 'lib/utilities/hierarchy.rb', line 4 def id @id end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass
4 5 6 |
# File 'lib/utilities/hierarchy.rb', line 4 def klass @klass end |
#label ⇒ Object (readonly)
Returns the value of attribute label
4 5 6 |
# File 'lib/utilities/hierarchy.rb', line 4 def label @label end |
#parent_id ⇒ Object (readonly)
Returns the value of attribute parent_id
4 5 6 |
# File 'lib/utilities/hierarchy.rb', line 4 def parent_id @parent_id end |
#url ⇒ Object (readonly)
Returns the value of attribute url
4 5 6 |
# File 'lib/utilities/hierarchy.rb', line 4 def url @url end |
#weight ⇒ Object (readonly)
Returns the value of attribute weight
4 5 6 |
# File 'lib/utilities/hierarchy.rb', line 4 def weight @weight end |