ruby-each-line

Description

Execute ruby on each line from input

Usage

USAGE: INPUT | ruby-each-line CODE"
EXAMPLE: ls | ruby-each-line "puts line.split('.').last"

Installation

$ gem install ruby-each-line or add to your Gemfile this line: gem 'ruby-each-line' then run bundle install

License

Released under the MIT License. See the LICENSE file for further details.