Sha256: 3e512f8e9abcba737b39509c57ad11488c4ee850deb72219d03e5046545e3e20
Contents?: true
Size: 547 Bytes
Versions: 2
Compression:
Stored size: 547 Bytes
Contents
# frozen_string_literal: true module Wordle class Legend def self.print new.print end def print puts green_example puts yellow_example puts gray_example end private def green_example "#{"w".green}eary - The letter w is in the word and in the correct spot." end def yellow_example "p#{"i".yellow}lls - The letter i is in the word but in the wrong spot." end def gray_example "vag#{"u".gray}e - The letter u is not in the word in any spot." end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wordle-0.4.0 | lib/wordle/legend.rb |
wordle-0.3.0 | lib/wordle/legend.rb |