Make `its([:key]) {}` work for any subject which responds to #[].
Created by: Peeja
As per #296 (closed).
David, you asked for a helpful error message if the object doesn't respond to #[]
. How's "NoMethodError: undefined method
[]' for #Object:0x000001009d2140`"?