method

match_file

match_file(path, pattern)
private

No documentation available.

# File railties/lib/rails/generators/actions.rb, line 516
        def match_file(path, pattern)
          File.read(path).match(pattern) if File.exist?(path)
        end