Hi all,
Is it possible to avoid having to type $app whilst live coding in ruby processing?
i.e. instead of:
just:
I've used an alternative IRB called pry ( http://pry.github.com/) which lets you "cd" in to an object and access it's methods in this manner but can't understand how to fit ruby-processing and it together, if they'll fit at all. I've seen reports that it's broken with jruby somewher on the web.
Any assistance would much apprecaited.
Cheers,
Tristan
Is it possible to avoid having to type $app whilst live coding in ruby processing?
i.e. instead of:
- $app.line 0, 0, $app.width, $app.height
just:
- line 0, 0, @width, @height
I've used an alternative IRB called pry ( http://pry.github.com/) which lets you "cd" in to an object and access it's methods in this manner but can't understand how to fit ruby-processing and it together, if they'll fit at all. I've seen reports that it's broken with jruby somewher on the web.
Any assistance would much apprecaited.
Cheers,
Tristan
1