Module: Kernel

Extended by:
Defined in:


require "highline/import" adds shortcut methods to Kernel, making HighLine#agree, HighLine#ask, HighLine#choose and HighLine#say globally available. This is handy for quick and dirty input and output. These methods use HighLine.default_instance which is initialized to use $stdin and $stdout (you are free to change this). Otherwise, these methods are identical to their HighLine counterparts, see that class for detailed explanations.