class Array

Add ArrayCollection override to arrays

Public Instance Methods

is_array_collection=(a) click to toggle source

Override RubySol::ClassMapper.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/ruby_sol/extensions.rb
15 def is_array_collection= a
16   @is_array_collection = a
17 
18   def self.is_array_collection? #:nodoc:
19     @is_array_collection
20   end
21 end