# File lib/extlib/local_object_space.rb, line 8 def object_by_id(object_id) self.hook_scopes.detect {|object| object.object_id == object_id} end