mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Update Formula-Cookbook.md
RuboCop. `Use the new Ruby 1.9 hash syntax.`
This commit is contained in:
parent
d8d65171f0
commit
c1dd69f0f7
@ -191,7 +191,7 @@ As a general rule, [`conflicts_with`](https://rubydoc.brew.sh/Formula#conflicts_
|
|||||||
The syntax for a conflict that can’t be worked around is:
|
The syntax for a conflict that can’t 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user