Sha256: 295b3938e254619f13424d3a3b2277a7fae6ff916ea06e2bc66fcad8c0610c79

Contents?: true

Size: 245 Bytes

Versions: 4

Compression:

Stored size: 245 Bytes

Contents

require 'scorpion/prey'

module Scorpion
  class Prey
    # {Prey} for a {Class} contract
    class ClassPrey < Scorpion::Prey

      def fetch( scorpion, *args, &block )
        scorpion.spawn contract, *args, &block
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scorpion-ioc-0.3.1 lib/scorpion/prey/class_prey.rb
scorpion-ioc-0.3.0 lib/scorpion/prey/class_prey.rb
scorpion-ioc-0.2.0 lib/scorpion/prey/class_prey.rb
scorpion-ioc-0.1.0 lib/scorpion/prey/class_prey.rb