Module: HappyMapper
- Defined in:
- lib/happymapper.rb,
lib/happymapper/item.rb,
lib/happymapper/element.rb,
lib/happymapper/version.rb,
lib/happymapper/attribute.rb
Defined Under Namespace
Modules: ClassMethods Classes: Attribute, Element, Item
Constant Summary collapse
- DEFAULT_NS =
"happymapper"
- Version =
'0.2.5'
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
14 15 16 17 18 |
# File 'lib/happymapper.rb', line 14 def self.included(base) base.instance_variable_set("@attributes", {}) base.instance_variable_set("@elements", {}) base.extend ClassMethods end |