Module: Processing::Proxy
- Includes:
- Java::ProcessingCore::PConstants, Math, HelperMethods
- Defined in:
- lib/jruby_art/app.rb
Overview
Importing PConstants here to access the processing constants
Instance Method Summary collapse
Methods included from HelperMethods
#blend_color, #buffer, #color, #dist, #find_method, #frame_rate, #hsb_color, #int_to_ruby_colors, #java_self, #kamera, #key, #key_pressed?, #lerp_color, #load_strings, #max, #min, #mouse_pressed?, #p52ruby, #perspektiv, #proxy_java_fields, #save_strings, #thread, #web_to_color_array
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
217 218 219 220 221 222 |
# File 'lib/jruby_art/app.rb', line 217 def method_missing(name, *args) app = Processing.app return app.send(name, *args) if app&.respond_to?(name) super end |
Instance Method Details
#respond_to_missing?(name, include_private = false) ⇒ Boolean
213 214 215 |
# File 'lib/jruby_art/app.rb', line 213 def respond_to_missing?(name, include_private = false) Processing.app.respond_to?(name) || super end |