method
new
v1_9_3_125 -
Show latest stable
- Class:
OpenSSL::Config
new(filename = nil)public
No documentation available.
# File ext/openssl/lib/openssl/config.rb, line 212
def initialize(filename = nil)
@data = {}
if filename
File.open(filename.to_s) do |file|
Config.parse_config(file).each do |section, hash|
self[section] = hash
end
end
end
end