module FamilySearch::Gedcomx::SuperCoercion
This is basically the Hashie::Extensions::Coercion module, but this needed to be able to support things like this:
coerce_key :persons, [Person]
This allows the objects inside of arrays to be parsed
Public Class Methods
included(base)
click to toggle source
# File lib/familysearch/gedcomx/super_coercion.rb, line 34 def self.included(base) base.send :extend, ClassMethods base.send :include, InstanceMethods end