Class: RubyRobot::NetflixTabletop

Inherits:
Tabletop
  • Object
show all
Defined in:
lib/ruby_robot/netflix_tabletop.rb

Instance Attribute Summary

Attributes inherited from Tabletop

#height, #width

Instance Method Summary collapse

Methods inherited from Tabletop

#calculate_position, #height_range, #inspect, #move, #move?, #place, #place?, #placed?, #position, #width_range

Constructor Details

#initializeNetflixTabletop



8
9
10
11
12
# File 'lib/ruby_robot/netflix_tabletop.rb', line 8

def initialize
  # The instructions say that a Netflix Tabletop
  # is 5x5
  super(5, 5)
end