Sha256: 2775e64224a7f61090ca9da2ec4cdfb0925cbc9170e68b8b0182ec4cfbfcb7f3
Contents?: true
Size: 224 Bytes
Versions: 10
Compression:
Stored size: 224 Bytes
Contents
class Module # Is a given class or module an ancestor of # this class or module? # # class X ; end # class Y < X ; end # # X.ancestor?(Y) # def ancestor?( mod ) ancestors.include?(mod) end end
Version data entries
10 entries across 9 versions & 2 rubygems