I get a core dump when executing the following code.
[‘hi’, ‘hello’, ‘howdy’, ‘goodbye’].each do |mname|
I get the same behavior when using eval instead of instance_eval and
calling “Bob.new.hi”. I know that the code isn’t valid, but a core
dump seems inappropriate (maybe a SyntaxError exception?). And my
Ruby interpreter is a little old.
$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-freebsd6]
I’m happy to provide any further information that would be helpful.