module RubyLanguage module Interface def interface(name) define_method(name) do |*args| raise "interface method #{name} not implemented" end end end end