method
get_key_string
v2_4_6 -
Show latest stable
- Class:
OpenSSL::Config
get_key_string(data, section, key)public
No documentation available.
# File ext/openssl/lib/openssl/config.rb, line 61
def get_key_string(data, section, key) # :nodoc:
if v = data[section] && data[section][key]
return v
elsif section == 'ENV'
if v = ENV[key]
return v
end
end
if v = data['default'] && data['default'][key]
return v
end
end