summaryrefslogtreecommitdiff
path: root/lib/net/ssh/multi/version.rb
blob: c2f085eae636acf8053ae3a860be58eb6d7e79ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'net/ssh/version'

module Net; module SSH; module Multi
  # A trivial class for representing the version of this library.
  class Version < Net::SSH::Version
    # The major component of the library's version
    MAJOR = 1

    # The minor component of the library's version
    MINOR = 3

    # The tiny component of the library's version
    TINY  = 0

    # The prerelease component of this version of the Net::SSH library 
    # nil allowed
    PRE   = "rc1"

    # The library's version as a Version instance
    CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)

    # The library's version as a String instance
    STRING = CURRENT.to_s
  end
end; end; end