count_words Ruby Gem
Adds word_count method to string.
Usage
"Some String Content".word_count # => 3Installation
Add this line to your application's Gemfile:
gem 'count_words'And then execute:
$ bundleOr install it yourself as:
$ gem install count_wordsLicense
The gem is available as open source under the terms of the MIT License.