Sha256: 47ff64ef8313ab1ff8ed51fef52593d6faefc8ee7cdd36e54cc15d10d21eb9e3

Contents?: true

Size: 251 Bytes

Versions: 8

Compression:

Stored size: 251 Bytes

Contents

module Kubes::Docker::Strategy
  module Hooks
    def run_hooks(name, &block)
      hooks = Kubes::Hooks::Builder.new(name, "#{Kubes.root}/.kubes/config/docker/hooks.rb")
      hooks.build # build hooks
      hooks.run_hooks(&block)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kubes-0.3.5 lib/kubes/docker/strategy/hooks.rb
kubes-0.3.4 lib/kubes/docker/strategy/hooks.rb
kubes-0.3.3 lib/kubes/docker/strategy/hooks.rb
kubes-0.3.2 lib/kubes/docker/strategy/hooks.rb
kubes-0.3.1 lib/kubes/docker/strategy/hooks.rb
kubes-0.3.0 lib/kubes/docker/strategy/hooks.rb
kubes-0.2.6 lib/kubes/docker/strategy/hooks.rb
kubes-0.2.5 lib/kubes/docker/strategy/hooks.rb