Sha256: 6e9140beef9cb5b9033cca77f19bff197f73501e497eca931236efc6705ab0ce
Contents?: true
Size: 481 Bytes
Versions: 16
Compression:
Stored size: 481 Bytes
Contents
require 'active_model/type/string' module ActiveRecord module OracleEnhanced module Type class NationalCharacterString < ActiveRecord::OracleEnhanced::Type::String # :nodoc: def serialize(value) return unless value Data.new(super) end class Data # :nodoc: def initialize(value) @value = value end def to_s @value end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems