Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/xommelier/core_ext/symbol.rb

Overview

© Alexander Semyonov, 2011—2013, MIT License # Author: Alexander Semyonov [email protected] #

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_xommelier(value) ⇒ Object



9
10
11
# File 'lib/xommelier/core_ext/symbol.rb', line 9

def self.from_xommelier(value)
  value.to_sym
end

Instance Method Details

#to_xommelierObject



13
14
15
# File 'lib/xommelier/core_ext/symbol.rb', line 13

def to_xommelier
  to_s
end