Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Module inclusion not really dynamic in Ruby
module M ; end
module M2 ; end
class C
include M
M.send :include, M2
puts C.include? M2 # => false (I believe it should be true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment