Sha256: bf6d0265d4bc2818be34f07005c5a8fa6f50dd35bef8618faa8f607ed88f874f

Contents?: true

Size: 335 Bytes

Versions: 8

Compression:

Stored size: 335 Bytes

Contents

#!/usr/bin/env ruby

# Engrave Example
#
# A simple example that will print ARGF to a flammarion engraving

require 'flammarion'

f = Flammarion::Engraving.new(title:ARGF.filename, exit_on_disconnect:true)
f.status("Flammarion version: #{Flammarion::VERSION.green}", :right)

ARGF.each_line do |l|
  f.print l
end

f.wait_until_closed

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flammarion-utils-0.2.1 bin/engrave
flammarion-utils-0.2.0 bin/engrave
flammarion-utils-0.1.14 bin/engrave
flammarion-utils-0.1.13 bin/engrave
flammarion-utils-0.1.12 bin/engrave
flammarion-utils-0.1.11 bin/engrave
flammarion-utils-0.1.10pre2 bin/engrave
flammarion-utils-0.1.10pre bin/engrave