Class: Test::Unit::Error

Inherits:
Object show all
Defined in:
lib/mack-facets/1_9/test/unit/error.rb,
lib/gems/activesupport-2.2.2/lib/active_support/deprecation.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#message(*args) ⇒ Object

:nodoc:



9
10
11
# File 'lib/mack-facets/1_9/test/unit/error.rb', line 9

def message(*args)
  Mack.logger.error(args.inspect)
end

#message_with_silenced_deprecationObject

Silence warnings when reporting test errors.



234
235
236
237
238
# File 'lib/gems/activesupport-2.2.2/lib/active_support/deprecation.rb', line 234

def message_with_silenced_deprecation
  ActiveSupport::Deprecation.silence do
    message_without_silenced_deprecation
  end
end