Class: DDI::DDIVariable
- Inherits:
-
Object
- Object
- DDI::DDIVariable
- Defined in:
- lib/models/ddi_variable.rb
Overview
Information about a variable/column in a dataset
Instance Attribute Summary collapse
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#file ⇒ Object
Returns the value of attribute file.
-
#group ⇒ Object
Returns the value of attribute group.
-
#id ⇒ Object
Returns the value of attribute id.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#interview_instruction ⇒ Object
Returns the value of attribute interview_instruction.
-
#label ⇒ Object
Returns the value of attribute label.
-
#max ⇒ Object
Returns the value of attribute max.
-
#min ⇒ Object
Returns the value of attribute min.
-
#name ⇒ Object
Returns the value of attribute name.
-
#question ⇒ Object
Returns the value of attribute question.
-
#summary_stats ⇒ Object
Returns the value of attribute summary_stats.
Instance Attribute Details
#categories ⇒ Object
Returns the value of attribute categories.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def categories @categories end |
#file ⇒ Object
Returns the value of attribute file.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def file @file end |
#group ⇒ Object
Returns the value of attribute group.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def group @group end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def id @id end |
#interval ⇒ Object
Returns the value of attribute interval.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def interval @interval end |
#interview_instruction ⇒ Object
Returns the value of attribute interview_instruction.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def interview_instruction @interview_instruction end |
#label ⇒ Object
Returns the value of attribute label.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def label @label end |
#max ⇒ Object
Returns the value of attribute max.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def min @min end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def name @name end |
#question ⇒ Object
Returns the value of attribute question.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def question @question end |
#summary_stats ⇒ Object
Returns the value of attribute summary_stats.
6 7 8 |
# File 'lib/models/ddi_variable.rb', line 6 def summary_stats @summary_stats end |