1.2.3

## Adam Prescott on Scopes in Rubinius

Shane Becker 22 May 2011

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.

- community@rubini.us
- @rubinius

— Use Ruby™