Something like the following is a bit more clear:

```ruby
d = Date.new(date.year, date.month, 1)
d += 1 until d.tuesday?
d
```