class Qrda::Export::Helper::Population
Attributes
id[RW]
observation[RW]
stratifications[RW]
supplemental_data[RW]
type[RW]
value[RW]
Public Class Methods
new()
click to toggle source
# File lib/qrda-export/helper/aggregate_object_helper.rb, line 62 def initialize @stratifications = [] end
Public Instance Methods
add_stratification(id,value,observation)
click to toggle source
# File lib/qrda-export/helper/aggregate_object_helper.rb, line 66 def add_stratification(id,value,observation) stratifications << Stratification.new(id,value,observation) unless stratifications.find {|st| st.id == id} end