Module: Extlib::LocalObjectSpace

### Home Classes Methods

### In Files

- lib/extlib/local_object_space.rb

### Methods

- ::extended
- #object_by_id

### Files

- LICENSE
- README.rdoc

### Class/Module Index

Quicksearch

- Extlib
- Extlib::Assertions
- Extlib::ByteArray
- Extlib::Hook
- Extlib::Hook::ClassMethods
- Extlib::Inflection
- Extlib::LocalObjectSpace
- Extlib::Logger
- Extlib::Pooling
- Extlib::Pooling::InvalidResourceError
- Extlib::Pooling::Pool
- Extlib::SimpleSet
- Gem
- Gem::SourceIndex
- Gem::Specification
- LazyModule
- LazyModule::ClassMethods
- Array
- Class
- DateTime
- Dictionary
- FalseClass
- Hash
- LazyArray
- Mash
- Module
- NilClass
- Numeric
- Object
- ObjectSpace
- Pathname
- REXMLUtilityNode
- String
- Struct
- Symbol
- Time
- ToHashParser
- TrueClass
- VirtualFile

No matching classes.

# Extlib::LocalObjectSpace

### Public Class Methods

extended(klass) click to toggle source

    # 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

### Public Instance Methods

object_by_id(object_id) click to toggle source

    # 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.