Module: Parsed::Parseable
- Defined in:
- lib/parsed/parseable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 12 13 |
# File 'lib/parsed/parseable.rb', line 9 def self.included(base) base.instance_variable_set(:@parseable_fields, []) base.instance_variable_set(:@collection_class_cache, {}) base.extend ClassMethods end |