Sha256: df7b71f476c0c4a72b098e2959c0797f11c17291037d02b76e22b54544413ec6

Contents?: true

Size: 273 Bytes

Versions: 15

Compression:

Stored size: 273 Bytes

Contents

require 'rvm/capistrano/helpers/base'

rvm_with_capistrano do

  unless methods.map(&:to_sym).include?(:_cset)
    # Taken from the capistrano code.
    def _cset(name, *args, &block)
      unless exists?(name)
        set(name, *args, &block)
      end
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rvm-capistrano-1.5.6 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.5.5 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.5.4 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.5.3 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.5.2 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.5.1 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.5.0 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.5.0.rc1 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.4.4 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.4.3 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.4.2 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.4.1 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.4.0 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.4.0.rc3 lib/rvm/capistrano/helpers/_cset.rb
rvm-capistrano-1.4.0.rc2 lib/rvm/capistrano/helpers/_cset.rb