Generating a yearly calendar

require 'polyrex-calendar'

Dir.chdir '/tmp/calendar/'
cal = PolyrexCalendar.new year: 2016

planner = cal.year_planner
h = planner.to_webpage
h.each_pair {|filename, value| File.write filename, value }


Here's a screenshot of the yearly planner in the web browser:

!Screenshot of the yearly planner

Resources

See also