From b5541fd73e76386401e320f900a10004ee818c07 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 11 Dec 2024 21:26:56 -0500 Subject: [PATCH] Bump template again --- template.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/template.rb b/template.rb index 901906f..692163f 100755 --- a/template.rb +++ b/template.rb @@ -1,11 +1,10 @@ #!/usr/bin/env ruby -problem = :fake -#input = File.readlines("input", chomp: true) -input = DATA.read +input = (ARGV.first.nil? ? DATA : ARGF) + .read result = :solution -puts result +p result __END__