[macruby-changes] [2953] MacRuby/trunk/sample-macruby/WhoIsGettingLunch

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 4 11:53:56 PST 2009


Revision: 2953
          http://trac.macosforge.org/projects/ruby/changeset/2953
Author:   lsansonetti at apple.com
Date:     2009-11-04 11:53:55 -0800 (Wed, 04 Nov 2009)
Log Message:
-----------
fixed indentation, added the AppController.rb file to the Classes folder

Modified Paths:
--------------
    MacRuby/trunk/sample-macruby/WhoIsGettingLunch/AppController.rb
    MacRuby/trunk/sample-macruby/WhoIsGettingLunch/whoisgettinglunch.xcodeproj/project.pbxproj

Modified: MacRuby/trunk/sample-macruby/WhoIsGettingLunch/AppController.rb
===================================================================
--- MacRuby/trunk/sample-macruby/WhoIsGettingLunch/AppController.rb	2009-11-04 12:13:58 UTC (rev 2952)
+++ MacRuby/trunk/sample-macruby/WhoIsGettingLunch/AppController.rb	2009-11-04 19:53:55 UTC (rev 2953)
@@ -4,8 +4,8 @@
 
   def getWinner(sender)
     contestants = @contestants.stringValue.split(",")
-	winner = contestants[rand(contestants.length)]
+	  winner = contestants[rand(contestants.length)]
 
-	@winner.stringValue = winner.strip
+	  @winner.stringValue = winner.strip
   end
 end
\ No newline at end of file

Modified: MacRuby/trunk/sample-macruby/WhoIsGettingLunch/whoisgettinglunch.xcodeproj/project.pbxproj
===================================================================
--- MacRuby/trunk/sample-macruby/WhoIsGettingLunch/whoisgettinglunch.xcodeproj/project.pbxproj	2009-11-04 12:13:58 UTC (rev 2952)
+++ MacRuby/trunk/sample-macruby/WhoIsGettingLunch/whoisgettinglunch.xcodeproj/project.pbxproj	2009-11-04 19:53:55 UTC (rev 2953)
@@ -95,6 +95,7 @@
 		080E96DDFE201D6D7F000001 /* Classes */ = {
 			isa = PBXGroup;
 			children = (
+				24AAF7C710A193CE00481787 /* AppController.rb */,
 			);
 			name = Classes;
 			sourceTree = "<group>";
@@ -142,7 +143,6 @@
 				29B97317FDCFA39411CA2CEA /* Resources */,
 				29B97323FDCFA39411CA2CEA /* Frameworks */,
 				19C28FACFE9D520D11CA2CBB /* Products */,
-				24AAF7C710A193CE00481787 /* AppController.rb */,
 			);
 			name = whoisgettinglunch;
 			sourceTree = "<group>";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091104/8e5365b3/attachment.html>


More information about the macruby-changes mailing list