Mini Shell
--- !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
Zerion Mini Shell 1.0