summaryrefslogtreecommitdiff
path: root/lib/test/unit/util/procwrapper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/util/procwrapper.rb')
-rw-r--r--lib/test/unit/util/procwrapper.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/test/unit/util/procwrapper.rb b/lib/test/unit/util/procwrapper.rb
index fea66d7671..b341448e9c 100644
--- a/lib/test/unit/util/procwrapper.rb
+++ b/lib/test/unit/util/procwrapper.rb
@@ -1,5 +1,3 @@
-# :nodoc:
-#
# Author:: Nathaniel Talbott.
# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.
# License:: Ruby license.
@@ -25,11 +23,11 @@ module Test
@hash = a_proc.inspect.sub(/^(#<#{a_proc.class}:)/){''}.sub(/(>)$/){''}.hex
end
- def hash # :nodoc:
+ def hash
return @hash
end
- def ==(other) # :nodoc:
+ def ==(other)
case(other)
when ProcWrapper
return @a_proc == other.to_proc
@@ -39,7 +37,7 @@ module Test
end
alias :eql? :==
- def to_proc # :nodoc:
+ def to_proc
return @a_proc
end
end