Class: Alchemy::TreeNode

Inherits:
Struct
  • Object
show all
Defined in:
app/models/alchemy/tree_node.rb

Instance Attribute Summary collapse

Instance Attribute Details

#depth ⇒ Object

Returns the value of attribute depth

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of url



2
3
4
# File 'app/models/alchemy/tree_node.rb', line 2

def url
  @url
end