Sha256: f01a95412e8948a9b7d42e34dc8fce08eb7cddc4e5cb40a9997a99fd59ca9d8b
Contents?: true
Size: 822 Bytes
Versions: 4
Compression:
Stored size: 822 Bytes
Contents
require 'rvm' require 'cuken/api/common' require 'cuken/api/rvm/common' require 'cuken/api/rvm/gemsets' module ::Cuken module Api module Rvm extend ::RVM include ::Cuken::Api::Rvm::Common include ::Cuken::Api::Aruba::Api class RvmHelper attr_reader :environment def init RVM::Environment end def current @current = RVM.current end def environment_name current.environment_name end def gemset current.gemset end def environment(gemset, options={}) @environemnt = self.new(gemset, options) yield @environemnt if block_given? @environemnt end end def rvm @rvm ||= RvmHelper.new end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cuken-0.1.18 | lib/cuken/api/rvm.rb |
cuken-0.1.17 | lib/cuken/api/rvm.rb |
cuken-0.1.16 | lib/cuken/api/rvm.rb |
cuken-0.1.15 | lib/cuken/api/rvm.rb |