Sha256: c1845cd5b1f43ca820e9b1ee5b1e0de5d54d0d081e47bd86639ec294d856bfb6

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

module FastlaneCore
  class Env
    def self.truthy?(env)
      return false unless ENV[env]
      return false if ["no", "false", "off", "0"].include?(ENV[env].to_s)
      return true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 fastlane_core/lib/fastlane_core/env.rb
fastlane_hotfix-2.165.0 fastlane_core/lib/fastlane_core/env.rb
fastlane_hotfix-2.187.0 fastlane_core/lib/fastlane_core/env.rb