Class: Gexp::Receiver::Example
- Inherits:
-
Gexp::Receiver
- Object
- Gexp::Receiver
- Gexp::Receiver::Example
- Defined in:
- lib/gexp/receiver/example.rb
Instance Method Summary collapse
Methods inherited from Gexp::Receiver
current, current=, #initialize
Constructor Details
This class inherits a constructor from Gexp::Receiver
Instance Method Details
#receive ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/gexp/receiver/example.rb', line 5 def receive # Start transaction @stack.map do |hash, command| command.perform end # finish transaction end |