lib/alba/default_inflector.rb in alba-1.3.0 vs lib/alba/default_inflector.rb in alba-1.4.0

- old
+ new

@@ -9,26 +9,26 @@ module_function # Camelizes a key # - # @params key [String] key to be camelized + # @param key [String] key to be camelized # @return [String] camelized key def camelize(key) ActiveSupport::Inflector.camelize(key) end # Camelizes a key, 1st letter lowercase # - # @params key [String] key to be camelized + # @param key [String] key to be camelized # @return [String] camelized key def camelize_lower(key) ActiveSupport::Inflector.camelize(key, false) end # Dasherizes a key # - # @params key [String] key to be dasherized + # @param key [String] key to be dasherized # @return [String] dasherized key def dasherize(key) ActiveSupport::Inflector.dasherize(key) end end