Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
module World end module World2 end class Hello include World extend World2 def meta class << self self end end end h = Hello.new h.extend World2 puts h.meta.included_modules.inspect puts Hello.included_modules.inspect [World2, World, Kernel] [World, Kernel]
From the Design Piracy series on my blog: