This syntax feels weird to me, any reason why this is used over the following?

``` Ruby
self.if "-d project || -f build.sbt" do
  …
end
```

Not saying it needs to be changed, I was just curious why it's different.