Sha256: 73335ee5d4d12c08e85023cebc10d40427464b5e4720ac93b6968368a7376291

Contents?: true

Size: 176 Bytes

Versions: 4

Compression:

Stored size: 176 Bytes

Contents

module Spank
  class IOC
    def self.bind_to(container)
      @@container = container
    end
    def self.resolve(symbol)
      @@container.resolve(symbol)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spank-0.0.1369197619 lib/spank/ioc.rb
spank-0.0.1369197478 lib/spank/ioc.rb
spank-0.0.2 lib/spank/ioc.rb
spank-0.0.1 lib/spank/ioc.rb