module Surface
contains Table
related error classes
Surface
module is trying to set the rules interfaces type of surfaces such as TableInterface
.
in a nutshell a Table
should include the Surface:TableInterface and override the can_be_placed? method
if we want to add any other surface such as Benchtop, it will be a good practice to create a BenchtopInterface module with the method(s) represents it rules