--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: major
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: minor
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: tiny
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: "A class for describing the current version of a library. The version consists of three parts: the <tt>major</tt> number, the <tt>minor</tt> number, and the <tt>tiny</tt> (or <tt>patch</tt>) number."
- !ruby/struct:SM::Flow::P 
  body: "Two Version instances may be compared, so that you can test that a version of a library is what you require:"
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'net/scp/version'\n\n  if Net::SCP::Version::CURRENT &lt; Net::SCP::Version[2,1,0]\n    abort &quot;your software is too old!&quot;\n  end\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The major component of this version of the Net::SSH library
  name: MAJOR
  value: "4"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The minor component of this version of the Net::SSH library
  name: MINOR
  value: "1"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The tiny component of this version of the Net::SSH library
  name: TINY
  value: "0"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The prerelease component of this version of the Net::SSH library nil allowed
  name: PRE
  value: nil
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The current version of the Net::SSH library as a Version instance
  name: CURRENT
  value: new(*[MAJOR, MINOR, TINY, PRE].compact)
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The current version of the Net::SSH library as a String
  name: STRING
  value: CURRENT.to_s
full_name: Net::SCP::Version
includes: 
- !ruby/object:RI::IncludedModule 
  name: Comparable
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: <=>
- !ruby/object:RI::MethodSummary 
  name: to_i
- !ruby/object:RI::MethodSummary 
  name: to_s
name: Version
superclass: Object
