Class: Alchemy::TreeNode

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

Instance Attribute Summary collapse

Instance Attribute Details

#depthObject

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

#leftObject

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

#parentObject

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

#restrictedObject

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

#rightObject

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

#urlObject

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