Sha256: aa2f53eb35ae2ea0faf541ac44dd036adb1e865a01aedfa2152172f7c86f9eb3

Contents?: true

Size: 295 Bytes

Versions: 6509

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

class Pry
  # Env is a helper module to work with environment variables.
  #
  # @since v0.13.0
  # @api private
  module Env
    def self.[](key)
      return unless ENV.key?(key)

      value = ENV[key]
      return if value == ''

      value
    end
  end
end

Version data entries

6,509 entries across 6,505 versions & 30 rubygems

Version Path
cybrid_api_id_ruby-0.123.2 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.123.2 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.123.2 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.122.72 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.122.72 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.122.72 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
pry-0.15.0 lib/pry/env.rb
pry-0.15.0-java lib/pry/env.rb
cybrid_api_bank_ruby-0.122.71 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.122.71 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.122.71 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.122.70 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.122.70 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.122.70 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.122.69 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.122.69 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.122.69 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.122.68 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.122.68 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.122.68 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb