Sha256: 7f3b5934fa919c131e6b255971ca2715d46972bf8f81ae670f99e646b5dfc7bd

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true

require "service_skeleton/config_variable"

class ServiceSkeleton::ConfigVariable::String < ServiceSkeleton::ConfigVariable
  private

  def pluck_value(env)
    maybe_default(env) do
      env[@name.to_s]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
service_skeleton-0.0.0.43.g678698a lib/service_skeleton/config_variable/string.rb
service_skeleton-0.0.0.41.g9507cda lib/service_skeleton/config_variable/string.rb