If using the import interface, you can do it like this:

$terminal = HighLine.new($stdin, $stderr)

ask( � )

Otherwise, you can just build the proper HighLine instance and use it:

hl = HighLine.new($stdin, $stderr)

hl.ask( � )

Regards,

P.Raveendran

Leave a Reply