method

relative_path_for

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: TestUnitReporter
relative_path_for(file) public

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/reporter.rb, line 54
    def relative_path_for(file)
      if app_root
        file.sub(/^#{app_root}\/?/, "")
      else
        file
      end
    end
Register or log in to add new notes.