Class: Mochigome::SubgroupPseudoRecord
- Inherits:
-
Object
- Object
- Mochigome::SubgroupPseudoRecord
- Defined in:
- lib/subgroup_model.rb
Instance Attribute Summary collapse
-
#subgroup_model ⇒ Object
readonly
Returns the value of attribute subgroup_model.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(subgroup_model, value) ⇒ SubgroupPseudoRecord
constructor
A new instance of SubgroupPseudoRecord.
- #mochigome_focus ⇒ Object
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_model ⇒ Object (readonly)
Returns the value of attribute subgroup_model.
92 93 94 |
# File 'lib/subgroup_model.rb', line 92 def subgroup_model @subgroup_model end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
92 93 94 |
# File 'lib/subgroup_model.rb', line 92 def value @value end |
Instance Method Details
#id ⇒ Object
99 100 101 |
# File 'lib/subgroup_model.rb', line 99 def id @value end |
#mochigome_focus ⇒ Object
103 104 105 |
# File 'lib/subgroup_model.rb', line 103 def mochigome_focus SubgroupPseudoRecordReportFocus.new(self) end |