Class: Mochigome::SubgroupPseudoRecordReportFocus

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

Instance Method Summary collapse

Constructor Details

#initialize(rec) ⇒ SubgroupPseudoRecordReportFocus

Returns a new instance of SubgroupPseudoRecordReportFocus.



109
110
111
# File 'lib/subgroup_model.rb', line 109

def initialize(rec)
  @rec = rec
end

Instance Method Details

#field_data(fieldset_names = nil) ⇒ Object



121
122
123
# File 'lib/subgroup_model.rb', line 121

def field_data(fieldset_names = nil)
  {}
end

#nameObject



117
118
119
# File 'lib/subgroup_model.rb', line 117

def name
  @rec.value
end

#type_nameObject



113
114
115
# File 'lib/subgroup_model.rb', line 113

def type_name
  @rec.subgroup_model.human_name
end