Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Module/nesting-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the list of <tt>Modules</tt> nested at the point of call.
- !ruby/struct:SM::Flow::VERB
body: " module M1\n module M2\n $a = Module.nesting\n end\n end\n $a #=> [M1::M2, M1]\n $a[0].name #=> "M1::M2"\n"
full_name: Module::nesting
is_singleton: true
name: nesting
params: |
Module.nesting => array
visibility: public