Sha256: 2177bc6fe947cde50c31a82cfaac0afe1f61f52b9bf41ebdcc073807b0e4c193
Contents?: true
Size: 664 Bytes
Versions: 66
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module CipherStashPG module OID # :nodoc: class Macaddr < Type::String # :nodoc: def type :macaddr end def changed?(old_value, new_value, _new_value_before_type_cast) old_value.class != new_value.class || new_value && old_value.casecmp(new_value) != 0 end def changed_in_place?(raw_old_value, new_value) raw_old_value.class != new_value.class || new_value && raw_old_value.casecmp(new_value) != 0 end end end end end end
Version data entries
66 entries across 32 versions & 1 rubygems