Skip to content

Commit 194de95

Browse files
author
Nuo Yan
committed
initial work (updated) chef-78
1 parent 1e51a98 commit 194de95

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

chef/lib/chef/util/FileEdit.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ def write_file
6666
@match = false
6767
end
6868

69-
#helper method to search_file_replace_delete_line, search_file_replace_delete, and insert_line_after_match
69+
70+
private
71+
72+
#helper method to search_file_replace_delete_line, search_file_replace_delete, and insert_line_after_match
7073
def search_match(regex, replace, command, method)
7174

7275
raise ArgumentError, "command should be 'r' or 'd'" unless (command == 'r' or command == 'd' or command == 'i')

0 commit comments

Comments
 (0)