Class: OGLRUCache::EntityContainer

Inherits:
Object
  • Object
show all
Includes:
LRUCache::Item
Defined in:
lib/ObjectModel/Tools/OGLRUCache.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#entityObject (readonly)

Returns the value of attribute entity.



6
7
8
# File 'lib/ObjectModel/Tools/OGLRUCache.rb', line 6

def entity
  @entity
end