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 1db3703 commit 8526a79Copy full SHA for 8526a79
lib/jruby_art/helper_methods.rb
@@ -74,8 +74,8 @@ def p52ruby(p5color)
74
# Overrides Processing convenience function thread, which takes a String
75
# arg (for a function) to more rubylike version, takes a block...
76
def thread(&block)
77
- warn 'A Block is Needed' if block_given?
78
- Java::JavaLang::Thread.new(&block).new
+ warn 'A Block is Needed' unless block_given?
+ Java::JavaLang::Thread.new(&block).start
79
end
80
81
# explicitly provide 'processing.org' min instance method
0 commit comments