From 1dd0393b2ca926d27324c4aafc102cd49c8347aa Mon Sep 17 00:00:00 2001 From: gsinclair Date: Sun, 16 May 2004 04:16:39 +0000 Subject: * lib/test/unit/**/*.rb: Removed :nodoc: directives (many were generating warnings, many were on private methods). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/test/unit/util/procwrapper.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/test/unit/util/procwrapper.rb') diff --git a/lib/test/unit/util/procwrapper.rb b/lib/test/unit/util/procwrapper.rb index fea66d767..b341448e9 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 -- cgit