Class: KmEverything::KmEvent
- Inherits:
-
Struct
- Object
- Struct
- KmEverything::KmEvent
- Defined in:
- lib/km_everything.rb
Instance Attribute Summary collapse
-
#action_name ⇒ Object
Returns the value of attribute action_name.
-
#controller_name ⇒ Object
Returns the value of attribute controller_name.
Instance Method Summary collapse
Instance Attribute Details
#action_name ⇒ Object
Returns the value of attribute action_name
8 9 10 |
# File 'lib/km_everything.rb', line 8 def action_name @action_name end |
#controller_name ⇒ Object
Returns the value of attribute controller_name
8 9 10 |
# File 'lib/km_everything.rb', line 8 def controller_name @controller_name end |
Instance Method Details
#event ⇒ Object
9 10 11 12 13 |
# File 'lib/km_everything.rb', line 9 def event unless event_excluded? specified_event || unspecified_event end end |