public
Description: A SSB OSX application, which at some point will be able to create a new application which wraps a specific web application, (Think Campfire, Twitter etc) and allows the user to use Ruby to create event handlers to be able support things like Growl or whatever you would like.
Clone URL: git://github.com/alloy/webapp-app.git
Search Repo:
Added #constantize => #to_const regression fix to master.
alloy (author)
Mon Jun 09 01:09:16 -0700 2008
commit  1edfcd384c91f98d78ba3fd9a373027f002bc422
tree    4b5f67996f8c5855769cd4022e5377b5f8f0615b
parent  47d26839f5e5b0f6f666f3f94f4115f233b62ae6
...
84
85
86
87
 
88
89
90
...
84
85
86
 
87
88
89
90
0
@@ -84,7 +84,7 @@ class ApplicationController < Rucola::RCController
0
       Dir.glob("#{bundles}/*.wabundle/controllers/*.rb").each do |controller|
0
         log.debug "Loading controller: #{controller}"
0
         require controller
0
- klass = File.constantize(controller)
0
+ klass = File.to_const(controller)
0
         
0
         item = OSX::NSMenuItem.alloc.initWithTitle_action_keyEquivalent("#{klass.name.scan(/([A-Z][a-z]+)/).flatten[0..-2].join(' ')}...", 'openBundleWindowController:', '')
0
         item.target = self

Comments

    No one has commented yet.