Module: AcDc::Mapping
- Included in:
- Body
- Defined in:
- lib/acdc/mapping.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/acdc/mapping.rb', line 4 def self.included(base) base.instance_variable_set("@attributes",{}) base.instance_variable_set("@elements",{}) base.extend ClassMethods AcDc.parseable_constants << base end |