Created
October 26, 2013 14:20
-
-
Save toyama0919/7169970 to your computer and use it in GitHub Desktop.
macのrubyでclipboardの内容を取得する ref: http://qiita.com/toyama0919/items/a8101f9f46f44758f01b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install nkf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| text = `pbpaste | /usr/local/bin/nkf -w` | |
| puts text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment