Class: Tile::Large

Inherits:
Tile
  • Object
show all
Defined in:
lib/tile.rb

Instance Attribute Summary

Attributes inherited from Tile

#col, #cols, #mosaic, #row, #rows

Instance Method Summary collapse

Methods inherited from Tile

#==, area, #area, #place!, rand, rand_covering, #shatter

Constructor Details

#initializeLarge

Returns a new instance of Large.



7
8
9
# File 'lib/tile.rb', line 7

def initialize
  @rows = @cols = 3
end