Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/everythingrb/core/symbol.rb
Overview
Extensions to Ruby’s core Symbol class
These additions provide handy formatting helpers for symbols.
Instance Method Summary collapse
-
#with_quotes ⇒ Symbol
(also: #in_quotes)
Returns self wrapped in double quotes.
Instance Method Details
#with_quotes ⇒ Symbol Also known as: in_quotes
Returns self wrapped in double quotes
21 22 23 |
# File 'lib/everythingrb/core/symbol.rb', line 21 def with_quotes :"\"#{self}\"" end |