Update Formula-Cookbook.md

RuboCop.
`Use the new Ruby 1.9 hash syntax.`
This commit is contained in:
KazuakiM 2020-10-18 14:12:00 +09:00 committed by GitHub
parent d8d65171f0
commit c1dd69f0f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ As a general rule, [`conflicts_with`](https://rubydoc.brew.sh/Formula#conflicts_
The syntax for a conflict that cant be worked around is: The syntax for a conflict that cant be worked around is:
```ruby ```ruby
conflicts_with "blueduck", :because => "yellowduck also ships a duck binary" conflicts_with "blueduck", because: "yellowduck also ships a duck binary"
``` ```
### Formulae revisions ### Formulae revisions