lib/ruby-next/config.rb
# TruffleRuby claims it's 2.7.2 compatible but...
TruffleRuby claims it's 2.7.2 compatible but
TruffleRuby claims it ' s 2 . 7 . 2 compatible but
def next_ruby_version(version = current_ruby_version)
      return if version == Gem::Version.new(NEXT_VERSION)
      major, minor = Gem::Version.new(version).segments.map(&:to_i)
      return Gem::Version.new(NEXT_VERSION) if major >= LATEST_VERSION.first && minor >= LATEST_VERSION.last
      nxt =
        if LAST_MINOR_VERSIONS[major] == minor
          "#{major + 1}.0.0"
        else
          "#{major}.#{minor + 1}.0"
        end
      Gem::Version.new(nxt)
    end
def next_ruby_version ( version = current_ruby_version ) return if version == Gem :: Version . new ( NEXT_VERSION ) major , minor = Gem :: Version . new ( version ) . segments . map ( & :to_i ) return Gem :: Version . new ( NEXT_VERSION ) if major >= LATEST_VERSION . first && minor >= LATEST_VERSION . last nxt = if LAST_MINOR_VERSIONS [ major ] == minor "#{major + 1}.0.0" else "#{major}.#{minor + 1}.0" end Gem :: Version . new ( nxt ) end
TruffleRuby claims it's 2.7.2 compatible but...
TruffleRuby claims it ' s 2 . 7 . 2 compatible but ...
version
<not_specific>
current_ruby_version
<not_specific>