Class: GECS::Experiment
- Inherits:
-
Struct
- Object
- Struct
- GECS::Experiment
- Defined in:
- lib/GECS.rb
Overview
Normative struct definition.
- id
-
Primary key.
- indVars
-
Array of factor identifiers (enum style).
- depVars
-
Array of output variable identifiers (enum style).
- description
-
Everything else as verbose text.
Instance Attribute Summary collapse
-
#depVars ⇒ Object
Returns the value of attribute depVars.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#indVars ⇒ Object
Returns the value of attribute indVars.
Instance Method Summary collapse
Instance Attribute Details
#depVars ⇒ Object
Returns the value of attribute depVars
186 187 188 |
# File 'lib/GECS.rb', line 186 def depVars @depVars end |
#description ⇒ Object
Returns the value of attribute description
186 187 188 |
# File 'lib/GECS.rb', line 186 def description @description end |
#id ⇒ Object
Returns the value of attribute id
186 187 188 |
# File 'lib/GECS.rb', line 186 def id @id end |
#indVars ⇒ Object
Returns the value of attribute indVars
186 187 188 |
# File 'lib/GECS.rb', line 186 def indVars @indVars end |
Instance Method Details
#to_s ⇒ Object
192 193 194 195 196 |
# File 'lib/GECS.rb', line 192 def to_s "Experiment id " + id.to_s + ": " + description.to_s + "\n" + " Independent variables: " + indVars.to_s + "\n" + " Dependent variables: " + depVars.to_s end |