Skip to content
Snippets Groups Projects
Commit 35793f0e authored by Jack Nagel's avatar Jack Nagel
Browse files

Let Version.parse instantiate subclasses

parent dd8950d0
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ class Version
def self.parse spec
version = _parse(spec)
Version.new(version, true) unless version.nil?
new(version, true) unless version.nil?
end
def self._parse spec
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment