Sha256: 750a155f3d65ce9f1c7025cdc5a5120d0b67399fab43e4e52a1779189370dd98
Contents?: true
Size: 232 Bytes
Versions: 5
Compression:
Stored size: 232 Bytes
Contents
# -*- ruby -*- # frozen_string_literal: true module YSQL module TextEncoder class Date < SimpleEncoder def encode(value) value.respond_to?(:strftime) ? value.strftime("%Y-%m-%d") : value end end end end # module PG
Version data entries
5 entries across 5 versions & 1 rubygems