Sha256: 12501aa582be3844f9cc1f72b59bf24136a5602dce8541420690a8fc46ff88a6
Contents?: true
Size: 256 Bytes
Versions: 881
Compression:
Stored size: 256 Bytes
Contents
# frozen_string_literal: true require "rubygems/version" # Opt in to Rubygems 4 behaviour module Gem class Version def self.correct?(version) return false if version.nil? version.to_s.match?(ANCHORED_VERSION_PATTERN) end end end
Version data entries
881 entries across 881 versions & 2 rubygems