diff options
author | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-16 04:16:39 +0000 |
---|---|---|
committer | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-16 04:16:39 +0000 |
commit | e4ac02cd8dfe45f39ad915bdb58192e57aca3d9d (patch) | |
tree | 1c24a00dc14af1b4ea808b2985b6698c0102bc43 /lib/test/unit/util | |
parent | c62564616d2550f51edc88db708a19c7419704ea (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')
-rw-r--r-- | lib/test/unit/util/observable.rb | 6 | ||||
-rw-r--r-- | lib/test/unit/util/procwrapper.rb | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/lib/test/unit/util/observable.rb b/lib/test/unit/util/observable.rb index f5066d3425..6d84539884 100644 --- a/lib/test/unit/util/observable.rb +++ b/lib/test/unit/util/observable.rb @@ -1,5 +1,3 @@ -# :nodoc: -# # Author:: Nathaniel Talbott. # Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved. # License:: Ruby license. @@ -8,7 +6,7 @@ require 'test/unit/util/procwrapper' module Test module Unit - module Util # :nodoc: + module Util # This is a utility class that allows anything mixing # it in to notify a set of listeners about interesting @@ -80,7 +78,7 @@ module Test end private - def channels # :nodoc: + def channels @channels ||= {} return @channels end 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 |