Method: Git::Lib#compare_version_to
- Defined in:
- lib/git/lib.rb
#compare_version_to(*other_version) ⇒ Integer
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns current_command_version <=> other_version
1659 1660 1661 |
# File 'lib/git/lib.rb', line 1659 def compare_version_to(*other_version) current_command_version <=> other_version end |