We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e51a98 commit 194de95Copy full SHA for 194de95
1 file changed
chef/lib/chef/util/FileEdit.rb
@@ -66,7 +66,10 @@ def write_file
66
@match = false
67
end
68
69
- #helper method to search_file_replace_delete_line, search_file_replace_delete, and insert_line_after_match
+
70
+ private
71
72
+ #helper method to search_file_replace_delete_line, search_file_replace_delete, and insert_line_after_match
73
def search_match(regex, replace, command, method)
74
75
raise ArgumentError, "command should be 'r' or 'd'" unless (command == 'r' or command == 'd' or command == 'i')
0 commit comments