Sha256: 5721c168d883d213ecd267f5e5fb9ce374146759ea85a9657a96d3cbddfee4d7
Contents?: true
Size: 611 Bytes
Versions: 9
Compression:
Stored size: 611 Bytes
Contents
# coding: utf-8 module TypeScript module Node class CompileResult # Constructor # # @param [String] js compiled JavaScript # @param [Fixnum] exit_status return code of tsc command # @param [String] stdout Standard out # @return [String] stderr Standard err def initialize(js, exit_status, stdout, stderr) @js = js @exit_status = exit_status @stdout = stdout @stderr = stderr end attr_reader :js, :source_map, :exit_status, :stdout, :stderr def success? @exit_status == 0 end end end end
Version data entries
9 entries across 9 versions & 1 rubygems