class Bundler::RubyVersion
def matches?(requirements, version)
def matches?(requirements, version) Array(requirements).all? do |requirement| Gem::Requirement.create(requirement).satisfied_by?(Gem::Version.create(version)) end end
def matches?(requirements, version) Array(requirements).all? do |requirement| Gem::Requirement.create(requirement).satisfied_by?(Gem::Version.create(version)) end end