Results for: "module_function"

Convert this arithmetic sequence to a printable form.

Returns a string formatted with an easily readable representation of the internal state of the pointer.

See Object#inspect.

No documentation available
No documentation available

Initializes the Cipher for encryption.

Make sure to call Cipher#encrypt or Cipher#decrypt before using any of the following methods:

Internally calls EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, 1).

Indicated whether this Cipher instance uses an Authenticated Encryption mode.

Returns the authentication code as a hex-encoded string. The digest parameter specifies the digest algorithm to use. This may be a String representing the algorithm name or an instance of OpenSSL::Digest.

Example

key = 'key'
data = 'The quick brown fox jumps over the lazy dog'

hmac = OpenSSL::HMAC.hexdigest('SHA1', key, data)
#=> "de7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9"

String representation of this configuration object, including the class name and its sections.

Pretty prints this engine.

No documentation available
No documentation available
No documentation available

Get the output style, canonical or not.

Set the output style to canonical, or not.

returns a string which shows ancillarydata in human-readable form.

p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").inspect
#=> "#<Socket::AncillaryData: INET6 IPV6 PKTINFO \"\">"

returns the timestamp as a time object.

ancillarydata should be one of following type:

Returns a string to show contents of ifaddr.

No documentation available

Returns a string which shows sockopt in human-readable form.

p Socket::Option.new(:INET, :SOCKET, :KEEPALIVE, [1].pack("i")).inspect
#=> "#<Socket::Option: INET SOCKET KEEPALIVE 1>"

Calls String#unpack on sockopt.data.

sockopt = Socket::Option.new(:INET, :SOCKET, :KEEPALIVE, [1].pack("i"))
p sockopt.unpack("i")      #=> [1]
p sockopt.data.unpack("i") #=> [1]
No documentation available

disconnects OLE server. If this method called, then the WIN32OLE::Event object does not receive the OLE server event any more. This method is trial implementation.

ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE::Event.new(ie)
ev.on_event() { something }
# ...
ev.unadvise

Returns help context.

tobj = WIN32OLE::Type.new('Microsoft Excel 9.0 Object Library', 'Workbooks')
method = WIN32OLE::Method.new(tobj, 'Add')
puts method.helpcontext # => 65717

Returns the method name with class name.

Search took: 10ms  ·  Total Results: 3609