Class: OGLRUCache::EntityContainer
- Inherits:
-
Object
- Object
- OGLRUCache::EntityContainer
- Includes:
- LRUCache::Item
- Defined in:
- lib/ObjectModel/Tools/OGLRUCache.rb
Instance Attribute Summary collapse
-
#entity ⇒ Object
readonly
Returns the value of attribute entity.
Instance Method Summary collapse
-
#initialize(entity) ⇒ EntityContainer
constructor
A new instance of EntityContainer.
Constructor Details
#initialize(entity) ⇒ EntityContainer
Returns a new instance of EntityContainer.
7 8 9 |
# File 'lib/ObjectModel/Tools/OGLRUCache.rb', line 7 def initialize entity @entity = entity end |
Instance Attribute Details
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
6 7 8 |
# File 'lib/ObjectModel/Tools/OGLRUCache.rb', line 6 def entity @entity end |