Class: Symbol

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

Instance Method Summary collapse

Instance Method Details

#camel_caseObject

Converts symbol to string and calls String#camel_case



43
44
45
# File 'lib/juicer/core.rb', line 43

def camel_case
  self.to_s.camel_case
end

#classify(mod = nil) ⇒ Object

Converts symbol to string and calls String#classify



50
51
52
# File 'lib/juicer/core.rb', line 50

def classify(mod = nil)
  self.to_s.classify(mod)
end