Class: Module

Inherits:
Object
  • Object
show all
Defined in:
lib/modloc/core_ext/module.rb

Overview

Extensions to ruby’s module class

Instance Method Summary collapse

Instance Method Details

#source_locationsArray

Returns all the source locations for a given module

Returns:



5
6
7
# File 'lib/modloc/core_ext/module.rb', line 5

def source_locations
  Modloc::Locator.new(self).find
end