Class: DDI::DDIVariable

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

Overview

Information about a variable/column in a dataset

Instance Attribute Summary collapse

Instance Attribute Details

#categoriesObject

Returns the value of attribute categories.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def categories
  @categories
end

#fileObject

Returns the value of attribute file.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def file
  @file
end

#groupObject

Returns the value of attribute group.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def group
  @group
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def id
  @id
end

#intervalObject

Returns the value of attribute interval.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def interval
  @interval
end

#interview_instructionObject

Returns the value of attribute interview_instruction.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def interview_instruction
  @interview_instruction
end

#labelObject

Returns the value of attribute label.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def label
  @label
end

#maxObject

Returns the value of attribute max.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def max
  @max
end

#minObject

Returns the value of attribute min.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def min
  @min
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def name
  @name
end

#questionObject

Returns the value of attribute question.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def question
  @question
end

#summary_statsObject

Returns the value of attribute summary_stats.



6
7
8
# File 'lib/models/ddi_variable.rb', line 6

def summary_stats
  @summary_stats
end