Class: Symbol
Instance Method Summary collapse
-
#inspect_lit ⇒ String
Formats this symbol to look like a symbol literal so that object type will be inherently obvious when used in logging methods, etc.
Instance Method Details
#inspect_lit ⇒ String
Formats this symbol to look like a symbol literal so that object type will be inherently obvious when used in logging methods, etc.
10 11 12 |
# File 'lib/object_identifier/core_ext/symbol.rb', line 10 def inspect_lit %(:"#{to_s}") end |