Sha256: bf362bfc3da3fc0df8b6e6c722901e51fdc38ca973720a8986b356aec8cbd0e8
Contents?: true
Size: 494 Bytes
Versions: 40
Compression:
Stored size: 494 Bytes
Contents
module EBNF module VERSION VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "VERSION") MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chomp.split(".") STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.') ## # @return [String] def self.to_s() STRING end ## # @return [String] def self.to_str() STRING end ## # @return [Array(Integer, Integer, Integer)] def self.to_a() [MAJOR, MINOR, TINY] end end end
Version data entries
40 entries across 40 versions & 1 rubygems