Clipboard.set_data

To all those who might run into this …

xyz = “abc”
Clipboard.set_data(xyz)

will quietly append “\000”*i.e. a null char) to xyz upon return.

I don’t know if this is by design … but it’s a crappy design.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs