# File lib/rubygems/version.rb, line 23 def self.correct?(version) case version when Integer, /\A\s*(\d+(\.\d+)*)*\s*\z/ then true else false end end