Sha256: 4f01e43663eca302b31778484db01325b53a29940ed21c155fc142c08ff6d7a2

Contents?: true

Size: 423 Bytes

Versions: 10

Compression:

Stored size: 423 Bytes

Contents

require 'active_support/core_ext/class/subclasses'

class Object
  # Exclude this class unless it's a subclass of our supers and is defined.
  # We check defined? in case we find a removed class that has yet to be
  # garbage collected. This also fails for anonymous classes -- please
  # submit a patch if you have a workaround.
  def subclasses_of(*superclasses) #:nodoc:
    Class.subclasses_of(*superclasses)
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
csd-0.1.5 lib/active_support/core_ext/object/extending.rb
csd-0.1.4 lib/active_support/core_ext/object/extending.rb
csd-0.1.3 lib/active_support/core_ext/object/extending.rb
csd-0.1.2 lib/active_support/core_ext/object/extending.rb
csd-0.1.1 lib/active_support/core_ext/object/extending.rb
csd-0.1.0 lib/active_support/core_ext/object/extending.rb
csd-0.0.16 lib/active_support/core_ext/object/extending.rb
activesupport-3.0.0.beta4 lib/active_support/core_ext/object/extending.rb
activesupport-3.0.0.beta3 lib/active_support/core_ext/object/extending.rb
activesupport-3.0.0.beta2 lib/active_support/core_ext/object/extending.rb