Flowdock
method

included_in_classes

Importance_1
v2.3.2 - Show latest stable - 0 notes - Class: Module
included_in_classes() public

Returns the classes in the current ObjectSpace where this module has been mixed in according to Module#included_modules.

  module M
  end

  module N
    include M
  end

  class C
    include M
  end

  class D < C
  end

  p M.included_in_classes # => [C, D]
Show source
Register or log in to add new notes.