Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Move the alias to where it should be
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanitoFatas committed Aug 31, 2016
1 parent 138dde7 commit 55c51ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/bundler/settings.rb
Expand Up @@ -83,6 +83,7 @@ def []=(key, value)
local_config_file || raise(GemfileNotFound, "Could not locate Gemfile")
set_key(key, value, @local_config, local_config_file)
end
alias_method :set_local, :[]=

def temporary(update)
existing = Hash[update.map {|k, _| [k, @temporary[k]] }]
Expand All @@ -95,8 +96,6 @@ def temporary(update)
end
end

alias_method :set_local, :[]=

def delete(key)
@local_config.delete(key_for(key))
end
Expand Down

0 comments on commit 55c51ce

Please sign in to comment.