module Porch::Organizer
Attributes
context[R]
Public Class Methods
included(base)
click to toggle source
# File lib/porch/organizer.rb, line 18 def self.included(base) base.class_eval do include Rescuable end end
Public Instance Methods
with(parameters={}) { |chain| ... }
click to toggle source
# File lib/porch/organizer.rb, line 7 def with(parameters={}) @context = Context.new parameters handle_exceptions do chain = StepChain.new(self) yield chain if block_given? chain.execute context end end