このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.3.0 リファレンスマニュアル

instance method RDoc::Context#find_enclosing_module_named

find_enclosing_module_named(name) -> RDoc::NormalModule | nil[permalink][rdoc]

find a module at a higher scope