lib/global_types/parsed_semantic_version.rb
def decode_semantic_version(value)
      major, minor, patch, pre, build = DECODER.decode value

      version_string = version_string_from major: major, minor: minor, patch: patch, pre: pre, build: build

      Semantic::Version.new version_string
    end
# Parse a SQL representation of a parsed semantic version back into its component type.
#
# @param [String] value
# @return [Semantic::Version]
Parse a SQL representation of a parsed semantic version back into its component type.
Parse a SQL representation of a parsed semantic version back into its component type .
def decode_semantic_version(value)
      major, minor, patch, pre, build = DECODER.decode value
      version_string = version_string_from major: major, minor: minor, patch: patch, pre: pre, build: build
      Semantic::Version.new version_string
    end
def decode_semantic_version ( value ) major , minor , patch , pre , build = DECODER . decode value version_string = version_string_from major : major , minor : minor , patch : patch , pre : pre , build : build Semantic :: Version . new version_string end
Parse a SQL representation of a parsed semantic version back into its component type.
Parse a SQL representation of a parsed semantic version back into its component type .
None
Semantic::Version
value
None