class RailsBestPractices::Core::Check

def parse_file?(node_file)

Returns:
  • (Boolean) - true if the check will need to parse the file.

Parameters:
  • the (String) -- file name of node.
def parse_file?(node_file)
  node_file.is_a?(String) && is_interesting_file?(node_file) && !is_ignored?(node_file)
end