diff options
| author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-16 19:53:09 +0000 |
|---|---|---|
| committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-16 19:53:09 +0000 |
| commit | 668ba40c0c75f3372216d2cdf086f81d2b2777ed (patch) | |
| tree | 2f5d9d8f9212e33702020169e29e1caa4b6fb0eb | |
| parent | 9ce58e4c57902ccbb7a33bdf6d67766cff84aa61 (diff) | |
* lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse
<hgs at dmu.ac.uk> from [ruby-core:10135]
* lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite.
Approval for commit: [ruby-core:10331]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | lib/.document | 3 | ||||
| -rw-r--r-- | lib/prettyprint.rb | 12 |
3 files changed, 16 insertions, 6 deletions
@@ -1,3 +1,10 @@ +Fri Feb 16 11:18:21 2007 Eric Hodel <drbrain@segment7.net> + + * lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse + <hgs at dmu.ac.uk> from [ruby-core:10135] + + * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite. + Thu Feb 15 20:26:30 2007 Akinori MUSHA <knu@iDaemons.org> * lib/uri/ftp.rb: Revert the previous change pending discussion. diff --git a/lib/.document b/lib/.document index 542ca3764c..2159be8360 100644 --- a/lib/.document +++ b/lib/.document @@ -8,6 +8,7 @@ English.rb Env.rb +README abbrev.rb base64.rb benchmark.rb @@ -23,6 +24,7 @@ debug.rb delegate.rb drb drb.rb +e2mmap.rb erb.rb eregex.rb fileutils.rb @@ -36,6 +38,7 @@ getopts.rb gserver.rb importenv.rb ipaddr.rb +irb irb.rb jcode.rb logger.rb diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb index 507a05e65c..315c422e9e 100644 --- a/lib/prettyprint.rb +++ b/lib/prettyprint.rb @@ -381,7 +381,7 @@ end if __FILE__ == $0 require 'test/unit' - class WadlerExample < Test::Unit::TestCase + class WadlerExample < Test::Unit::TestCase # :nodoc: def setup @tree = Tree.new("aaaa", Tree.new("bbbbb", Tree.new("ccc"), Tree.new("dd")), @@ -561,7 +561,7 @@ End assert_equal(expected, tree_alt(50)) end - class Tree + class Tree # :nodoc: def initialize(string, *children) @string = string @children = children @@ -618,7 +618,7 @@ End end end - class StrictPrettyExample < Test::Unit::TestCase + class StrictPrettyExample < Test::Unit::TestCase # :nodoc: def prog(width) PrettyPrint.format('', width) {|q| q.group { @@ -763,7 +763,7 @@ End end - class TailGroup < Test::Unit::TestCase + class TailGroup < Test::Unit::TestCase # :nodoc: def test_1 out = PrettyPrint.format('', 10) {|q| q.group { @@ -783,7 +783,7 @@ End end end - class NonString < Test::Unit::TestCase + class NonString < Test::Unit::TestCase # :nodoc: def format(width) PrettyPrint.format([], width, 'newline', lambda {|n| "#{n} spaces"}) {|q| q.text(3, 3) @@ -802,7 +802,7 @@ End end - class Fill < Test::Unit::TestCase + class Fill < Test::Unit::TestCase # :nodoc: def format(width) PrettyPrint.format('', width) {|q| q.group { |
