Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Foo
- def initialize(options)
- begin
- super
- rescue ArgumentError
- end
- puts "foo #{options}"
- end
- end
- module Moep
- def initialize(options)
- begin
- super
- rescue ArgumentError
- end
- puts "moep #{options}"
- end
- end
- class Bar
- include Foo
- include Moep
- def initialize(options)
- super
- puts "bar #{options}"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement