# File lib/binding_of_caller/rubinius.rb, line 6 def of_caller(n) location = Rubinius::VM.backtrace(1 + n, true).first raise RuntimeError, "Invalid frame, gone beyond end of stack!" if location.nil? setup_binding_from_location(location) end