The mode needed to read a file as straight binary.
Perform hostname verification after an SSL
connection is established
This method MUST be called after calling connect
to ensure that the hostname of a remote peer has been verified.
Return the 2 dependency objects that conflicted
Get a single optional argument from the command line. If more than one argument is given, return only the first. Return nil if none are given.
Gets various OpenSSL
options.
Sets various OpenSSL
options.
Content: [ String text ]
| RelativeLocationPath | '/' RelativeLocationPath? | '//' RelativeLocationPath
Explanation of the conflict used by exceptions to print useful messages
Returns the change time for stat (that is, the time directory information about the file was changed, not the file itself).
Note that on Windows (NTFS), returns creation time (birth time).
File.stat("testfile").ctime #=> Wed Apr 09 08:53:14 CDT 2003
Establishes an FTP
connection to host, optionally overriding the default port. If the environment variable SOCKS_SERVER
is set, sets up the connection through a SOCKS proxy. Raises an exception (typically Errno::ECONNREFUSED
) if the connection cannot be established.
Turns on net/http 1.2 (Ruby 1.8) features. Defaults to ON in Ruby 1.8 or later.
Disconnects from the server.
Returns true if disconnected from the server.
@return the XMLDecl
version of this document as a String. If no XMLDecl
has been set, returns the default version.
True when the gem has been activated