From: Brian Candler Date: 2009-10-15T18:36:03+09:00 Subject: Re: dynamically access class constants? >> class MyObj >> MY_CONSTANT_1 = "hello" >> end => "hello" >> c = "MY_CONSTANT_1" => "MY_CONSTANT_1" >> MyObj.const_get(c) => "hello" >> -- Posted via http://www.ruby-forum.com/.