An abstract class, or superclass, for CompositeNotifier and LeveledNotifier to inherit. It provides several wrapper methods for the OutputMethod object used by the Notifier.
Attributes
| [R] | prefix | The |
Class Public methods
Instance Public methods
exec_if() Link
Execute the given block if notifications are enabled.
notify?() Link
A wrapper method used to determine whether notifications are enabled.
Defaults to true.
pp(*objs) Link
Same as ppx, except it uses the prefix given during object initialization. See OutputMethod#ppx for more detail.
ppx(prefix, *objs) Link
Same as pp, except it concatenates the given prefix with the prefix given during object initialization.
See OutputMethod#ppx for more detail.
print(*opts) Link
See OutputMethod#print for more detail.
printf(format, *opts) Link
See OutputMethod#printf for more detail.
printn(*opts) Link
See OutputMethod#printn for more detail.
puts(*objs) Link
See OutputMethod#puts for more detail.