We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unknown
1 parent f14c28d commit 350f113Copy full SHA for 350f113
lib/memory/cache.rb
@@ -50,9 +50,9 @@ def lookup_location(file, line)
50
51
# Look up and cache a class name.
52
# @parameter klass [Class] The class object.
53
- # @returns [String] The class name or "<<Unknown>>" if unavailable.
+ # @returns [String] The class name or `unknown` if unavailable.
54
def lookup_class_name(klass)
55
- @class_name_cache[klass] ||= ((klass.is_a?(Class) && klass.name) || "<<Unknown>>").to_s
+ @class_name_cache[klass] ||= ((klass.is_a?(Class) && klass.name) || "unknown").to_s
56
end
57
58
# Look up and cache a string value.
0 commit comments