Sha256: 0b76f890ed02cf9891dd6b826555c0571e8facab52cd59b418cbaae19a820cb5

Contents?: true

Size: 373 Bytes

Versions: 5

Compression:

Stored size: 373 Bytes

Contents

require 'pork/imp'
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
    include Context
    init
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pork-1.4.4 lib/pork/executor.rb
pork-1.4.3 lib/pork/executor.rb
pork-1.4.2 lib/pork/executor.rb
pork-1.4.1 lib/pork/executor.rb
pork-1.4.0 lib/pork/executor.rb