Sha256: 42973d7f789723304cd9e33b43d9f25b6a76b4c2fefc37bcb3710d35005f8174
Contents?: true
Size: 373 Bytes
Versions: 11
Compression:
Stored size: 373 Bytes
Contents
class Puppeteer::Env # indicates whether DEBUG=1 is specified. # # @return [Boolean] def debug? ['1', 'true'].include?(ENV['DEBUG'].to_s) end def ci? ['1', 'true'].include?(ENV['CI'].to_s) end # check if running on macOS def darwin? RUBY_PLATFORM.include?('darwin') end end class Puppeteer def self.env Puppeteer::Env.new end end
Version data entries
11 entries across 11 versions & 1 rubygems