This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
forked from jamis/net-ssh-shell
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|