Sha256: 8fbcbc3053577e5318a869e1651c99198f78696593f9b820448c800fbdbe86bb
Contents?: true
Size: 340 Bytes
Versions: 3
Compression:
Stored size: 340 Bytes
Contents
module ActiveData module Model module Extensions module String extend ActiveSupport::Concern module ClassMethods def active_data_type_cast value value.to_s if value.present? end end end end end end String.send :include, ActiveData::Model::Extensions::String
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
active_data-0.3.0 | lib/active_data/model/extensions/string.rb |
active_data-0.2.0 | lib/active_data/model/extensions/string.rb |
active_data-0.1.0 | lib/active_data/model/extensions/string.rb |