Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Module/ancestors-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns a list of modules included in <em>mod</em> (including <em>mod</em> itself).
- !ruby/struct:SM::Flow::VERB
body: " module Mod\n include Math\n include Comparable\n end\n\n Mod.ancestors #=> [Mod, Comparable, Math]\n Math.ancestors #=> [Math]\n"
full_name: Module#ancestors
is_singleton: false
name: ancestors
params: |
mod.ancestors -> array
visibility: public