Sha256: 8be5324f27ad62261bd6b58664e0062df16caf993fc0e2d0184470112dc17810

Contents?: true

Size: 146 Bytes

Versions: 2

Compression:

Stored size: 146 Bytes

Contents

class FinderTags
  module Titlecase
    refine String do
      def titlecase
        self[0].upcase + self[1, length]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
finder_tags-0.1.1 lib/finder_tags/titlecase.rb
finder_tags-0.1.0 lib/finder_tags/titlecase.rb