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