Class: AffirmIt::AffirmationEvent
- Defined in:
- lib/affirmit/event/affirmationevent.rb
Constant Summary
Constants inherited from Event
Event::EVENT_TYPE_DESCRIPTIONS
Instance Attribute Summary collapse
-
#affirmation ⇒ Object
readonly
Returns the value of attribute affirmation.
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(type, affirmation) ⇒ AffirmationEvent
constructor
A new instance of AffirmationEvent.
Methods inherited from Event
Constructor Details
#initialize(type, affirmation) ⇒ AffirmationEvent
Returns a new instance of AffirmationEvent.
7 8 9 10 |
# File 'lib/affirmit/event/affirmationevent.rb', line 7 def initialize type, affirmation super type @affirmation = affirmation end |
Instance Attribute Details
#affirmation ⇒ Object (readonly)
Returns the value of attribute affirmation.
5 6 7 |
# File 'lib/affirmit/event/affirmationevent.rb', line 5 def affirmation @affirmation end |