Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/juicer/core.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
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 |