Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/everythingrb/core/symbol.rb

Instance Method Summary collapse

Instance Method Details

#with_quotesSymbol Also known as: in_quotes

Returns self wrapped in double quotes.

Returns:



9
10
11
# File 'lib/everythingrb/core/symbol.rb', line 9

def with_quotes
  :"\"#{self}\""
end