Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/everythingrb/symbol.rb
Overview
Extensions to Ruby’s core Symbol class
Provides:
-
#with_quotes, #in_quotes: Wrap symbols in quotes
Instance Method Summary collapse
-
#in_quotes ⇒ Symbol
(also: #with_quotes)
Returns self wrapped in double quotes.
Instance Method Details
#in_quotes ⇒ Symbol Also known as: with_quotes
Returns self wrapped in double quotes
24 25 26 |
# File 'lib/everythingrb/symbol.rb', line 24 def in_quotes :"\"#{self}\"" end |