Class: Mochigome::SubgroupPseudoRecord

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subgroup_model, value) ⇒ SubgroupPseudoRecord

Returns a new instance of SubgroupPseudoRecord.



94
95
96
97
# File 'lib/subgroup_model.rb', line 94

def initialize(subgroup_model, value)
  @subgroup_model = subgroup_model
  @value = value
end

Instance Attribute Details

#subgroup_modelObject (readonly)

Returns the value of attribute subgroup_model.



92
93
94
# File 'lib/subgroup_model.rb', line 92

def subgroup_model
  @subgroup_model
end

#valueObject (readonly)

Returns the value of attribute value.



92
93
94
# File 'lib/subgroup_model.rb', line 92

def value
  @value
end

Instance Method Details

#idObject



99
100
101
# File 'lib/subgroup_model.rb', line 99

def id
  @value
end

#mochigome_focusObject



103
104
105
# File 'lib/subgroup_model.rb', line 103

def mochigome_focus
  SubgroupPseudoRecordReportFocus.new(self)
end