I'd honestly leave it out in that case. You could, if you'd like, do

```
raise ArgumentError, "Expected a String, got a #{pguri.class} instead" unless pguri.is_a?(String)
```

But in the name of duck typing, you could also just coerce it with `#to_s` and accept either or (this would be more idiomatic Ruby).