Sha256: 8f4468be3c496059c06c10f508c5de1ccaaf80b571bb59c7852b8d2abb35d361
Contents?: true
Size: 400 Bytes
Versions: 3
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true require_relative "error" require_relative "api" module VersionGem # This is a very *basic* version parser. Others could be built based on this pattern! module Basic class << self def extended(base) raise Error, "VERSION must be defined before 'extend #{name}'" unless defined?(base::VERSION) base.extend(Api) end end end end
Version data entries
3 entries across 3 versions & 2 rubygems