Class: String
Instance Method Summary collapse
-
#inspect_lit ⇒ String
Formats self to look like a String literal so that object type will be inherently obvious when inspected.
Instance Method Details
#inspect_lit ⇒ String
Formats self to look like a String literal so that object type will be inherently obvious when inspected.
11 12 13 |
# File 'lib/object_identifier/core_ext/string.rb', line 11 def inspect_lit %("#{to_s}") end |