Class: Tile::Small
Instance Attribute Summary
Attributes inherited from Tile
#col, #cols, #mosaic, #row, #rows
Instance Method Summary collapse
-
#initialize ⇒ Small
constructor
A new instance of Small.
- #shatter ⇒ Object
Methods inherited from Tile
#==, area, #area, #place!, rand, rand_covering
Constructor Details
#initialize ⇒ Small
Returns a new instance of Small.
19 20 21 |
# File 'lib/tile.rb', line 19 def initialize @rows = @cols = 1 end |
Instance Method Details
#shatter ⇒ Object
23 24 25 |
# File 'lib/tile.rb', line 23 def shatter [] end |