summaryrefslogtreecommitdiff
path: root/lib/test/unit/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/util')
-rw-r--r--lib/test/unit/util/observable.rb6
-rw-r--r--lib/test/unit/util/procwrapper.rb8
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