method

get_key_string

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: Config
get_key_string(data, section, key) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/openssl/lib/openssl/config.rb, line 62
      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
Register or log in to add new notes.