Sha256: 3e746c2dd74eab2dd53b45f895b335d3464c5dfa392929797ed8db5fbe7ad980
Contents?: true
Size: 307 Bytes
Versions: 1
Compression:
Stored size: 307 Bytes
Contents
# echo.fy # Outputs contents of files if: (ARGV[1]) then: |filename| { try { File read: filename with: |f| { until: { f eof? } do: { f readln println } } } catch IOError => e { "[ERROR] #{e message}" println } } else: { "Usage: fancy #{ARGV[0]} [filename]" println }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.10.0 | examples/echo.fy |