class Protractor::Rails::PlatformHelper

Public Class Methods

linux?() click to toggle source
# File lib/protractor/rails.rb, line 12
def self.linux?
  RbConfig::CONFIG['target_os'] =~ /linux/i
end
mac?() click to toggle source
# File lib/protractor/rails.rb, line 8
def self.mac?
  RbConfig::CONFIG['target_os'] =~ /darwin/i
end
windows?() click to toggle source
# File lib/protractor/rails.rb, line 16
def self.windows?
  RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
end