You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: core_ext.rb
    path of file: ./repos/ruby-next/lib/ruby-next/commands
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "fileutils"
require "pathname"

module RubyNext
  module Commands
    class CoreExt < Base
      using RubyNext

      attr_reader :out_path, :min_version, :name
    
      def print_list(patches)
        grouped_patches = patches.group_by(&:version).sort_by(&:first)
        grouped_patches.each do |(group, patches)|
          $stdout.puts "#{group} extensions:\n"
          $stdout.puts patches.sort_by(&:name).map { |patch| "  - #{patch.name}" }.join("\n")
          $stdout.puts "\n"
        end
      end