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
Class Method Details
.extended(base) ⇒ Object
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 |