Add App#clipboard and App#clipboard= methods. Try out the following test snippet.

Shoes.app do
  button 'clipboard test' do
    p clipboard
    self.clipboard = ask 'store to clipboard'
  end
end