Module (Ruby)

A module is a container for methods and constants that can't be instantiated. Modules serve two roles in Ruby: as namespaces to group related code, and as…