From: "ara.t.howard" Date: 2010-11-26T02:19:37+09:00 Subject: Re: VERSION constant issue hrm... cfp:~ > cat a.rb module Lib def Lib.const_data @const_data ||= { 'version' => '4.2.0' } end def Lib.const_missing(const) const_data[const.to_s.downcase] || super end end p Lib::VERSION cfp:~ > rvm a.rb info: ruby-1.8.7-p302: ruby 1.8.7 (2010-08-16 patchlevel 302) [i686- darwin9.8.0] "4.2.0" info: ruby-1.9.2-p0: ruby 1.9.2p0 (2010-08-18 revision 29036) [i386- darwin9.8.0] "4.2.0"