Sophrinix / TryRuby

Try Ruby is a interactive shell that quickly and whimsically teaches the Ruby programming language. Originally _why's idea, it has been recreated from the ground up by Rubyists who have a passion for Ruby and for teaching their fellow (wo)man how to program.
tryruby.org
347 stars 79 forks source link

Error on def load_comics #108

Open tomerlichtash opened 13 years ago

tomerlichtash commented 13 years ago

def load_comics(path)
.. comics={}
.. File.foreach(path) do |line|
.. name, url = line.split(': ')
NameError: undefined local variable or method `line' for main:Object