Class: RubyClip
Class Method Summary collapse
Class Method Details
.lostOwnership(aClipboard, aContents) ⇒ Object
14 15 16 |
# File 'lib/ruby_clip.rb', line 14 def self.lostOwnership(aClipboard, aContents) # ignore... end |
.set_clipboard(to_this) ⇒ Object
8 9 10 11 12 |
# File 'lib/ruby_clip.rb', line 8 def self.set_clipboard to_this stringSelection = StringSelection.new( to_this.to_s ) clipboard = Toolkit.getDefaultToolkit().getSystemClipboard() clipboard.setContents( stringSelection, self ); end |