It would be better to just use `if ... else` here. You can use `if` as an expression, like this:

 ```ruby
value = if File.exists?(a_file)
  "value for true"
else
  "value for false"
end
```