The interface library implements Java style interfaces for Ruby. It lets you define a set a methods that must be defined in the including class or module, or an error is raised.
Daniel J. Berger
gem "interface", "~> 1.0.2"