From 9082c4378ab5ec807ad2c1ec11964e168a202fb5 Mon Sep 17 00:00:00 2001 From: Andrew Kay <32057631+kaya3@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:40:07 +0000 Subject: [PATCH] Enable 'about_pattern_matching' for Ruby 3 This set of koans seems to work perfectly fine in Ruby 3, so AFAICT there's no need to gate them to 2.7. --- src/path_to_enlightenment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path_to_enlightenment.rb b/src/path_to_enlightenment.rb index 726579c4..3ecf37fa 100644 --- a/src/path_to_enlightenment.rb +++ b/src/path_to_enlightenment.rb @@ -38,7 +38,7 @@ in_ruby_version("jruby") do require 'about_java_interop' end -in_ruby_version("2.7") do +in_ruby_version("2.7", "3") do require 'about_pattern_matching' end require 'about_extra_credit'