Sha256: ee0a66a456b8dc2eaef7099217292b4c9068fd2dde832199a87af82cb7af6b77
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true module FastUnderscore # Extends String to include an underscore method that delegates over to # FastUnderscore's `#underscore` method. module StringExtension def underscore FastUnderscore.underscore(self) end end end String.prepend(FastUnderscore::StringExtension)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fast_underscore-0.2.0 | lib/fast_underscore/ext/plain_string.rb |
fast_underscore-0.1.0 | lib/fast_underscore/ext/plain_string.rb |