From: Paul Brannan Date: 2002-04-09T23:17:17+09:00 Subject: capital method names When I write: a = 1 or def a; return 1; end I can access the variable or method the same: puts a but if I write: A = 1 or def A; return 1; end then I must write: puts A to access the variable, or puts A() to access the method. This is a little bit inconvenient, since it means I can't transparently replace constants with methods (it recently came up when I had been using a constant to represent the number of seconds since receiving data before I would sound an alarm, but later wanted to make that number of seconds dependant on the time of the day, since more data comes in at certain times of the day than others). Is this a feature or an oversight? I'm using Ruby 1.6.5; has this been changed in newer versions? Paul