Sha256: addbef3401ce15a6492c0f4cfd311d80ffb0e5057828a146c66051e73f28e066
Contents?: true
Size: 898 Bytes
Versions: 27
Compression:
Stored size: 898 Bytes
Contents
from javonet.utils.RuntimeName import RuntimeName class RuntimeNameHandler: @staticmethod def get_name(runtime_name): if isinstance(runtime_name, RuntimeName): if runtime_name == RuntimeName.clr: return "clr" elif runtime_name == RuntimeName.go: return "go" elif runtime_name == RuntimeName.jvm: return "jvm" elif runtime_name == RuntimeName.netcore: return "netcore" elif runtime_name == RuntimeName.perl: return "perl" elif runtime_name == RuntimeName.python: return "python" elif runtime_name == RuntimeName.ruby: return "ruby" elif runtime_name == RuntimeName.nodejs: return "nodejs" else: raise Exception("Invalid runtime name.")
Version data entries
27 entries across 18 versions & 1 rubygems