Merge pull request #12267 from carenas/patch-1

Update Formula-Cookbook.md gsub! example
This commit is contained in:
Carlo Cabrera 2021-10-20 08:07:37 +08:00 committed by GitHub
commit bb39932a14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,7 +441,7 @@ inreplace "path", before, after
```ruby
inreplace "path" do |s|
s.gsub! /foo/, "bar"
s.gsub!(/foo/, "bar")
s.gsub! "123", "456"
end
```