# File lib/extlib/local_object_space.rb, line 3 def self.extended(klass) (class << klass; self; end).send :attr_accessor, :hook_scopes klass.hook_scopes = [] end
# 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
[Validate]
Generated with the Darkfish Rdoc Generator 2.