DSL Knowledge Base
This knowledge base aims to document tips, patterns, advanced use, and workarounds for the KriKri Metadata Mapping DSL. We use this both as a documentation center and to drive improvements to the DSL. Please add your questions, patterns, and insights liberally.
Articles
DSL Code Read
The Top Down View
Mapper & Mapping
Mapper
supplies the most front-facing interface to the DSL: #define
and #map
. It keeps a registry of defined mappings, connecting them to a name
symbol; #map
runs the mapping over a set of records.
Other Resources
Mapping DSL Overview
RubyDoc Documentation
- MappingDSL TODO add high level examples to MappingDSL module.
- ValueArray Methods
- Parser Methods (top level record access)