[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01863] Re: Another question from a newbie

From: Dave Thomas <Dave@...>
Date: 2000-03-15 20:44:07 UTC
List: ruby-talk #1863
"David Douthitt" <DDouthitt@cuna.com> writes:

> If I change the snippet as recommended (twice over!) I get:
> 
> -:9: undefined local variable or method `comment?' for #<Object:0x40061860> (NameError)
>         from -:8:in `each'
>         from -:8
>         from -:7:in `open'
>         from -:7

That means that 'line' is type Object, and not a String. This is very
strange. Could you possibly post the failing code so we can try it
here?

Thanks

Dave

In This Thread

Prev Next