hrom512/nmax

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# nmax

[![Gem Version](https://badge.fury.io/rb/hrom512-nmax.svg)](https://badge.fury.io/rb/hrom512-nmax)
[![Build Status](https://travis-ci.org/hrom512/nmax.svg?branch=master)](https://travis-ci.org/hrom512/nmax)
[![Code Climate](https://codeclimate.com/github/hrom512/nmax/badges/gpa.svg)](https://codeclimate.com/github/hrom512/nmax)
[![Test Coverage](https://codeclimate.com/github/hrom512/nmax/badges/coverage.svg)](https://codeclimate.com/github/hrom512/nmax/coverage)

Search N maximum elements in the input stream.

## Installation

    $ gem install hrom512-nmax

## Usage

    $ cat sample_data_40GB.txt | nmax 10000

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).