benmills/willful — Issue #2: it should take a message, not a block
Author: jeremytregunna
Created: 2011-10-18 19:44:54+00:00
State: open

The implementation of `it` should take a message and not a block. If you need the encapsulating behaviour of a block, remember, you can create blocks at runtime. For instance, the `it` method could look something like this:

```io

it := method(description,
tests atPut(description, block setMessage(call argAt(1)))
)
```

Then the fact you're using a block is transparent to the user, and more idiomatic Io. We pass messages around whenever possible, even if sometimes they're placed in blocks. :)