Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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
Something went wrong with that request. Please try again.