class ActionConductor::DeferredExport
Attributes
callback[R]
context[R]
id[R]
Public Class Methods
new(id, &callback)
click to toggle source
# File lib/action_conductor/deferred_export.rb, line 5 def initialize(id, &callback) @id, @callback = id, callback end
Public Instance Methods
export(context, export_value=nil)
click to toggle source
# File lib/action_conductor/deferred_export.rb, line 9 def export(context, export_value=nil) context.instance_exec(export_value, &callback) end