We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6279d2f commit fa54898Copy full SHA for fa54898
4 files changed
library/dummy/dummy.rb
@@ -0,0 +1,5 @@
1
+class Dummy
2
+ def initialize
3
+ puts 'ok'
4
+ end
5
+end
test/sketches/installed_ruby.rb
@@ -1,10 +1,12 @@
+load_library :dummy # Dummy is for testing installed ruby library loading
+
def settings
size 200, 200
end
6
7
def setup
8
sketch_title 'Installed Ruby'
- puts 'ok'
9
+ Dummy.new
10
11
12
def draw
test/sketches/library/ruby_library/ruby_library.rb
+class RubyLibrary
test/sketches/local_ruby.rb
+load_library :ruby_library
sketch_title 'Local Ruby'
+ RubyLibrary.new
0 commit comments