Sha256: 1000b45f2b71759a0eb08c9d26a1017befce508ae51c8ca0081c1a9cef4f83ad

Contents?: true

Size: 464 Bytes

Versions: 18

Compression:

Stored size: 464 Bytes

Contents

# frozen_string_literal: true

# module OS
#   def OS.windows?
#     (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
#   end
#
#   def OS.mac?
#     (/darwin/ =~ RUBY_PLATFORM) != nil
#   end
#
#   def OS.unix?
#     !OS.windows?
#   end
#
#   def OS.linux?
#     OS.unix? and !OS.mac? and !OS.opal?
#   end
#
#   def OS.jruby?
#     RUBY_ENGINE == 'jruby'
#   end
#
#   def OS.opal?
#     RUBY_ENGINE == 'opal'
#   end
# end
#
# # alert  OS.linux?

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
atome-0.5.4.1.9 vendor/assets/src/medias/rubies/unstable/_os.rb
atome-0.5.4.1.7 vendor/assets/src/medias/rubies/unstable/_os.rb
atome-0.5.4.1.3 vendor/assets/src/medias/rubies/unstable/_os.rb
atome-0.5.4.1.2 vendor/assets/src/medias/rubies/unstable/_os.rb
atome-0.5.4.1.1 vendor/assets/src/medias/rubies/unstable/_os.rb
atome-0.5.4.1.0 vendor/assets/src/medias/rubies/unstable/_os.rb
atome-0.5.4.0.9 vendor/assets/src/medias/rubies/unstable/_os.rb
atome-0.5.3.8.8 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.3.8.1 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.3.8.0 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.3.7.8 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.3.7.3 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.3.7.2 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.3.4 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.3.2 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.2.8 vendor/assets/src/medias/rubies/examples/_os.rb
atome-0.5.2.7 vendor/assets/build/medias/rubies/examples/_os.rb
atome-0.5.2.5 vendor/assets/build/medias/rubies/examples/_os.rb