Flowdock
ancestors() public

Returns a list of modules included in mod (including mod itself).

   module Mod
     include Math
     include Comparable
   end

   Mod.ancestors    #=> [Mod, Comparable, Math]
   Math.ancestors   #=> [Math]
Show source
Register or log in to add new notes.