Module: RubyAMF::LegacySandbox::RubyAMF::ClassMappings

Defined in:
lib/rubyamf/configuration.rb

Overview

:nodoc:

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.assume_typesObject

Returns the value of attribute assume_types.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def assume_types
  @assume_types
end

.check_for_associationsObject

Returns the value of attribute check_for_associations.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def check_for_associations
  @check_for_associations
end

.default_mapping_scopeObject

Returns the value of attribute default_mapping_scope.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def default_mapping_scope
  @default_mapping_scope
end

.force_active_record_idsObject

Returns the value of attribute force_active_record_ids.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def force_active_record_ids
  @force_active_record_ids
end

.hash_key_accessObject

Returns the value of attribute hash_key_access.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def hash_key_access
  @hash_key_access
end

.ignore_fieldsObject

Returns the value of attribute ignore_fields.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def ignore_fields
  @ignore_fields
end

.mappingsObject

Returns the value of attribute mappings.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def mappings
  @mappings
end

.translate_caseObject

Returns the value of attribute translate_case.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def translate_case
  @translate_case
end

.use_array_collectionObject

Returns the value of attribute use_array_collection.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def use_array_collection
  @use_array_collection
end

.use_ruby_date_timeObject

Returns the value of attribute use_ruby_date_time.



237
238
239
# File 'lib/rubyamf/configuration.rb', line 237

def use_ruby_date_time
  @use_ruby_date_time
end

Class Method Details

.register(mapping) ⇒ Object



241
242
243
244
# File 'lib/rubyamf/configuration.rb', line 241

def register mapping
  @mappings ||= []
  @mappings << mapping
end

.resetObject



246
247
248
249
250
# File 'lib/rubyamf/configuration.rb', line 246

def reset
  methods.each do |m|
    send(m, nil) if m =~ /[\w_]+=/
  end
end