ppx

ppx(prefix, *objs) Instance Public methods Prints the given objs calling Object#inspect on each and appending the given prefix. See puts for more detail.

pp

pp(*objs) Instance Public methods Prints the given objs calling Object#inspect on each. See puts for more detail.

parse_printf_format

parse_printf_format(format, opts) Instance Public methods Returns an array of the given format and opts to be used by Kernel#sprintf, if there was a successful Regexp match in the given format from printf % <flag> [#0- +] <minimum field width> (\*|\*[1-9][0-9]*\$|[1-9][0-9]*) <precision>.(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)? #<length modifier>(hh|h|l|ll|L|q|j|z|t) <conversion specifier>[diouxXeEfgGcsb%]

def_notifier

def_notifier(prefix = "", output_method = StdioOutputMethod.new) Class Public methods Define a new Notifier output source, returning a new CompositeNotifier with the given prefix and output_method. The optional prefix will be appended to all objects being inspected during output, using the given output_method as the output source. If no output_method is given, StdioOuputMethod will be used, and all expressions will be sent directly to STDOUT without any additional formatting.

notify?

notify?() Instance Public methods Ensures notifications are ignored, see IRB::Notifier::AbstractNotifier#notify? for more information.

new

new() Class Public methods Creates a new notifier that should not be used to output messages.

notify?

notify?() Instance Public methods Whether to output messages to the output method, depending on the level of this notifier object.

&lt;=&gt;

<=>(other) Instance Public methods Compares the level of this notifier object with the given other notifier. See the Comparable module for more information.

new

new(base, level, prefix) Class Public methods 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.

level_notifier=

level_notifier=(value) Instance Public methods Sets the leveled notifier for this object. When the given value is an instance of AbstractNotifier, level_notifier is set to the given object. When an Integer is given, level_notifier is set to the notifier at the index value in the notifiers Array. If no notifier exists at the index value in the notifiers Array, an ErrUndefinedNotifier exception is raised. An ErrUnrecognizedLevel exception is raised if the given value is not found in