Class: RocketAMF::Pure::SerializerCache
- Inherits:
-
Object
- Object
- RocketAMF::Pure::SerializerCache
- Defined in:
- lib/rocketamf/pure/serializer.rb
Overview
:nodoc:
Defined Under Namespace
Classes: ObjectCache, StringCache, TraitCache
Class Method Summary collapse
Class Method Details
.new(type) ⇒ Object
349 350 351 352 353 354 355 356 357 |
# File 'lib/rocketamf/pure/serializer.rb', line 349 def self.new type if type == :string StringCache.new elsif type == :object ObjectCache.new elsif type == :trait TraitCache.new end end |