Sha256: 6911632ebc45ad10c144e61bb71beea7f70141908350b5f5fa5573b06539e57a
Contents?: true
Size: 354 Bytes
Versions: 103
Compression:
Stored size: 354 Bytes
Contents
module <%= class_name %> module_function # Returns the version of the currently loaded <%= class_name %> as a # <tt>Gem::Version</tt>. def version Gem::Version.new VERSION::STRING end module VERSION MAJOR = 0 MINOR = 0 TINY = 1 PRE = 'alpha'.freeze STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.') end end
Version data entries
103 entries across 103 versions & 1 rubygems