Найдите путь модуля в Ruby
Object.const_source_location('Baz')
#=> ["/../app/models/baz.rb", 3]
MunnaBhaiyya
Object.const_source_location('Baz')
#=> ["/../app/models/baz.rb", 3]