method
gets
v1_9_1_378 -
Show latest stable
- Class:
IRB::StdioInputMethod
gets()public
No documentation available.
# File lib/irb/input-method.rb, line 51
def gets
print @prompt
line = @stdin.gets
@line[@line_no += 1] = line
end