Module: Darthjee::CoreExt::Symbol
- Included in:
- Symbol
- Defined in:
- lib/darthjee/core_ext/symbol.rb
Overview
Instance Method Summary collapse
-
#camelize(first_letter = :upper) ⇒ ::Symbol
Creates new symbol camelized.
-
#underscore ⇒ ::Symbol
The reverse of #camelize.
Instance Method Details
#camelize(first_letter = :upper) ⇒ ::Symbol
Creates new symbol camelized
17 18 19 |
# File 'lib/darthjee/core_ext/symbol.rb', line 17 def camelize(first_letter = :upper) to_s.camelize(first_letter).to_sym end |