Class: Utilities::Hierarchy::Node

Inherits:
Data
  • Object
show all
Defined in:
lib/utilities/hierarchy.rb

Instance Attribute Summary collapse

Instance Attribute Details

#aliasObject (readonly)

Returns the value of attribute alias

Returns:

  • (Object)

    the current value of alias



4
5
6
# File 'lib/utilities/hierarchy.rb', line 4

def alias
  @alias
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



4
5
6
# File 'lib/utilities/hierarchy.rb', line 4

def id
  @id
end

#klassObject (readonly)

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



4
5
6
# File 'lib/utilities/hierarchy.rb', line 4

def klass
  @klass
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



4
5
6
# File 'lib/utilities/hierarchy.rb', line 4

def label
  @label
end

#parent_idObject (readonly)

Returns the value of attribute parent_id

Returns:

  • (Object)

    the current value of parent_id



4
5
6
# File 'lib/utilities/hierarchy.rb', line 4

def parent_id
  @parent_id
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



4
5
6
# File 'lib/utilities/hierarchy.rb', line 4

def url
  @url
end

#weightObject (readonly)

Returns the value of attribute weight

Returns:

  • (Object)

    the current value of weight



4
5
6
# File 'lib/utilities/hierarchy.rb', line 4

def weight
  @weight
end