Class: Wakame::Event::ActionEvent
Direct Known Subclasses
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(action) ⇒ ActionEvent
constructor
A new instance of ActionEvent.
- #log_message ⇒ Object
Constructor Details
#initialize(action) ⇒ ActionEvent
Returns a new instance of ActionEvent.
146 147 148 149 |
# File 'lib/wakame/event.rb', line 146 def initialize(action) super() @action = action end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
145 146 147 |
# File 'lib/wakame/event.rb', line 145 def action @action end |
Instance Method Details
#log_message ⇒ Object
151 152 153 |
# File 'lib/wakame/event.rb', line 151 def "#{@action.class}" end |