class Honeybadger::Util::Sanitizer
def sanitize_string(string)
Experimental RBS support (using type sampling data from the type_fusion
project).
def sanitize_string: (String string) -> String
This signature was generated using 263 samples from 1 application.
def sanitize_string(string) string = valid_encoding(string) return string unless string.respond_to?(:size) && string.size > MAX_STRING_SIZE string[0...MAX_STRING_SIZE] + TRUNCATED end