Module: RubyFeatures::Utils::InflectorActiveSupport

Defined in:
lib/ruby-features/utils/inflector_active_support.rb

Instance Method Summary collapse

Instance Method Details

#camelize(string) ⇒ Object



5
6
7
# File 'lib/ruby-features/utils/inflector_active_support.rb', line 5

def camelize(string)
  ActiveSupport::Inflector.camelize(string)
end

#underscore(string) ⇒ Object



9
10
11
# File 'lib/ruby-features/utils/inflector_active_support.rb', line 9

def underscore(string)
  ActiveSupport::Inflector.underscore(string)
end