method

match_file

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Rails::Generators::Actions
match_file(path, pattern) 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/generators/actions.rb, line 513
        def match_file(path, pattern)
          File.read(path).match(pattern) if File.exist?(path)
        end
Register or log in to add new notes.