summaryrefslogtreecommitdiff
path: root/lib/test/unit/util/procwrapper.rb
diff options
context:
space:
mode:
authorgsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 04:16:39 +0000
committergsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 04:16:39 +0000
commite4ac02cd8dfe45f39ad915bdb58192e57aca3d9d (patch)
tree1c24a00dc14af1b4ea808b2985b6698c0102bc43 /lib/test/unit/util/procwrapper.rb
parentc62564616d2550f51edc88db708a19c7419704ea (diff)
* lib/test/unit/**/*.rb: Removed :nodoc: directives (many were
generating warnings, many were on private methods). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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