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 | 1dd0393b2ca926d27324c4aafc102cd49c8347aa (patch) | |
| tree | 1c24a00dc14af1b4ea808b2985b6698c0102bc43 /lib/test/unit/assertions.rb | |
| parent | a9409b823ffef7300fe81e70f8536644f3ef3ec5 (diff) | |
| download | ruby-1dd0393b2ca926d27324c4aafc102cd49c8347aa.tar.gz ruby-1dd0393b2ca926d27324c4aafc102cd49c8347aa.tar.xz ruby-1dd0393b2ca926d27324c4aafc102cd49c8347aa.zip | |
* 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
Diffstat (limited to 'lib/test/unit/assertions.rb')
| -rw-r--r-- | lib/test/unit/assertions.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb index 001bb428d..9dd9baf73 100644 --- a/lib/test/unit/assertions.rb +++ b/lib/test/unit/assertions.rb @@ -1,5 +1,3 @@ -# :nodoc: -# # Author:: Nathaniel Talbott. # Copyright:: Copyright (c) 2000-2003 Nathaniel Talbott. All rights reserved. # License:: Ruby license. @@ -7,8 +5,8 @@ require 'test/unit/assertionfailederror' require 'test/unit/util/backtracefilter' -module Test # :nodoc: - module Unit # :nodoc: +module Test + module Unit # Contains all of the standard Test::Unit assertions. Mixed in # to Test::Unit::TestCase. To mix it in and use its @@ -341,13 +339,13 @@ EOT end public - def build_message(head, template=nil, *arguments) # :nodoc: + def build_message(head, template=nil, *arguments) template &&= template.chomp return AssertionMessage.new(head, template, arguments) end private - def _wrap_assertion # :nodoc: + def _wrap_assertion @_assertion_wrapped ||= false unless (@_assertion_wrapped) @_assertion_wrapped = true @@ -375,7 +373,7 @@ EOT AssertionMessage.use_pp = value end - class AssertionMessage # :nodoc: all + class AssertionMessage all @use_pp = true class << self attr_accessor :use_pp |
