Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (11 sloc) 207 Bytes
#!/usr/bin/env ruby
require_relative 'lib/luhnybin'
$stdin.each do |test|
filtered_text = Luhnybin.filter(test)
begin
puts filtered_text
$stdout.flush
rescue Errno::EPIPE
break
end
end