Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Commit

Permalink
Add missing Scaladocs
Browse files Browse the repository at this point in the history
  • Loading branch information
NthPortal committed Feb 2, 2017
1 parent b1546c6 commit 2f7f156
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/main/scala/com/nthportal/versions/semver/BuildMetadata.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ package com.nthportal.versions.semver
import com.nthportal.versions.semver._build_metadata._

/**
* Metadata for a build may be appended to a
* [[http://semver.org/spec/v2.0.0.html#spec-item-10 SemVer version]].
* Utility object for build metadata parsers. (Metadata for a build may be
* appended to a [[http://semver.org/spec/v2.0.0.html#spec-item-10 SemVer version]].)
*/
object BuildMetadata {

/**
* Returns a [[Parser]] for string build metadata.
*
* The parser uses the [[identity]] function.
*
* @return a parser for string build metadata
*/
implicit def stringMetadataParser: Parser[String] = _parser(identity)

/**
Expand Down

0 comments on commit 2f7f156

Please sign in to comment.