Module: RubyAMF::LegacySandbox::RubyAMF::ClassMappings
- Defined in:
- lib/rubyamf/configuration.rb
Overview
:nodoc:
Class Attribute Summary collapse
-
.assume_types ⇒ Object
Returns the value of attribute assume_types.
-
.check_for_associations ⇒ Object
Returns the value of attribute check_for_associations.
-
.default_mapping_scope ⇒ Object
Returns the value of attribute default_mapping_scope.
-
.force_active_record_ids ⇒ Object
Returns the value of attribute force_active_record_ids.
-
.hash_key_access ⇒ Object
Returns the value of attribute hash_key_access.
-
.ignore_fields ⇒ Object
Returns the value of attribute ignore_fields.
-
.mappings ⇒ Object
Returns the value of attribute mappings.
-
.translate_case ⇒ Object
Returns the value of attribute translate_case.
-
.use_array_collection ⇒ Object
Returns the value of attribute use_array_collection.
-
.use_ruby_date_time ⇒ Object
Returns the value of attribute use_ruby_date_time.
Class Method Summary collapse
Class Attribute Details
.assume_types ⇒ Object
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_associations ⇒ Object
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_scope ⇒ Object
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_ids ⇒ Object
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_access ⇒ Object
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_fields ⇒ Object
Returns the value of attribute ignore_fields.
237 238 239 |
# File 'lib/rubyamf/configuration.rb', line 237 def ignore_fields @ignore_fields end |
.mappings ⇒ Object
Returns the value of attribute mappings.
237 238 239 |
# File 'lib/rubyamf/configuration.rb', line 237 def mappings @mappings end |
.translate_case ⇒ Object
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_collection ⇒ Object
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_time ⇒ Object
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 |
.reset ⇒ Object
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 |