Class: RuBoxes
- Inherits:
-
Object
- Object
- RuBoxes
- Defined in:
- lib/ruboxes.rb
Class Method Summary collapse
Class Method Details
.black ⇒ Object
20 21 22 |
# File 'lib/ruboxes.rb', line 20 def self.black puts '□'.colorize(:black) end |
.blue ⇒ Object
16 17 18 |
# File 'lib/ruboxes.rb', line 16 def self.blue puts '□'.colorize(:blue) end |
.green ⇒ Object
25 26 27 |
# File 'lib/ruboxes.rb', line 25 def self.green puts '□'.colorize(:green) end |
.red ⇒ Object
8 9 10 |
# File 'lib/ruboxes.rb', line 8 def self.red puts '□'.colorize(:red) end |
.white ⇒ Object
4 5 6 |
# File 'lib/ruboxes.rb', line 4 def self.white puts '□'.colorize(:white) end |
.yellow ⇒ Object
12 13 14 |
# File 'lib/ruboxes.rb', line 12 def self.yellow puts '□'.colorize(:yellow) end |