Class: Pavlov::Inflector
- Inherits:
-
Object
- Object
- Pavlov::Inflector
- Defined in:
- lib/pavlov/support/inflector.rb
Class Method Summary collapse
Class Method Details
.camelize(string, first_letter = :upper) ⇒ Object
5 6 7 8 |
# File 'lib/pavlov/support/inflector.rb', line 5 def self.camelize(string, first_letter = :upper) # Feel free to reimplement if you want to get rid of backports dependency. string.camelize end |
.constantize(string) ⇒ Object
10 11 12 13 |
# File 'lib/pavlov/support/inflector.rb', line 10 def self.constantize(string) # Feel free to reimplement if you want to get rid of backports dependency. string.constantize end |