class Neighbor::NormalizedAttribute

def cast(...)

def cast(...)
  Neighbor::Utils.normalize(@cast_type.cast(...), column_info: @model.columns_hash[@attribute_name])
end

def cast_value(...)

def cast_value(...)
  @cast_type.send(:cast_value, ...)
end

def initialize(cast_type:, model:, attribute_name:)

def initialize(cast_type:, model:, attribute_name:)
  @cast_type = cast_type
  @model = model
  @attribute_name = attribute_name.to_s
end