method

map

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AttributeSet
map(&block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/attribute_set.rb, line 97
    def map(&block)
      new_attributes = attributes.transform_values(&block)
      AttributeSet.new(new_attributes)
    end
Register or log in to add new notes.