Class: IRB::Notifier::NoMsgNotifier (Ruby 2.3.4)

IRB::Notifier::NoMsgNotifier

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()

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

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

Public Instance Methods

notify?()

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

 
               # File irb/notifier.rb, line 225
def notify?
  false
end