module Satchel

Constants

ActivityDataStructure
VERSION

Public Instance Methods

register(class_name, method_name, activity_receiver = Satchel::Activity, &config_block) click to toggle source
# File lib/satchel.rb, line 8
def register(class_name, method_name, activity_receiver = Satchel::Activity, &config_block)
  context_builder = ContextBuilder.new(class_name, method_name)
  activity_builder = ActivityBuilder.new(activity_receiver, config_block)
  context_builder.wrap!(activity_builder)
end