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

This class defines methods that can be called from the block passed to Versionomy::Format::Delimiter::Builder#field if the field is of string type.

Methods

Included Modules

::Blockenspiel::DSL

Public Instance methods

Recognize a string field whose value matches a regular expression. The regular expression must be passed as a string. E.g. use "[a-z]+" instead of /[a-z]+/. Using the opts parameter, you can override any of the field‘s overall parsing options.

[Validate]