Method: Cases::Case#initialize
- Defined in:
- lib/cases/case.rb
#initialize(method, event, options = {}, &action_block) ⇒ Case
Returns a new instance of Case.
10 11 12 13 14 15 16 17 |
# File 'lib/cases/case.rb', line 10 def initialize(method, event, = {}, &action_block) @method = method @event = event = @action_block = action_block register end |