Sha256: 81f98fc239c8aa61f3f8b64a245dec37ee8901b400da7c1e52901962353d8263

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

require 'engineyard-serverside/callbacks/distributor/ruby'
require 'engineyard-serverside/callbacks/distributor/executable'

module EY
  module Serverside
    module Callbacks

      module Distributor
        FLAVORS = {
          :ruby => Ruby,
          :executable => Executable,
        }

        def self.distribute(runner, hooks)
          hooks.each do |hook|
            FLAVORS[hook.flavor].distribute(runner, hook)
          end
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engineyard-serverside-2.7.0.pre lib/engineyard-serverside/callbacks/distributor.rb