Sha256: a73e393b7fb038e248d059b16d7ff93ae249267956e4aaa92f08bd64c2787c98
Contents?: true
Size: 619 Bytes
Versions: 1
Compression:
Stored size: 619 Bytes
Contents
module Vedeu class Launcher def initialize(argv, stdin = STDIN, stdout = STDOUT, stderr = STDERR, kernel = Kernel) @argv = argv @stdin = stdin @stdout = stdout @stderr = stderr @kernel = kernel @exit_code = 1 end # :nocov: def execute! $stdin, $stdout, $stderr = @stdin, @stdout, @stderr Application.start @exit_code = 0 ensure $stdin, $stdout, $stderr = STDIN, STDOUT, STDERR @kernel.exit(@exit_code) end # :nocov: end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.0.24 | lib/vedeu/launcher.rb |