method

relative_path_for

rails latest stable - Class: Rails::TestUnitReporter
relative_path_for(file)
public

No documentation available.

# 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