Sha256: 699e47d82aaec7beeeb6a9c1d9bff7bf66d25418148f126726dfc94e4377226b

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

require 'bundler/gem_helpers'

module Bundler
  module MatchPlatform
    include GemHelpers

    def match_platform(p)
      Gem::Platform::RUBY == platform or
      platform.nil? or p == platform or
      generic(Gem::Platform.new(platform)) == p or
      platform === p
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bundler-1.9.3 lib/bundler/match_platform.rb