Sha256: eaade260402ecf11eb7db49a50ceefc1f39c2b59de15eefc43a377ffac6d1b9a

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

module Aggro
  module Transform
    # Private: Transforms string representations.
    module String
      module_function

      def deserialize(value)
        value.to_s unless value.nil?
      end

      def serialize(value)
        value.to_s unless value.nil?
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aggro-0.0.4 lib/aggro/transform/string.rb