Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more

In Files

  • irb/notifier.rb


NoMsgNotifier is a LeveledNotifier that's used as the default notifier when creating a new CompositeNotifier.

This notifier is used as the zero index, or level 0, for IRB::Notifier::CompositeNotifier#notifiers, and will not output messages of any sort.

Public Class Methods

new() click to toggle source

Creates a new notifier that should not be used to output messages.

               # File irb/notifier.rb, line 216
def initialize
  @base_notifier = nil
  @level = 0
  @prefix = ""

Public Instance Methods

notify?() click to toggle source

Ensures notifications are ignored, see IRB::Notifier::AbstractNotifier#notify? for more information.

               # File irb/notifier.rb, line 224
def notify?

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit