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 071f15c commit d52fb1bCopy full SHA for d52fb1b
lib/jruby_art/runner.rb
@@ -152,6 +152,8 @@ def show_help
152
153
def show_version
154
require 'erb'
155
+ require_relative 'helpers/version_error'
156
+ warn 'JDK8 is preferred' unless ENV_JAVA['java.specification.version'] == '1.8'
157
template = ERB.new <<-EOF
158
JRubyArt version <%= JRubyArt::VERSION %>
159
Ruby version <%= RUBY_VERSION %>
library/color_group/color_group.rb
@@ -9,7 +9,7 @@ def initialize(p5cols)
9
end
10
11
def self.from_web_array(web)
12
- ColorGroup.new(ColorUtil.web_array(web))
+ ColorGroup.new(ColorUtil.web_array(web.to_java(:string)))
13
14
15
def shuffle!
0 commit comments