Countr
Simple RubyGem that counts the number of characters in a string and displays it. Make sure to escape any quotes (\') or double-quotes (\") (if'n your string has something quoted, for example) so that they are included in the overall count.
Example usage (for checking tweet length): countr \@username and then I said \"OMG this new rubygem called \'countr\' is super-cool!\"
Installation
Add this line to your application's Gemfile:
gem 'countr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install countr
Usage
countr string
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/countr.
License
The gem is available as open source under the terms of the MIT License.