"Any explanations will be appreciated." Ruby does not allow redefinitions of constants in a method. -- Posted via http://www.ruby-forum.com/.