Skip to content

Instantly share code, notes, and snippets.

View grekko's full-sized avatar
🙃
wAt

Gregory Igelmund grekko

🙃
wAt
View GitHub Profile
# Task: Implement the rcat utility and get these tests to pass on a system
# which has the UNIX cat command present
# To see Gregory Brown's solution, see http://github.com/elm-city-craftworks/rcat
# Feel free to publicly share your own solutions
rrequire "open3"
working_dir = File.dirname(__FILE__)
gettysburg_file = "#{working_dir}/data/gettysburg.txt"