class EaseEngine::Platform

Public Class Methods

linux?() click to toggle source
# File lib/ease_engine/platform.rb, line 11
def self.linux?
  self.ruby_platform =~ /linux/
end
mac?() click to toggle source
# File lib/ease_engine/platform.rb, line 7
def self.mac?
  self.ruby_platform =~ /darwin/
end
ruby_platform() click to toggle source
# File lib/ease_engine/platform.rb, line 3
def self.ruby_platform
  RUBY_PLATFORM.downcase
end
windows?() click to toggle source
# File lib/ease_engine/platform.rb, line 15
def self.windows?
  self.ruby_platform =~ /mingw/
end