Sha256: 635897fab757df80c546c777eb32ca69a87554c40f92b978a5a46368c693d017
Contents?: true
Size: 157 Bytes
Versions: 1
Compression:
Stored size: 157 Bytes
Contents
module DuckPuncher module String def pluralize(count) "#{self}#{'s' if count != 1}" end end end String.send(:include, DuckPuncher::String)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
duck_puncher-0.0.6 | lib/duck_puncher/string.rb |