Sha256: 0ad83278b91fcd02faa4dcba1c405cfbaae99b57fc4ac33e036ed4d69f925c62
Contents?: true
Size: 225 Bytes
Versions: 13
Compression:
Stored size: 225 Bytes
Contents
require 'rubygems' require 'activesupport' class String # pluralizes a string and turns it into a symbol # Example: # "apple".pluralize_to_sym # => :apples def pluralize_to_sym self.pluralize.to_sym end end
Version data entries
13 entries across 13 versions & 3 rubygems