Merb now seems to be tentatively running on Rubinius, the fledgling Ruby virtual machine. I’m watching both of these projects with real interest, although I have nowhere near enough free time to put either through their paces just yet (neither are close to production levels of usability at this point in any case).
It’s good to […]
Category Archives: Ruby
Rubinius’ lurking presence continues to be felt
Ruby, from the perspective of SuperCollider
SuperCollider? It’s a programming environment designed for live digital signal processing, audio manipulation and algorithmic composition - making music, in other words. It is also contains a fully-fledged, dynamic, object-oriented language strongly influenced by both Smalltalk and functional programming, and as such it has a fair bit in common with Ruby.
There’s nothing like using two […]
Under the hood: Ruby’s global variables
Tinkering in irb earlier, I ran this line of code.
global_variables.each{ |var| puts var + “: ” + eval(var).inspect }
Ruby’s global variables - I have long been aware of their existence in the background, but I hadn’t realised quite how many are initialized by default. What are they all for - and what cool metaprogramming tricks […]
Calling SetReturnURL from ebay4r
Garry Dolley’s ebay4r gem provides a Ruby interface to eBay’s SOAP API.
The following script extends it to allow the calling of eBay’s SetReturnURL method - required on a one-off basis to define redirect URLs for any eBay application authenticating users over the web.
ebay4r attempts to authenticate itself using the standard authToken, but this is one […]