Flowdock

Notes posted by drewyoung1

RSS feed
October 10, 2012 - (>= v1_9_1_378)
1 thank

Bad Example

@nZifnab it is a bad example because an included module is basically a class.

module Mod
    def exit(code = 0)
        puts "Exiting with code #{code}"
        super
    end
end

include Mod

exit 99

produces

Exiting with code 99