ruby-changes:20770
From: akr <ko1@a...>
Date: Wed, 3 Aug 2011 00:28:52 +0900 (JST)
Subject: [ruby-changes:20770] akr:r32818 (trunk, ruby_1_9_3): * lib/prettyprint.rb: update document.
akr 2011-08-03 00:25:59 +0900 (Wed, 03 Aug 2011) New Revision: 32818 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32818 Log: * lib/prettyprint.rb: update document. [ruby-core:36776] Modified files: branches/ruby_1_9_3/ChangeLog branches/ruby_1_9_3/lib/prettyprint.rb trunk/ChangeLog trunk/lib/prettyprint.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 32817) +++ ChangeLog (revision 32818) @@ -1,3 +1,7 @@ +Wed Aug 3 00:11:08 2011 Tanaka Akira <akr@f...> + + * lib/prettyprint.rb: update document. [ruby-core:36776] + Tue Aug 2 22:04:46 2011 NARUSE, Yui <naruse@r...> * gc.c (init_heap): allocate sigaltstack after heaps are allocated. Index: lib/prettyprint.rb =================================================================== --- lib/prettyprint.rb (revision 32817) +++ lib/prettyprint.rb (revision 32818) @@ -157,8 +157,15 @@ end end - # This is similar to #breakable, but is less-likely to insert a newline. + # This is similar to #breakable except + # the decision to break or not is determined individually. # + # Two #fill_breakable under a group may cause 4 results: + # (break,break), (break,non-break), (non-break,break), (non-break,non-break). + # This is different to #breakable because two #breakable under a group + # may cause 2 results: + # (break,break), (non-break,non-break). + # # The text sep+ is inserted if a line is not broken at this point. # # If +sep+ is not specified, " " is used. Index: ruby_1_9_3/ChangeLog =================================================================== --- ruby_1_9_3/ChangeLog (revision 32817) +++ ruby_1_9_3/ChangeLog (revision 32818) @@ -1,3 +1,8 @@ +Wed Aug 3 00:11:08 2011 Tanaka Akira <akr@f...> + + * lib/prettyprint.rb: update document. [ruby-core:36776] + + Tue Aug 2 20:10:16 2011 Shota Fukumori <sorah@t...> * test/testunit/test_parallel.rb: pass "--ruby" option to Index: ruby_1_9_3/lib/prettyprint.rb =================================================================== --- ruby_1_9_3/lib/prettyprint.rb (revision 32817) +++ ruby_1_9_3/lib/prettyprint.rb (revision 32818) @@ -157,8 +157,15 @@ end end - # This is similar to #breakable, but is less-likely to insert a newline. + # This is similar to #breakable except + # the decision to break or not is determined individually. # + # Two #fill_breakable under a group may cause 4 results: + # (break,break), (break,non-break), (non-break,break), (non-break,non-break). + # This is different to #breakable because two #breakable under a group + # may cause 2 results: + # (break,break), (non-break,non-break). + # # The text sep+ is inserted if a line is not broken at this point. # # If +sep+ is not specified, " " is used. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/