Class: MOLGENIS::ModuleModel

Inherits:
Object
  • Object
show all
Defined in:
lib/molgenis_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeModuleModel

Returns a new instance of ModuleModel.



45
46
47
# File 'lib/molgenis_model.rb', line 45

def initialize
  @entities = []
end

Instance Attribute Details

#colorObject

Returns the value of attribute color.



43
44
45
# File 'lib/molgenis_model.rb', line 43

def color
  @color
end

#descriptionObject

Returns the value of attribute description.



43
44
45
# File 'lib/molgenis_model.rb', line 43

def description
  @description
end

#entitiesObject

Returns the value of attribute entities.



43
44
45
# File 'lib/molgenis_model.rb', line 43

def entities
  @entities
end

#labelObject

Returns the value of attribute label.



43
44
45
# File 'lib/molgenis_model.rb', line 43

def label
  @label
end

#nameObject

Returns the value of attribute name.



43
44
45
# File 'lib/molgenis_model.rb', line 43

def name
  @name
end

Instance Method Details

#get_labelObject



49
50
51
52
# File 'lib/molgenis_model.rb', line 49

def get_label
  return name if label.nil?
  return label
end