Daynames.rb
This content was produced by an LLM and could include errors.
This script loads the standard Ruby ‘date’ library. It then accesses Date::DAYNAMES, printing an array containing all seven full names of the days of the week.
require 'date'
#=> true
Date::DAYNAMES
#=> ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
Ruby 4.0.3