class ActiveModel::AttributeSet
def map(&block)
def map(&block) new_attributes = attributes.transform_values(&block) AttributeSet.new(new_attributes) end
def map(&block) new_attributes = attributes.transform_values(&block) AttributeSet.new(new_attributes) end