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
Load an iseq object from binary format String
object created by RubyVM::InstructionSequence.to_binary
.
This loader does not have a verifier, so that loading broken/modified binary causes critical problem.
You should not load binary data provided by others. You should use binary data translated by yourself.
Returns whether the request may have a body:
Net::HTTP::Post.new(uri).request_body_permitted? # => true Net::HTTP::Get.new(uri).request_body_permitted? # => false
Returns whether the response may have a body:
Net::HTTP::Post.new(uri).response_body_permitted? # => true Net::HTTP::Head.new(uri).response_body_permitted? # => false
Compile a BlockNode
node
Compile a FloatNode
node
Compile a ParametersNode
node
Compile a ProgramNode
node
Compile a RangeNode
node
Compile a SuperNode
node
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.
Save the name_loc
location using the given saved source so that it can be retrieved later.