Sha256: c372b5bd8ebf18abcb1ba5ce381e001001650ee0d10bfcdcaa04deb7fd772ba3

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

require 'scorpion/prey'

module Scorpion
  class Prey
    # {Prey} for a contract that implements #hunt
    class HuntedPrey < Scorpion::Prey

      # @see Scorpion::Prey#fetch
      def fetch( scorpion, *args, &block )
        contract.hunt( scorpion, *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/hunted_prey.rb
scorpion-ioc-0.3.0 lib/scorpion/prey/hunted_prey.rb
scorpion-ioc-0.2.0 lib/scorpion/prey/hunted_prey.rb
scorpion-ioc-0.1.0 lib/scorpion/prey/hunted_prey.rb