From: Hasmukh Patel Date: 2012-02-07T03:30:27+09:00 Subject: formal argument cannot be a constant def display_method(NM) puts "I am in Display Method #{NM}" end for I in 0..5 display_method "Testing Ruby MEthod" if I<2 break end end Hi, I am new learner in ruby, and getting error say "formal argument cannot be a constant" Can any one help me pls? Thanks for your help in advance. -- Posted via http://www.ruby-forum.com/.