Class: Tile::Large
Instance Attribute Summary
Attributes inherited from Tile
#col, #cols, #mosaic, #row, #rows
Instance Method Summary collapse
-
#initialize ⇒ Large
constructor
A new instance of Large.
Methods inherited from Tile
#==, area, #area, #place!, rand, rand_covering, #shatter
Constructor Details
#initialize ⇒ Large
Returns a new instance of Large.
7 8 9 |
# File 'lib/tile.rb', line 7 def initialize @rows = @cols = 3 end |