https://github.com/fargelus/nmax
Find n maximum numbers in custom text data
https://github.com/fargelus/nmax
Last synced: 3 months ago
JSON representation
Find n maximum numbers in custom text data
- Host: GitHub
- URL: https://github.com/fargelus/nmax
- Owner: fargelus
- License: mit
- Created: 2020-01-09T16:54:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T19:04:51.000Z (over 5 years ago)
- Last Synced: 2025-02-02T03:28:04.730Z (4 months ago)
- Language: Ruby
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Nmax
[](https://travis-ci.org/fargelus/nmax)Simple gem for extracting numbers from text and sort them in descendancy order.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'nmax'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install nmax
## Usage
_Nmax::Scan.call(n)_,
n: total amount of numbers to search.## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).