Sha256: 64665ac855eb3e5ae15908c6b418e64467e7e09092e3685fe80fcc19f3e918ed

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

require "scorpion/dependency"

module Scorpion
  class Dependency
    # {Dependency} for a {Class} contract
    class ClassDependency < Scorpion::Dependency

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

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scorpion-ioc-1.0.1 lib/scorpion/dependency/class_dependency.rb
scorpion-ioc-1.0.0 lib/scorpion/dependency/class_dependency.rb