Displaying Weekdays

Hi, i am trying to display the names of all days of week as follows
:
#/usr/bin/ruby
class Date;
end
puts Date::DAYNAMES

but i am getting error that :
uninitialized constant Date::DAYNAMES (NameError)

On Mon, Nov 22, 2010 at 3:04 PM, Pranay Agarwal
[email protected]wrote:

uninitialized constant Date::DAYNAMES (NameError)

require ‘date’

Thanks a lot :slight_smile: