Exception: Servent::Event::InvalidError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/servent/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event) ⇒ InvalidError

Returns a new instance of InvalidError.



6
7
8
# File 'lib/servent/event.rb', line 6

def initialize(event)
  @event = event
end

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



4
5
6
# File 'lib/servent/event.rb', line 4

def event
  @event
end