mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Revert "Remove now unused method"
This reverts commit 3a2d2f025081755bdb38af660897e7b2f749a33a. https://github.com/bundler/bundler/commit/13cef81582
This commit is contained in:
parent
c27aaf1a8f
commit
399501cdfe
1 changed files with 4 additions and 0 deletions
|
@ -518,6 +518,10 @@ module Bundler
|
|||
raise InvalidOption, "Unable to remove the platform `#{platform}` since the only platforms are #{@platforms.join ", "}"
|
||||
end
|
||||
|
||||
def add_current_platform
|
||||
current_platforms.each {|platform| add_platform(platform) }
|
||||
end
|
||||
|
||||
def find_resolved_spec(current_spec)
|
||||
specs.find_by_name_and_platform(current_spec.name, current_spec.platform)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue