method

definition_for

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Filter
definition_for(method) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/test_unit/runner.rb, line 135
        def definition_for(method)
          file, start_line = method.source_location
          end_line = method.source.count("\n") + start_line - 1

          return file, start_line..end_line
        end
Register or log in to add new notes.