Results for: "remove_const"

Creates a new Socket::Option object for IP_MULTICAST_LOOP.

The size is dependent on the platform.

sockopt = Socket::Option.int(:INET, :IPPROTO_IP, :IP_MULTICAST_LOOP, 1)
p sockopt.int => 1

p Socket::Option.ipv4_multicast_loop(10)
#=> #<Socket::Option: INET IP MULTICAST_LOOP 10>

Returns the ipv4_multicast_loop data in sockopt as a integer.

sockopt = Socket::Option.ipv4_multicast_loop(10)
p sockopt.ipv4_multicast_loop => 10

Creates a regular expression to match IPv4 addresses

No documentation available

Returns the max number of flags interned to symbols.

Sets the max number of flags interned to symbols.

No documentation available
No documentation available
No documentation available

The default mail submission port number, 587.

Enables SMTP/TLS (STARTTLS) for this object if server accepts. context is a OpenSSL::SSL::SSLContext object.

The get_attribute_ns method retrieves a method by its namespace and name. Thus it is possible to reliably identify an attribute even if an XML processor has changed the prefix.

Method contributed by Henrik Martensson

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

return the stub script text used to launch the true Ruby script

Specification attributes that must be non-nil

TODO: move to minitest

Choose from a list of options. question is a prompt displayed above the list. list is a list of option strings. Returns the pair [option_name, option_index].

No documentation available
No documentation available
Search took: 5ms  ·  Total Results: 3750