File: macos_version.rb

package info (click to toggle)
ruby-mocha 2.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,540 kB
  • sloc: ruby: 11,899; javascript: 477; makefile: 14
file content (5 lines) | stat: -rw-r--r-- 155 bytes parent folder | download | duplicates (2)
1
2
3
4
5
module Mocha
  MACOS = /darwin/.match(RUBY_PLATFORM)
  MACOS_VERSION = MACOS && /darwin(\d+)/.match(RUBY_PLATFORM)[1].to_i
  MACOS_MOJAVE_VERSION = 18
end