Registry / utility / mapping

mapping

JSON →
library1.1.3rbrubygemsunverified

Map an input model to an output model using a mapping model.

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

require 'mapping'

Define a mapping from input fields to output fields.

require 'mapping' class UserMapper < Mapping::Model map :name, to: :full_name map :age, to: :age end input = { name: 'Alice', age: 30 } output = UserMapper.map(input) puts output.inspect
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources