In Files
- irb/notifier.rb
Class/Module Index
- IRB::Abort
- IRB::Context
- IRB::ContextExtender
- IRB::ExtendCommandBundle
- IRB::FileInputMethod
- IRB::Frame
- IRB::InputMethod
- IRB::Inspector
- IRB::Irb
- IRB::IrbLoader
- IRB::JobManager
- IRB::LoadAbort
- IRB::MethodExtender
- IRB::Notifier
- IRB::Notifier::AbstractNotifier
- IRB::Notifier::CompositeNotifier
- IRB::Notifier::LeveledNotifier
- IRB::Notifier::NoMsgNotifier
- IRB::OutputMethod
- IRB::ReadlineInputMethod
- IRB::StdioInputMethod
- IRB::StdioOutputMethod
- IRB::WorkSpace
- Object
- XMP
- XMP::StringInputMethod
IRB::Notifier::LeveledNotifier
A leveled notifier is comparable to the composite group from IRB::Notifier::CompositeNotifier#notifiers.
Public Class Methods
new(base, level, prefix)
Create a new leveled notifier with the given base
, and
prefix
to send to IRB::Notifier::AbstractNotifier.new
The given level
is used to compare other leveled notifiers in
the CompositeNotifier group to
determine whether or not to output notifications.
# File irb/notifier.rb, line 186 def initialize(base, level, prefix) super(prefix, base) @level = level end