Class: Brine::Performing::ImmediatePerformer
- Inherits:
-
Object
- Object
- Brine::Performing::ImmediatePerformer
- Defined in:
- lib/brine/performing.rb
Overview
Immediately invoke provided actions.
This has no instance state and therefore a Flyweight could be used, but too few instances are expected to warrant even the minor specialization.
Instance Method Summary collapse
-
#perform(actions) ⇒ Object
Perform the provided actions immediately.
Instance Method Details
#perform(actions) ⇒ Object
Perform the provided actions immediately.
25 26 27 |
# File 'lib/brine/performing.rb', line 25 def perform(actions) actions.call end |