Module: Kernel

Extended by:
Defined in:


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