Class Versionomy::Format::Delimiter::MappingSymbolBuilder
In: lib/versionomy/format/delimiter.rb
Parent: Object

Methods in this class can be called from the block passed to Versionomy::Format::Delimiter::SymbolFieldBuilder#recognize_regexp_map to define the mapping between the values of a symbolic field and the string representations of those values.

Methods

map  

Included Modules

::Blockenspiel::DSL

Public Instance methods

Map a value to a string representation. The optional regexp field, if specified, provides a regular expression pattern for matching the value representation. If it is omitted, the representation is used as the regexp.

[Validate]