Corresponds to $(LIBPATH) in mkmf
Adds symlink name
with permissions mode
, linking to target
.
Defines a custom git source that uses name
to expand git repositories for use in gems built from git repositories. You must provide a block that accepts a git repository name for expansion.
Returns the path to the trusted certificate
Add a certificate to trusted certificate list.
Creates a new Socket::Option
object for IP_MULTICAST_TTL.
The size is dependent on the platform.
p Socket::Option.ipv4_multicast_ttl(10) #=> #<Socket::Option: INET IP MULTICAST_TTL 10>
Returns the ipv4_multicast_ttl
data in sockopt as an integer.
sockopt = Socket::Option.ipv4_multicast_ttl(10) p sockopt.ipv4_multicast_ttl => 10
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 an integer.
sockopt = Socket::Option.ipv4_multicast_loop(10) p sockopt.ipv4_multicast_loop => 10
Returns the array of WIN32OLE::Type
object which is implemented by the WIN32OLE::Type
object and having IMPLTYPEFLAG_FSOURCE.
tobj = WIN32OLE::Type.new('Microsoft Internet Controls', "InternetExplorer") p tobj.source_ole_types # => [#<WIN32OLE::Type:DWebBrowserEvents2>, #<WIN32OLE::Type:DWebBrowserEvents>]
Returns the array of WIN32OLE::Type
object which is implemented by the WIN32OLE::Type
object and having IMPLTYPEFLAG_FSOURCE and IMPLTYPEFLAG_FDEFAULT.
tobj = WIN32OLE::Type.new('Microsoft Internet Controls', "InternetExplorer") p tobj.default_event_sources # => [#<WIN32OLE::Type:DWebBrowserEvents2>]
Save the delimiter_loc
location using the given saved source so that it can be retrieved later.
Save the delimiter_loc
location using the given saved source so that it can be retrieved later.
def forced_utf8_encoding?: () -> bool
def forced_binary_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool
def forced_binary_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool