Class: Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, value, description) ⇒ Configuration

Returns a new instance of Configuration.



6
7
8
9
10
# File 'lib/configurations/configuration.rb', line 6

def initialize(name, value, description)
  @name = name
  @value = value
  @description = description
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



4
5
6
# File 'lib/configurations/configuration.rb', line 4

def description
  @description
end

#displayfieldObject

Returns the value of attribute displayfield.



4
5
6
# File 'lib/configurations/configuration.rb', line 4

def displayfield
  @displayfield
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/configurations/configuration.rb', line 4

def id
  @id
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/configurations/configuration.rb', line 4

def name
  @name
end

#valueObject

Returns the value of attribute value.



4
5
6
# File 'lib/configurations/configuration.rb', line 4

def value
  @value
end