Class: RubyAMF::MappingSet::Mapping

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyamf/class_mapping.rb

Overview

Store all property mapping configuration by scope

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMapping

Returns a new instance of Mapping.



8
9
10
11
# File 'lib/rubyamf/class_mapping.rb', line 8

def initialize
  @default_scope = :default
  @scopes = {}
end

Instance Attribute Details

#asObject

Returns the value of attribute as.



7
8
9
# File 'lib/rubyamf/class_mapping.rb', line 7

def as
  @as
end

#default_scopeObject

Returns the value of attribute default_scope.



7
8
9
# File 'lib/rubyamf/class_mapping.rb', line 7

def default_scope
  @default_scope
end

#rubyObject

Returns the value of attribute ruby.



7
8
9
# File 'lib/rubyamf/class_mapping.rb', line 7

def ruby
  @ruby
end

#scopesObject

Returns the value of attribute scopes.



7
8
9
# File 'lib/rubyamf/class_mapping.rb', line 7

def scopes
  @scopes
end