fork download
  1. if Dir.exist? './abc' && Dir.exist? './def'
  2. puts 3
  3. else
  4. puts 4
  5. end
  6.  
Runtime error #stdin #stdout #stderr 0s 28688KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.rb:1: syntax error, unexpected tSTRING_BEG, expecting keyword_then or ';' or '\n'
if Dir.exist? './abc' && Dir.exist? './def'
                                     ^
prog.rb:3: syntax error, unexpected keyword_else, expecting end-of-input