We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ad5bc9 commit 5268624Copy full SHA for 5268624
lib/jruby_art/runner.rb
@@ -152,8 +152,8 @@ def show_help
152
153
def show_version
154
require 'erb'
155
- WARNING = 'WARNING: JDK8 is preferred'
156
- warn WARNING unless ENV_JAVA['java.specification.version'] == '1.8'
+ warning = 'WARNING: JDK8 is preferred'.freeze
+ warn warning unless ENV_JAVA['java.specification.version'] == '1.8'
157
template = ERB.new <<-EOF
158
JRubyArt version <%= JRubyArt::VERSION %>
159
Ruby version <%= RUBY_VERSION %>
0 commit comments