Method: Module#source_files

Defined in:
lib/module_ext.rb

#source_filesObject



52
53
54
55
56
57
58
59
# File 'lib/module_ext.rb', line 52

def source_files
  public_instance_methods(false).
    map do |method_name| instance_method(method_name) end.
    map(&:source_location).compact.
    map(&:first).
    uniq.
    sort
end