Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: a10421a292
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (19 sloc) 0.545 kB
#
# rb_main.rb
# ViewModelDemo
#
# Created by Laurent Sansonetti on 6/5/08.
# Copyright __MyCompanyName__ 2008. All rights reserved.
#
# Loading the Cocoa framework. If you need to load more frameworks, you can
# do that here too.
framework 'Cocoa'
# Loading all the Ruby project files.
dir_path = NSBundle.mainBundle.resourcePath.fileSystemRepresentation
Dir.entries(dir_path).each do |path|
if path != File.basename(__FILE__) and path[-3..-1] == '.rb'
require(path)
end
end
# Starting the Cocoa main loop.
NSApplicationMain(0, nil)
Jump to Line
Something went wrong with that request. Please try again.