Class: RocketAMF::Pure::SerializerCache

Inherits:
Object
  • Object
show all
Defined in:
lib/rocketamf/pure/serializer.rb

Overview

:nodoc:

Defined Under Namespace

Classes: ObjectCache, StringCache

Class Method Summary collapse

Class Method Details

.new(type) ⇒ Object



437
438
439
440
441
442
443
# File 'lib/rocketamf/pure/serializer.rb', line 437

def self.new type
  if type == :string
    StringCache.new
  elsif type == :object
    ObjectCache.new
  end
end