Sha256: b9b97f878a5a237f8fa87a120762ac2f0f3c4b96bde0050c83b703ec98799cd6
Contents?: true
Size: 416 Bytes
Versions: 2
Compression:
Stored size: 416 Bytes
Contents
module ActiveData module Model module Extensions module Hash extend ActiveSupport::Concern module ClassMethods def active_data_type_cast value case value when ::Hash then value else nil end end end end end end end Hash.send :include, ActiveData::Model::Extensions::Hash
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_data-0.3.0 | lib/active_data/model/extensions/hash.rb |
active_data-0.2.0 | lib/active_data/model/extensions/hash.rb |