Method: Bundler::GemHelpers::PlatformMatch.os_match

Defined in:
lib/bundler/gem_helpers.rb

.os_match(spec_platform, user_platform) ⇒ Object


101
102
103
104
105
106
107
# File 'lib/bundler/gem_helpers.rb', line 101

def self.os_match(spec_platform, user_platform)
  if spec_platform.os == user_platform.os
    0
  else
    1
  end
end