Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/juicer/ext/symbol.rb
Instance Method Summary collapse
-
#camel_case ⇒ Object
Converts symbol to string and calls String#camel_case.
-
#classify(mod = nil) ⇒ Object
Converts symbol to string and calls String#classify.
Instance Method Details
#camel_case ⇒ Object
Converts symbol to string and calls String#camel_case
5 6 7 |
# File 'lib/juicer/ext/symbol.rb', line 5 def camel_case self.to_s.camel_case end |
#classify(mod = nil) ⇒ Object
Converts symbol to string and calls String#classify
12 13 14 |
# File 'lib/juicer/ext/symbol.rb', line 12 def classify(mod = nil) self.to_s.classify(mod) end |