How does one refer to a tk special variable in Ruby?  In Perl, it is
$Tk::<variable>.  What tk special variables are available in Ruby?  I'm
referring to variables like patchLevel, strictMotif, VERSION and
version.

In /usr/lib/ruby/1.8/tk.rb, I found TCL_VERSION, TCL_PATCHLEVEL,
TCL_MAJOR_VERSION, TCL_MINOR_VERSION, TK_VERSION, TK_PATCHLEVEL,
TK_MAJOR_VERSION,   TK_MINOR_VERSION and JAPANIZED_TK.  This may be what
I'm looking for, but these are constants, not variables.

When I try to refer to them (in irb), but after saying
  require 'tk'
I have tried as many different ways as I can...
  puts tk::TK_VERSION
  puts TK_VERSION
  puts TK::TK_VERSION

-- 
Posted via http://www.ruby-forum.com/.