method

derive_named_filter

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: CompositeFilter
derive_named_filter(filter) 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 96
        def derive_named_filter(filter)
          if filter.respond_to?(:named_filter)
            filter.named_filter
          elsif filter =~ %/(.*)/% # Regexp filtering copied from minitest.
            Regexp.new $1
          elsif filter.is_a?(String)
            filter
          end
        end
Register or log in to add new notes.