and the NullPresenter is used, e.g., by redirecting output to /dev/null,
then an exception is raised because the NullPresenter doesn't define the X11 color name methods in the same way as the standard presenter.
A work-around is to not use the X11 name methods, but only use the color method, e.g.:
puts Rainbow('something').color(:orange)
but it seems the NullPresenter should handle this.
When an X11 color name method is used, e.g.:
and the NullPresenter is used, e.g., by redirecting output to /dev/null, then an exception is raised because the NullPresenter doesn't define the X11 color name methods in the same way as the standard presenter.
A work-around is to not use the X11 name methods, but only use the color method, e.g.:
but it seems the NullPresenter should handle this.