Sha256: 023fc6cadb4a80e2045a38908ff4d0f915dc6f37e736f33870ca2f3a55ed18f5

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 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

1 entries across 1 versions & 1 rubygems

Version Path
flammarion-utils-0.3.0 bin/engrave