Method: LibGems::Platform.match
- Defined in:
- lib/libgems/platform.rb
.match(platform) ⇒ Object
20 21 22 23 24 25 |
# File 'lib/libgems/platform.rb', line 20 def self.match(platform) LibGems.platforms.any? do |local_platform| platform.nil? or local_platform == platform or (local_platform != LibGems::Platform::RUBY and local_platform =~ platform) end end |