Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 1.541 kb
layout title author email
Adam Prescott on Scopes in Rubinius
Shane Becker

Adam Prescott wrote a lengthy article about variables, closures and scope in Ruby, mentioning Rubinius at the end:

One of the really cool things about the Rubinius implementation of Ruby is that it exposes, by requirement, a level of internals which you can’t find in MRI, including some internals with scopes. Because these internals are exposed in Ruby itself, you can play around with scopes as objects, using VariableScope, including getting access to the available local variables within that scope, with VariableScope.current.locals.

How are you using Rubinius? What are you doing with it that you couldn't do before? What is it missing for you to really dive in? Let us know. We're listening.

— Use Ruby™

Jump to Line
Something went wrong with that request. Please try again.