Sha256: 03eb3978fb98ada28f74c8c9201597c117b951dce293f61c44b5233fb286f985
Contents?: true
Size: 262 Bytes
Versions: 2
Compression:
Stored size: 262 Bytes
Contents
class String # @param (String) req Gem version requirement # @return (Boolean) true if the given requirement is satisfied by the current # String def version_match?(req) Gem::Requirement.new(req) =~ Gem::Version.new(self) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dionysus-2.1.0 | lib/dionysus/string/version_match.rb |
dionysus-2.0.0 | lib/dionysus/string/version_match.rb |