Class: AMF::Pure::SerializerCache
- Inherits:
-
Object
- Object
- AMF::Pure::SerializerCache
- Defined in:
- lib/amf/pure/serializer.rb
Overview
:nodoc:
Defined Under Namespace
Classes: ObjectCache, StringCache
Class Method Summary collapse
Class Method Details
.new(type) ⇒ Object
292 293 294 295 296 297 298 |
# File 'lib/amf/pure/serializer.rb', line 292 def self.new type if type == :string StringCache.new elsif type == :object ObjectCache.new end end |