Created
August 19, 2009 13:47
-
-
Save vsalbaba/170355 to your computer and use it in GitHub Desktop.
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
require "my_script" | |
Shoes.app do | |
button "run my_script" do | |
Thread.new do | |
call_method_in_script | |
end | |
end | |
end |
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
def call_method_in_script | |
alert "I am a method in my_script!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment