On Tue, 6 Jan 2004 07:21:41 +0900
oinkoink+ (Bret Jolly) wrote:
> There used to be a constant of this name, which I was using
> in programs to figure out which version of Ruby the user had.
> It seems to be gone in Ruby version 1.8.1. What should I
> use instead?
$ irb
irb(main):001:0> VERSION
=> "1.8.1"
irb(main):002:0> Kernel::VERSION
NameError: uninitialized constant Kernel::VERSION
from (irb):2
Looks like it's just not Kernel::VERSION.
--
Ryan Pavlik <>
"Oh for the love of evil, not this again." - 8BT