Methods
- #
- A
- D
- E
- G
- I
- N
- P
- S
- T
- V
Included Modules
Constants
QUOTE_REGEXP_SQ | = | /\A([^'\\]*(?:\\.[^'\\]*)*)'/ |
escape with backslash |
||
QUOTE_REGEXP_DQ | = | /\A([^"\\]*(?:""[^"\\]*|\\.[^"\\]*)*)"/ |
escape with backslash and doubled dq |
||
ESCAPE_MAP | = | { "r" => "\r", "n" => "\n", "b" => "\b", "t" => "\t", } |
escaped char map |
||
DEFAULT_CONFIG_FILE | = | rb_str_new2(default_config_file) |
Class Public methods
new(filename = nil)
Link
Instance Public methods
[](section)
Link
[]=(section, pairs)
Link
add_value(section, key, value)
Link
each()
Link
get_value(section, key)
Link
inspect()
Link
parse(str)
Link
parse_config(io)
Link
section(name)
Link
sections()
Link
to_s()
Link
value(arg1, arg2 = nil)
Link
# File ext/openssl/lib/openssl/config.rb, line 231 def value(arg1, arg2 = nil) warn('Config#value is deprecated; use Config#get_value') if arg2.nil? section, key = 'default', arg1 else section, key = arg1, arg2 end section ||= 'default' section = 'default' if section.empty? get_key_string(section, key) end
Instance Protected methods