Sha256: 69a5268c84fc15a9bf539c28f0469ee3ba2b7eb8b6ce9c56363d3b5df1f31a19

Contents?: true

Size: 258 Bytes

Versions: 14

Compression:

Stored size: 258 Bytes

Contents

module Ufo::Hooks
  module Concern
    # options example: {name: "build", file: "docker.rb"}
    def run_hooks(options={}, &block)
      hooks = Ufo::Hooks::Builder.new(options)
      hooks.build # build hooks
      hooks.run_hooks(&block)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ufo-6.3.13 lib/ufo/hooks/concern.rb
ufo-6.3.12 lib/ufo/hooks/concern.rb
ufo-6.3.11 lib/ufo/hooks/concern.rb
ufo-6.3.10 lib/ufo/hooks/concern.rb
ufo-6.3.9 lib/ufo/hooks/concern.rb
ufo-6.3.8 lib/ufo/hooks/concern.rb
ufo-6.3.7 lib/ufo/hooks/concern.rb
ufo-6.3.6 lib/ufo/hooks/concern.rb
ufo-6.3.5 lib/ufo/hooks/concern.rb
ufo-6.3.4 lib/ufo/hooks/concern.rb
ufo-6.3.3 lib/ufo/hooks/concern.rb
ufo-6.3.2 lib/ufo/hooks/concern.rb
ufo-6.3.1 lib/ufo/hooks/concern.rb
ufo-6.3.0 lib/ufo/hooks/concern.rb