Notify some information.
Example:
def test_notification
notify("I'm here!")
# Reached here
notify("Special!") if special_case?
# Reached here too
end
# File lib/test/unit/notification.rb, line 72 def notify(message, &block) notification = Notification.new(name, filter_backtrace(caller), message) add_notification(notification) end
Generated with the Darkfish Rdoc Generator 2.