lib/alba/key_transform_factory.rb in alba-1.3.0 vs lib/alba/key_transform_factory.rb in alba-1.4.0
- old
+ new
@@ -2,10 +2,10 @@
# This module creates key transform functions
module KeyTransformFactory
class << self
# Create key transform function for given transform_type
#
- # @params transform_type [Symbol] transform type
+ # @param transform_type [Symbol] transform type
# @return [Proc] transform function
# @raise [Alba::Error] when transform_type is not supported
def create(transform_type)
case transform_type
when :camel