fork(1) download
  1. def data=new ConfigSlurper().parse("aaa=0")
  2. def val=-1
  3. if(data.containsKey("aaa")){
  4. val=data.aaa
  5. }
  6. println val
  7.  
Success #stdin #stdout 1.09s 4456448KB
stdin
Standard input is empty
stdout
0