Sha256: 555c2f043231de231626b5180669617b607410e4d038095c1e8c8e7a933f0228
Contents?: true
Size: 341 Bytes
Versions: 1
Compression:
Stored size: 341 Bytes
Contents
# frozen_string_literal: true module ActiveFields module Casters # Typecasts the active_value value class BaseCaster # To raw DB value def serialize(value) raise NotImplementedError end # From raw DB value def deserialize(value) raise NotImplementedError end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_fields-0.2.0 | lib/active_fields/casters/base_caster.rb |