Class Interactive::InputState
In: lib/interact/interactive.rb
Parent: Object

Wrap around the input options, the current answer, and the current position.

Passed to handlers, which are expected to mutate answer and position as they handle incoming events.

Methods

back   censor   clear   display   done!   done?   goto   new  

Attributes

answer  [RW] 
options  [RW] 
position  [RW] 

Public Class methods

Public Instance methods

Call to signal to the input reader that it can stop.

Is the input finished/complete?

[Validate]