Class: Alchemy::TreeNode
- Inherits:
-
Struct
- Object
- Struct
- Alchemy::TreeNode
- Defined in:
- app/models/alchemy/tree_node.rb
Instance Attribute Summary collapse
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#left ⇒ Object
Returns the value of attribute left.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#restricted ⇒ Object
Returns the value of attribute restricted.
-
#right ⇒ Object
Returns the value of attribute right.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#depth ⇒ Object
Returns the value of attribute depth
2 3 4 |
# File 'app/models/alchemy/tree_node.rb', line 2 def depth @depth end |
#left ⇒ Object
Returns the value of attribute left
2 3 4 |
# File 'app/models/alchemy/tree_node.rb', line 2 def left @left end |
#parent ⇒ Object
Returns the value of attribute parent
2 3 4 |
# File 'app/models/alchemy/tree_node.rb', line 2 def parent @parent end |
#restricted ⇒ Object
Returns the value of attribute restricted
2 3 4 |
# File 'app/models/alchemy/tree_node.rb', line 2 def restricted @restricted end |
#right ⇒ Object
Returns the value of attribute right
2 3 4 |
# File 'app/models/alchemy/tree_node.rb', line 2 def right @right end |
#url ⇒ Object
Returns the value of attribute url
2 3 4 |
# File 'app/models/alchemy/tree_node.rb', line 2 def url @url end |