Sha256: 3c3bcec59332742655d01d9ccabef66fe5bbac556ee8087db79cfb4ed81e4f91
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 Bytes
Contents
#!/usr/bin/env ruby require 'loremarkov' # accept text from STDIN or filename # text = if $stdin.tty? filename = ARGV.shift || 'lorem_ipsum' unless File.exists?(filename) filename = File.join(__dir__, '..', 'text', filename) end File.read(filename) else $stdin.read end puts Loremarkov.new((ARGV.shift || 5).to_i).destroy text
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loremarkov-0.2.1.1 | bin/destroy |
loremarkov-0.2.0.2 | bin/destroy |