Module: VersionGem::Basic — Documentation by YARD 0.9.44

# Module: VersionGem::Basic

Defined in:
  lib/version_gem/basic.rb

## Overview

This is a very basic version parser. Others could be built based on this pattern!

## Class Method Summary collapse

- .extended(base) ⇒ Object

## Class Method Details

### .extended(base) ⇒ `Object`

Raises:

- (`Error`)

    10
    11
    12
    13
    14
    # File 'lib/version_gem/basic.rb', line 10

    def extended(base)
      raise Error, "VERSION must be defined before 'extend #{name}'" unless defined?(base::VERSION)

      base.extend(Api)
    end