Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install stringjs-rails
Add this line to your manifest:
//= require 'string'
Or use the minified version:
//= require 'string.min'
For usage of the library see the String.js homepage.
Major, minor and patch numbers will match those of String.js. Should bugs be fixed in the gem itself, a fourth version number will be added.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request