K
Keith P. Boruff
Hello all,
Is there a way to get the version number within a ruby script of the
interpreter running that script?
Yes, I know I can do this on the cmd line:
% ruby --version
I didn't seem to find anything in the documentation though I am new at
this language.
I have my reasons for wanting the version info in this manner. If you
really want to know, I'll tell you. Otherwise, I'll spare you the boring
details.
Thanks,
KPB
Is there a way to get the version number within a ruby script of the
interpreter running that script?
Yes, I know I can do this on the cmd line:
% ruby --version
I didn't seem to find anything in the documentation though I am new at
this language.
I have my reasons for wanting the version info in this manner. If you
really want to know, I'll tell you. Otherwise, I'll spare you the boring
details.
Thanks,
KPB