mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c62564616d
commit
e4ac02cd8d
17 changed files with 150 additions and 177 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue