class Array

Add ArrayCollection override to arrays

Public Instance Methods

is_array_collection=(value) click to toggle source

Override RocketAMF::CLASS_MAPPER.use_array_collection setting for this array. Adds is_array_collection? method, which is used by the serializer over the global config if defined.

   # File lib/rocketamf/extensions.rb
15 def is_array_collection=(value)
16   @is_array_collection = value
17 
18   def self.is_array_collection? #:nodoc:
19     @is_array_collection
20   end
21 end