Class: Symbol

Inherits:
Object show all
Defined in:
lib/opium/extensions/symbol.rb

Class Method Summary collapse

Class Method Details

.to_parse(other) ⇒ Object



7
8
9
# File 'lib/opium/extensions/symbol.rb', line 7

def to_parse( other )
  other.to_parse
end

.to_ruby(other) ⇒ Object



3
4
5
# File 'lib/opium/extensions/symbol.rb', line 3

def to_ruby( other )
  other.to_sym if other
end