Sha256: 7dc14d1f3c345dc20ea0cdfcc4b8c455ebcf944e277707bb0055788b0f65de34

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

read = rl.on 'line', do |line|
  case line.trim()
    when 'hello'
      puts "world!"
    else
      puts "Say what? I might have heard #{line.trim()}"
  end
  rl.prompt()
end

read.on 'close', do
  puts "Have a great day!"
  process.exit(0)
end

process.argv.forEach do |val,index,array|
  commandline_args << val
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.7.1 shark/test_files/blocks.nila
nilac-0.0.4.3.9.7 shark/test_files/blocks.nila