Exception: Acta::UnknownEventType
- Defined in:
- lib/acta/errors.rb
Instance Attribute Summary collapse
-
#event_type ⇒ Object
readonly
Returns the value of attribute event_type.
Instance Method Summary collapse
-
#initialize(event_type) ⇒ UnknownEventType
constructor
A new instance of UnknownEventType.
Constructor Details
#initialize(event_type) ⇒ UnknownEventType
Returns a new instance of UnknownEventType.
59 60 61 62 |
# File 'lib/acta/errors.rb', line 59 def initialize(event_type) @event_type = event_type super("Unknown event type #{event_type.inspect} — class is not loaded") end |
Instance Attribute Details
#event_type ⇒ Object (readonly)
Returns the value of attribute event_type.
57 58 59 |
# File 'lib/acta/errors.rb', line 57 def event_type @event_type end |