Set
the default value for the :load_limit option.
See new(). The initial default value is 25 MB.
Check that a method is callable via dRuby.
obj
is the object we want to invoke the method on. msg_id
is the method name, as a Symbol
.
If the method is an insecure method (see insecure_method?
) a SecurityError
is thrown. If the method is private or undefined, a NameError
is thrown.
Returns integer 80
, the default port to use for HTTP requests:
Net::HTTP.http_default_port # => 80
Returns integer 443
, the default port to use for HTTPS requests:
Net::HTTP.https_default_port # => 443
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
Visit the child nodes of the given node.
Compile a AndNode
node
Compile a ArgumentsNode
node
Compile a ArrayNode
node
Compile a AssocNode
node
Compile a BeginNode
node
Compile a BlockNode
node
Compile a BreakNode
node
Compile a CallNode
node
Compile a CaseNode
node
Compile a ClassNode
node
Compile a DefNode
node
Compile a DefinedNode
node
Compile a ElseNode
node
Compile a EnsureNode
node
Compile a FalseNode
node
Compile a FloatNode
node