Sha256: af1951ee0afdaadd01555d542d1a5d8567d57d03a4d76bd4614e991edf6cbbfe
Contents?: true
Size: 995 Bytes
Versions: 3
Compression:
Stored size: 995 Bytes
Contents
= clipboard Access the clipboard and do not care if the OS is Linux, MacOS or Windows. === Usage You have <tt>Clipboard.copy</tt>, <tt>Clipboard.paste</tt> and <tt>Clipboard.clear</tt> Have fun ;) ==== Multiple clipboards On Linux, you can choose, from which clipboard you want to +paste+, default is PRIMARY. +copy+ copies to all clipboards in Clipboard::CLIPBOARDS. ==== Windows Encoding note If you paste with 1.9, the Clipboard encoding will be translated to your <tt>Encoding.default_external</tt>. If you paste with 1.8, it will fallback to CP850 encoding. Copying with 1.8 will fallback to the +clip+ utility, which is installed by default since Vista === Non-gem requirements * *Linux*: +xclip+, you can install it on debian/ubuntu with <tt>sudo apt-get install xclip</tt> === Todo * Don't depend on +xclip+ Feel free to report bugs or to implement one of the Todo entries ;) === Copyright Copyright (c) 2010 Jan Lelis, http://rbjl.net, released under the MIT license J-_-L
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
clipboard-0.9.3 | README.rdoc |
clipboard-0.9.2 | README.rdoc |
clipboard-0.9.1 | README.rdoc |