Sha256: 5ffbecfec9adcbcba4c1aa44bca8bb2854bb724eddb00eb6487649b86daf51f9

Contents?: true

Size: 185 Bytes

Versions: 28

Compression:

Stored size: 185 Bytes

Contents

module LicenseFinder
  module Platform
    def self.darwin?
      RUBY_PLATFORM =~ /darwin/
    end

    def self.windows?
      RUBY_PLATFORM =~ /mswin|cygwin|mingw/
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
license_finder-5.3.0 lib/license_finder/platform.rb
license_finder-5.2.3 lib/license_finder/platform.rb
license_finder-5.2.1 lib/license_finder/platform.rb
license_finder-5.2.0 lib/license_finder/platform.rb
license_finder-5.1.1 lib/license_finder/platform.rb
license_finder-5.1.0 lib/license_finder/platform.rb
license_finder-5.0.3 lib/license_finder/platform.rb
license_finder-5.0.2 lib/license_finder/platform.rb
license_finder-5.0.0 lib/license_finder/platform.rb
license_finder-4.0.2 lib/license_finder/platform.rb
license_finder-4.0.1 lib/license_finder/platform.rb
license_finder-3.1.1 lib/license_finder/platform.rb
license_finder-3.0.4 lib/license_finder/platform.rb
license_finder-3.0.2 lib/license_finder/platform.rb
license_finder-3.0.1 lib/license_finder/platform.rb
license_finder-3.0.0 lib/license_finder/platform.rb
license_finder-2.1.2 lib/license_finder/platform.rb
license_finder-2.1.1 lib/license_finder/platform.rb
license_finder-2.1.0 lib/license_finder/platform.rb
license_finder-2.1.0.rc9 lib/license_finder/platform.rb