Sha256: 0b29694b5902a26c001119fce7f65dc2b8e8d752cd41ee67c0b344f085284cd1
Contents?: true
Size: 463 Bytes
Versions: 17
Compression:
Stored size: 463 Bytes
Contents
#!/usr/bin/perl package Javonet::Sdk::Core::RuntimeLib; use warnings; use strict; use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(get_runtime); my %runtimes = ( 'Clr' => 0, 'Go' => 1, 'Jvm' => 2, 'Netcore' => 3, 'Perl' => 4, 'Python' => 5, 'Ruby' => 6, 'Nodejs' => 7 ); sub get_runtime { my $runtime = shift; return $runtimes{$runtime}; } 1;
Version data entries
17 entries across 17 versions & 1 rubygems