Nmax
The library for number parsing in a text.
Installation
Add this line to your application's Gemfile:
gem 'nmax'And then execute:
$ bundle
Or install it yourself as:
$ gem install nmax
Usage
cat ~/Downloads/war_and_peace.txt | nmax 2
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/astorre88/nmax.
License
The gem is available as open source under the terms of the MIT License.