An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# Nmax
[![Build Status](https://travis-ci.org/fargelus/nmax.svg?branch=master)](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).