Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Ruby
Posted by: Mandisi Makwakwa
Added: Jun 21, 2018 4:43 AM
Views: 6
Tags: no tags
  1. def window1
  2.     Shoes.app do
  3.         @a = button "click me"
  4.         @a.click do
  5.             window2
  6.         end
  7.     end
  8. end
  9. def window2
  10.     Shoes.app do
  11.         para "Window 2"
  12.     end
  13. end
  14. window1