class Honeybadger::Util::Sanitizer

def basic_object?(object)

Experimental RBS support (using type sampling data from the type_fusion project).

type Honeybadger__Util__Sanitizer_basic_object?_object = String | nil | Hash | Float | true | Interrupt

def basic_object?: (Honeybadger__Util__Sanitizer_basic_object?_object object) -> false

This signature was generated using 518 samples from 1 application.

def basic_object?(object)
  object.respond_to?(:to_s)
  false
rescue
  # BasicObject doesn't respond to `#respond_to?`.
  true
end