Sha256: 3f2489f60d5ac6b48fe167fe70331b2e11e88f80e54ae21791a79bb981e02947
Contents?: true
Size: 422 Bytes
Versions: 7
Compression:
Stored size: 422 Bytes
Contents
module CapUtil class DeployHalted < RuntimeError def backtrace; []; end end def self.halt(msg='deploy halted') raise CapUtil::DeployHalted, color(msg, :bold, :yellow) end module Halt def self.included(receiver) receiver.send(:extend, HaltMethods) receiver.send(:include, HaltMethods) end module HaltMethods def halt(*args); CapUtil.halt(*args); end end end end
Version data entries
7 entries across 7 versions & 1 rubygems