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)
···
--
Posted via http://www.ruby-forum.com/.