From: Adam Prescott Date: 2011-01-28T05:32:13+09:00 Subject: Re: which Ruby is in use? --0016364c7d7119cef2049ad9d863 Content-Type: text/plain; charset=UTF-8 On Thu, Jan 27, 2011 at 5:30 PM, Hassan Schroeder < hassan.schroeder@gmail.com> wrote: > Ah, that's it -- I know I've seen that before, but couldn't dredge it out > of the musty corners -- thanks much! :-) > You might find Object.constants.grep(/RUBY/) useful to remind yourself. $ ruby -e 'Object.constants.grep(/RUBY/).each { |c| puts "#{c} => #{Object.const_get(c)}" }' --0016364c7d7119cef2049ad9d863--