.builders/generators/cmdlets/inflection.rb in cmdlet-0.7.0 vs .builders/generators/cmdlets/inflection.rb in cmdlet-0.7.1

- old
+ new

@@ -34,10 +34,11 @@ value.ordinalize RUBY end .cmdlet do name :pluralize + aliases %i[plural] description 'Returns the plural form of the word in the string' result 'value in plural form' parameter :value, 'value - value to pluralize', param_type: 'String' @@ -81,9 +82,10 @@ "#{count} #{value.pluralize(count)}" RUBY end .cmdlet do name :singularize + aliases %i[singular] description 'The reverse of #pluralize, returns the singular form of a word in a string' result 'plural value turned to singular value' parameter :value, 'value - value to singularized', param_type: 'String'