Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
track library version
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis committed Feb 2, 2009
1 parent 5a64650 commit a4a945c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lib/net/ssh/shell/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
require 'net/ssh/version'

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

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

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

# The library's version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)

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

0 comments on commit a4a945c

Please sign in to comment.