[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:04155] Re: ARGF and line numbers

From: Dave Thomas <Dave@...>
Date: 2000-07-21 04:17:27 UTC
List: ruby-talk #4155
matz@netlab.co.jp (Yukihiro Matsumoto) writes:

> $. replacement is:
> 
>   ARGF.lineno
> 
> an offset into the current file is:
> 
>   ARGF.file.lineno

Doh! It hadn't occurred to me that ARGF.file was updated like that.

More documenting to do....


Thanks

Dave

In This Thread

Prev Next