Hi all. I’m following the Zed S.'s ruby tutorials.
in ex15 i’ve changed this line
filename = ARGV.first
filename = STDIN.gets
and this is the command line error:
→ ruby test.rb
initialize': No such file or directory - aref (Errno::ENOENT) from test.rb:9:inopen’
from test.rb:9:in `’
what is the problem?
P.S. the ruby file is attached.