Class: FastlaneCore::Env
- Inherits:
-
Object
- Object
- FastlaneCore::Env
- Defined in:
- fastlane_core/lib/fastlane_core/env.rb
Class Method Summary collapse
Class Method Details
.truthy?(env) ⇒ Boolean
3 4 5 6 7 |
# File 'fastlane_core/lib/fastlane_core/env.rb', line 3 def self.truthy?(env) return false unless ENV[env] return false if ["no", "false", "off", "0"].include?(ENV[env].to_s) return true end |