ROM::Changeset::Stateful#map

Parsed documentation:
View on GitHub
Pipe changeset's data using custom steps define on the pipe

@overload map(*steps)
  Apply mapping using built-in transformations

  @example
    changeset.map(:add_timestamps)

  @param [Array<Symbol>] steps A list of mapping steps

@overload map(&block)
  Apply mapping using a custom block

  @example
    changeset.map { |tuple| tuple.merge(created_at: Time.now) }

@overload map(*steps, &block)
  Apply mapping using built-in transformations and a custom block

  @example
    changeset.map(:add_timestamps) { |tuple| tuple.merge(status: 'published') }

  @param [Array<Symbol>] steps A list of mapping steps

@return [Changeset]

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.