Class: EmotionalRating
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- EmotionalRating
- Defined in:
- app/models/emotional_rating.rb
Overview
Participants no longer rate their emotions, they rate emotional ratings These are objects tied to emotions - giving participants the opportunity to rate the same emotion multiple times.
Instance Attribute Summary collapse
-
#name ⇒ Object
writeonly
Sets the attribute name.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#name=(value) ⇒ Object (writeonly)
Sets the attribute name
14 15 16 |
# File 'app/models/emotional_rating.rb', line 14 def name=(value) @name = value end |
Class Method Details
.attribute_names ⇒ Object
35 36 37 |
# File 'app/models/emotional_rating.rb', line 35 def self.attribute_names super.concat ["name"] end |
Instance Method Details
#rating_value ⇒ Object
31 32 33 |
# File 'app/models/emotional_rating.rb', line 31 def Values::EmotionalRating.().to_s end |