Sha256: 6ca6c39bf213532a82f706028edc1e2fd16a960c3e50c4245a60a2ff48b6db8b
Contents?: true
Size: 412 Bytes
Versions: 9
Compression:
Stored size: 412 Bytes
Contents
module Capistrano class Configuration def deferred_load(&block) if current_task instance_eval(&block) else on(:load, &block) end end end end def rvm_with_capistrano(&block) if Capistrano.const_defined?(:Configuration) && Capistrano::Configuration.methods.map(&:to_sym).include?(:instance) Capistrano::Configuration.instance(true).load(&block) end end
Version data entries
9 entries across 9 versions & 1 rubygems