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
mux_ruby-3.20.0 vendor/bundle/ruby/3.2.0/gems/pry-0.13.1/lib/pry/env.rb
cybrid_api_bank_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.123.12 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.123.11 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.123.10 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.123.7 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
ory-client-1.15.12 vendor/bundle/ruby/3.1.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.123.4 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_bank_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_organization_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb
cybrid_api_id_ruby-0.123.3 vendor/bundle/ruby/3.3.0/gems/pry-0.14.2/lib/pry/env.rb