Sha256: 08b2e894b7896e72929d371c45b71cce161c07496f1c8f41159907d9d84f1765
Contents?: true
Size: 756 Bytes
Versions: 1
Compression:
Stored size: 756 Bytes
Contents
module Mirah class CompilationState def initialize BiteScript.bytecode_version = BiteScript::JAVA1_5 @save_extensions = true end attr_accessor :verbose, :destination attr_accessor :version_printed attr_accessor :help_printed attr_accessor :save_extensions def set_jvm_version(ver_str) case ver_str when '1.4' BiteScript.bytecode_version = BiteScript::JAVA1_4 when '1.5' BiteScript.bytecode_version = BiteScript::JAVA1_5 when '1.6' BiteScript.bytecode_version = BiteScript::JAVA1_6 when '1.7' BiteScript.bytecode_version = BiteScript::JAVA1_7 else $stderr.puts "invalid bytecode version specified: #{ver_str}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mirah-0.0.7-java | lib/mirah/compilation_state.rb |