Module: Everythingrb::StringQuotable
Overview
Adds quotable functionality using to_s representation
Provides methods for wrapping an object’s string representation in double quotes.
Instance Method Summary collapse
-
#in_quotes ⇒ String
(also: #with_quotes)
Returns the object’s string representation wrapped in double quotes.
Instance Method Details
#in_quotes ⇒ String Also known as: with_quotes
Returns the object’s string representation wrapped in double quotes
76 77 78 |
# File 'lib/everythingrb/extensions/quotable.rb', line 76 def in_quotes %("#{self}") end |