lib/ruby-processing/exporters/creator.rb in ruby-processing-2.6.8 vs lib/ruby-processing/exporters/creator.rb in ruby-processing-2.6.9
- old
+ new
@@ -17,11 +17,11 @@
end
CODE
CLASS_BASIC = <<-CODE
-class %s
+class %s < Processing::App
def setup
size %s, %s
end
def draw
@@ -29,10 +29,10 @@
end
end
CODE
CLASS_MODE = <<-CODE
-class %s
+class %s < Processing::App
def setup
size %s, %s, %s
end
def draw