Skip to content

Instantly share code, notes, and snippets.

@eregon
Created January 28, 2016 14:47
if obj.metaclass.realclass.id == CACHED_ID
if CACHED_INDEX < obj.ivars.length
return obj.ivars[CACHED_INDEX]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment