summaryrefslogtreecommitdiff
path: root/vendor/gems/attr_encrypted/lib/attr_encrypted/version.rb
blob: d97f1532249ff0617c6349a0bb73fd115b1a9f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module AttrEncrypted
  # Contains information about this gem's version
  module Version
    MAJOR = 3
    MINOR = 2
    PATCH = 4

    # Returns a version string by joining <tt>MAJOR</tt>, <tt>MINOR</tt>, and <tt>PATCH</tt> with <tt>'.'</tt>
    #
    # Example
    #
    #   Version.string # '1.0.2'
    def self.string
      [MAJOR, MINOR, PATCH].join('.')
    end
  end
end