Method: Bundler::SpecSet#find_by_name_and_platform
- Defined in:
- lib/bundler/spec_set.rb
permalink #find_by_name_and_platform(name, platform) ⇒ Object
[View source]
159 160 161 |
# File 'lib/bundler/spec_set.rb', line 159 def find_by_name_and_platform(name, platform) @specs.detect {|spec| spec.name == name && spec.match_platform(platform) } end |