module RVM::Environment::ConfigMixin
Mixin for a set of configs.
Public Instance Methods
Source
# File lib/rvm/environment/configuration.rb, line 30 def clear_config! @config = {} end
Reset this local config to be empty.
Source
# File lib/rvm/environment/configuration.rb, line 20 def config @config ||= {} end
Returns the current config for this scope
Source
# File lib/rvm/environment/configuration.rb, line 25 def merge_config!(r) r.each_pair { |k, v| config[k.to_s] = v } end
Merge a set of items into the config.