Method: HighLine::Simulate#gets
- Defined in:
- lib/highline/simulate.rb
#gets ⇒ Object
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 |
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 |