Code for the Advent of Code event
aoc advent-of-code
at rust 30 lines 581 B view raw
1# frozen_string_literal: true 2 3module AoC 4 # Contains version information. 5 module Version 6 # The major version of the gem. 7 # @return [Integer] 8 MAJOR = 1 9 10 # The minor version of the gem. 11 # @return [Integer] 12 MINOR = 0 13 14 # The patch version of the gem. 15 # @return [Integer] 16 PATCH = 0 17 18 # The full version string. 19 # @return [String] 20 FULL = "#{MAJOR}.#{MINOR}.#{PATCH}".freeze 21 22 # @return [String] A string representation of the version. 23 def self.to_s 24 FULL 25 end 26 end 27 28 # (see Version::FULL) 29 VERSION = Version::FULL 30end