lib/reality/naming.rb in reality-naming-1.7.0 vs lib/reality/naming.rb in reality-naming-1.8.0

- old
+ new

@@ -122,9 +122,10 @@ end def default_pluralization_rules rules = [] rules << Proc.new { |string| string == 'child' ? 'children' : nil } + rules << Proc.new { |string| string == 'Child' ? 'Children' : nil } rules end def last(s, limit = 1) return s if limit > s.size