Sha256: ac6441e75880e5e8f80aa8e686523c4f4e00389f6adf6c099c9d87b40b51e137
Contents?: true
Size: 871 Bytes
Versions: 27
Compression:
Stored size: 871 Bytes
Contents
const RuntimeName = require('./RuntimeName'); class RuntimeNameHandler { static getName(runtimeName) { switch (runtimeName) { case RuntimeName.Clr: return "clr"; case RuntimeName.Go: return "go"; case RuntimeName.Jvm: return "jvm"; case RuntimeName.Netcore: return "netcore"; case RuntimeName.Perl: return "perl"; case RuntimeName.Python: return "python"; case RuntimeName.Ruby: return "ruby"; case RuntimeName.Nodejs: return "nodejs"; case RuntimeName.Cpp: return "cpp"; default: throw new Error("Invalid runtime name."); } } } module.exports = RuntimeNameHandler;
Version data entries
27 entries across 18 versions & 1 rubygems