Try to run the following example:
puts RUBY_VERSION
module IncludeModule
def foo
"foo from `IncludeModule`"
end
end
module PrependModule
def foo
super
end
end
class Service
prepend PrependModule
end
service = Service.new
service.foo
Service.include IncludeModule
service.foo