[macruby-changes] [515] MacRuby/trunk/sample-macruby/PagePacker

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 28 21:55:31 PDT 2008


Revision: 515
          http://trac.macosforge.org/projects/ruby/changeset/515
Author:   lsansonetti at apple.com
Date:     2008-08-28 21:55:31 -0700 (Thu, 28 Aug 2008)
Log Message:
-----------
fix some typos

Modified Paths:
--------------
    MacRuby/trunk/sample-macruby/PagePacker/PackModel.rb
    MacRuby/trunk/sample-macruby/PagePacker/PageInfo.rb

Modified: MacRuby/trunk/sample-macruby/PagePacker/PackModel.rb
===================================================================
--- MacRuby/trunk/sample-macruby/PagePacker/PackModel.rb	2008-08-29 02:17:47 UTC (rev 514)
+++ MacRuby/trunk/sample-macruby/PagePacker/PackModel.rb	2008-08-29 04:55:31 UTC (rev 515)
@@ -84,7 +84,7 @@
 
   def putAttributedString(attString, startingOnPage:i)
     pdf = pdfFromAttributedStringOfSize attString, NSMakeSize(200, 300)
-    putPDFData pdf, startingOnpage:i
+    putPDFData pdf, startingOnPage:i
   end
 
   def putPDF(pdf, startingOnPage:i)
@@ -113,7 +113,7 @@
     end
   end
 
-  def putFiles(filenames, startingOnpage:i)
+  def putFiles(filenames, startingOnPage:i)
     currentStart = i
     filenames.each { |x| currentStart = putFile(x, startingOnPage:currentStart) }
     currentStart

Modified: MacRuby/trunk/sample-macruby/PagePacker/PageInfo.rb
===================================================================
--- MacRuby/trunk/sample-macruby/PagePacker/PageInfo.rb	2008-08-29 02:17:47 UTC (rev 514)
+++ MacRuby/trunk/sample-macruby/PagePacker/PageInfo.rb	2008-08-29 04:55:31 UTC (rev 515)
@@ -1,5 +1,4 @@
 class PageInfo 
-
   def encodeWithCoder(c)
     c.encodeObject @imageRep, forKey:'imageRep'
     c.encodeInt @pageOfRep, forKey:'pageOfRep' 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080828/61ee9280/attachment-0001.html 


More information about the macruby-changes mailing list