Results for: "OptionParser"

No documentation available

Set the entity expansion limit. By default the limit is set to 10240.

Deprecated. Use REXML::Security.entity_expansion_text_limit= instead.

Get the entity expansion limit. By default the limit is set to 10240.

Deprecated. Use REXML::Security.entity_expansion_text_limit instead.

No documentation available

Set the entity expansion limit. By default the limit is set to 10240.

Get the entity expansion limit. By default the limit is set to 10240.

No documentation available

Returns the SSLSession object currently used, or nil if the session is not established.

Sets the Session to be used when the connection is established.

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

Content: [ String text ]

Content: [ String text ]

| RelationalExpr (‘<’ | ‘>’ | ‘<=’ | ‘>=’) AdditiveExpr | AdditiveExpr

| FUNCTION_NAME ‘(’ ( expr ( ‘,’ expr )* )? ‘)’

Explanation of the conflict used by exceptions to print useful messages

No documentation available

Gets the global do_not_reverse_lookup flag.

BasicSocket.do_not_reverse_lookup  #=> false

Sets the global do_not_reverse_lookup flag.

The flag is used for initial value of do_not_reverse_lookup for each socket.

s1 = TCPSocket.new("localhost", 80)
p s1.do_not_reverse_lookup                 #=> true
BasicSocket.do_not_reverse_lookup = false
s2 = TCPSocket.new("localhost", 80)
p s2.do_not_reverse_lookup                 #=> false
p s1.do_not_reverse_lookup                 #=> true

Gets the do_not_reverse_lookup flag of basicsocket.

require 'socket'

BasicSocket.do_not_reverse_lookup = false
TCPSocket.open("www.ruby-lang.org", 80) {|sock|
  p sock.do_not_reverse_lookup      #=> false
}
BasicSocket.do_not_reverse_lookup = true
TCPSocket.open("www.ruby-lang.org", 80) {|sock|
  p sock.do_not_reverse_lookup      #=> true
}
Search took: 5ms  ·  Total Results: 4416