[macruby-changes] [359] MacRuby/trunk/lib/hotcocoa/layout_view.rb
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 10 12:14:47 PDT 2008
Revision: 359
http://trac.macosforge.org/projects/ruby/changeset/359
Author: lsansonetti at apple.com
Date: 2008-07-10 12:14:47 -0700 (Thu, 10 Jul 2008)
Log Message:
-----------
rubyish inspect method
Modified Paths:
--------------
MacRuby/trunk/lib/hotcocoa/layout_view.rb
Modified: MacRuby/trunk/lib/hotcocoa/layout_view.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/layout_view.rb 2008-07-10 18:56:46 UTC (rev 358)
+++ MacRuby/trunk/lib/hotcocoa/layout_view.rb 2008-07-10 19:14:47 UTC (rev 359)
@@ -172,7 +172,7 @@
end
def inspect
- "#{description} (start=#{start?}, expand=#{expand?}, left_padding=#{left_padding}, right_padding=#{right_padding}, top_padding=#{top_padding}, bottom_padding=#{bottom_padding}, other=#{other.inspect}, view=#{view.inspect})"
+ "#<#{self.class} start=#{start?}, expand=#{expand?}, left_padding=#{left_padding}, right_padding=#{right_padding}, top_padding=#{top_padding}, bottom_padding=#{bottom_padding}, other=#{other.inspect}, view=#{view.inspect}>"
end
private
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080710/aec779df/attachment.html
More information about the macruby-changes
mailing list