Method: Gem::Resolver#select_local_platforms

Defined in:
lib/rubygems/resolver.rb

#select_local_platforms(specs) ⇒ Object

Returns the gems in specs that match the local platform.



217
218
219
220
221
# File 'lib/rubygems/resolver.rb', line 217

def select_local_platforms(specs) # :nodoc:
  specs.select do |spec|
    Gem::Platform.installable? spec
  end
end