lib/pork/executor.rb in pork-1.4.4 vs lib/pork/executor.rb in pork-1.5.0
- old
+ new
@@ -1,15 +1,16 @@
require 'pork/imp'
+require 'pork/isolate'
require 'pork/context'
module Pork
class Executor < Struct.new(:pork_stat, :pork_description)
# we don't want this method from Struct.new, it's confusing when
# pork/isolate was not loaded. (i.e. isolate would override it anyway)
singleton_class.superclass.send(:remove_method, :[])
- extend Imp
+ extend Isolate, Imp
include Context
init
end
end