Class: Evey::Reactor

Inherits:
Object
  • Object
show all
Defined in:
lib/evey/reactor.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event) ⇒ Reactor

Returns a new instance of Reactor.



8
9
10
# File 'lib/evey/reactor.rb', line 8

def initialize(event)
  @event = event
end

Instance Attribute Details

#eventObject

Returns the value of attribute event.



6
7
8
# File 'lib/evey/reactor.rb', line 6

def event
  @event
end

Class Method Details

.call(event) ⇒ Object



2
3
4
# File 'lib/evey/reactor.rb', line 2

def self.call(event)
  new(event).call
end

Instance Method Details

#callObject



12
13
# File 'lib/evey/reactor.rb', line 12

def call
end