binding_of_caller (C) John Mair (banisterfiend) 2012 Retrieve the binding of a method's caller in MRI (>= 2.0.0) and RBX (Rubinius) The binding_of_caller gem provides the Binding#of_caller method. Using binding_of_caller we can grab bindings from higher up the call stack and evaluate code in that context. Allows access to bindings arbitrarily far up the call stack, not limited to just the immediat