# -----Original Message-----
# From: ts [mailto:decoux / moulon.inra.fr] 
# Sent: 9 チラヌユモヤチ 2001 ヌ. 10:57
# To: ruby-talk ML
# Cc: ruby-talk / ruby-lang.org
# Subject: [ruby-talk:19406] Re: WIN32OLE
# 
# 
# >>>>> "A" == Aleksei Guzev <aleksei.guzev / bigfoot.com> writes:
# 
# A> But every line of code seems residing inside a method body. Where 
# A> could one define a constant rather than in a method?
# 
#  At the beginning of a class

Where "if" is allowed? 

# 
# A> Is there a problem with defining constants from a method? What is 
# A> this limitation for?
# 
#  Perhaps to protect you against a possible modification by a method.
# 

No modification. Since there can not be a global constant due to name
restrictions, it would simple define a NEW LOCAL constant

# 
# Guy Decoux
#