Sha256: 179a79b831762420203dbea43f75b14a341dc8b3cb9462f45427989798b703c7
Contents?: true
Size: 603 Bytes
Versions: 34
Compression:
Stored size: 603 Bytes
Contents
--- layout: post title: "post_initialize" permalink: methods/post_initialize.html --- We have provided a `post_initialize` for a propane sketch, which allows you to send parameter options to your sketch via initialize, and really only makes sense when you explicitly create an instance of your sketch. The `post_initialize` method is a hook that avoids you needing to call super on initialize. At present we haven't got an examples to show you, but see this is an alternative [hook example][hook]. [hook]:https://github.com/ruby-processing/picrate-examples/tree/master/processing_app/topics/ruby_hook
Version data entries
34 entries across 34 versions & 1 rubygems