Flowdock
method

ssl_context_accessor

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Net::HTTP

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

ssl_context_accessor(name) public

No documentation

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

Hide source
# File lib/net/https.rb, line 129
    def self.ssl_context_accessor(name)
      module_eval("def \#{name}\nreturn nil unless @ssl_context\n@ssl_context.\#{name}\nend\n\ndef \#{name}=(val)\n@ssl_context ||= OpenSSL::SSL::SSLContext.new\n@ssl_context.\#{name} = val\nend\n", __FILE__, __LINE__ + 1)
    end
Register or log in to add new notes.