Skip to content

Instantly share code, notes, and snippets.

@chrismcg
Created July 29, 2008 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismcg/3111 to your computer and use it in GitHub Desktop.
Save chrismcg/3111 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
require 'osx/cocoa'
include OSX
class Foo < NSObject
def applicationDidFinishLaunching(sender)
puts "yo"
end
end
app = NSApplication.sharedApplication
app.delegate = Foo.alloc.init
app.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment