RubyFlow The Ruby and Rails community linklog

The clipboard gem, or: How to `pbcopy` on non-Mac operating systems

Did you know how simple it is to access the clipboard from Ruby? It’s just Clipboard.copy and Clipboard.paste when you use the clipboard gem. The newest release includes support for WSL, the Windows Subsystem for Linux.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in