module Bundler::MatchPlatform

Public Instance Methods

match_platform(p) click to toggle source
# File lib/bundler/match_platform.rb, line 8
def match_platform(p)
  Gem::Platform::RUBY == platform ||
    platform.nil? || p == platform ||
    generic(Gem::Platform.new(platform)) === p
end