Sha256: dd07b941052ab69a593801b83da9a451d606dd2aeaa0e71cb594f7c392a47d2d
Contents?: true
Size: 473 Bytes
Versions: 30
Compression:
Stored size: 473 Bytes
Contents
module PowerStencil module Plugins module Build def post_build_hook(*args) build_method_name = plugin_definition[:build] msg = "Plugin '#{self.name}' doesn't contain the '#{build_method_name}' method in the '#{plugin_definition[:plugin_module]}' module. Cannot build !" raise PowerStencil::Error, msg unless plugin_module.respond_to? build_method_name plugin_module.send build_method_name, *args end end end end
Version data entries
30 entries across 30 versions & 1 rubygems