Method: HighLine::Simulate#gets

Defined in:
lib/highline/simulate.rb

#getsObject

Simulate StringIO#gets by shifting a string off of the script



24
25
26
# File 'lib/highline/simulate.rb', line 24

def gets
  @strings.shift
end