Extend class - include module
examples/modules/include.cr
module Tools def screwdriver puts "Screwdriver" end end class Device include Tools end x = Device.new p! x x.screwdriver
module Tools def screwdriver puts "Screwdriver" end end class Device include Tools end x = Device.new p! x x.screwdriver