Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

BasicSocket.do_not_reverse_lookup

() -> bool
BasicSocket.do_not_reverse_lookup => true or false

Gets the global do_not_reverse_lookup flag.

Example
BasicSocket.do_not_reverse_lookup  #=> false