summaryrefslogtreecommitdiff
path: root/lib/prettyprint.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-16 02:23:15 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-16 02:23:15 +0000
commitd908340910d3dfbdb008586323def4fc0601d34b (patch)
tree3b7b641d531a2f6e619bfa366f7d4271b014a010 /lib/prettyprint.rb
parent691b6fb869f4d8d64da25f768589eb0eebb65634 (diff)
downloadruby-d908340910d3dfbdb008586323def4fc0601d34b.tar.gz
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/prettyprint.rb')
-rw-r--r--lib/prettyprint.rb12
1 files changed, 6 insertions, 6 deletions
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 {