Skip to content

Commit 54bc9de

Browse files
committed
fix: update docblock
1 parent 620b685 commit 54bc9de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/thor/actions/file_manipulation.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ def inject_into_module(path, module_name, *args, &block)
254254
#
255255
# ==== Example
256256
#
257-
# gsub_file 'app/controllers/application_controller.rb', /#\s*(filter_parameter_logging :password)/, '\1'
257+
# gsub_file! 'app/controllers/application_controller.rb', /#\s*(filter_parameter_logging :password)/, '\1'
258258
#
259-
# gsub_file 'README', /rake/, :green do |match|
259+
# gsub_file! 'README', /rake/, :green do |match|
260260
# match << " no more. Use thor!"
261261
# end
262262
#

0 commit comments

Comments
 (0)