Hey that's clever. This has the advantage that the state can be
treated generically, which methods for each state don't make easy. For
example:
def setImageForState(button, state, image)
button image(state) = image
end
The main use I've come up with for multi-arg setters is just
collections using the [] operator:
list[3] = "value"
This is basically syntactic sugar for calling the setter "[]=" with
list, 3, and value.
Cheers!
- bob