Method: Object#extended_by
- Defined in:
- lib/cloudist/core_ext/object.rb
#extended_by ⇒ Object
:nodoc:
46 47 48 49 |
# File 'lib/cloudist/core_ext/object.rb', line 46 def extended_by #:nodoc: ancestors = class << self; ancestors end ancestors.select { |mod| mod.class == Module } - [ Object, Kernel ] end |