From: "Peter C. Verhage" Date: 2003-09-20T05:39:52+09:00 Subject: Re: Defining constants in global scope Thomas Sondergaard wrote: > Why can't I define a constant like this? My guess is, and I'm new to Ruby so I'm probably wrong, that you first need to open the "global" Module or class for which you want to define the constant for. In this case this would be the Kernel module. So something like: Kernel::MyConstant = 1 Regards, Peter