Command-line cal replacement in Ruby