Skip to content

Commit b96694f

Browse files
committed
✅ Compatibility with Ruby <= v2.3 (String#casecmp)
1 parent ae66f67 commit b96694f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/config/byebug.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if ENV.fetch("DEBUG", "false").casecmp?("true")
1+
if ENV.fetch("DEBUG", "false").casecmp("true") == 0
22
ruby_version = Gem::Version.create(RUBY_VERSION)
33
if ruby_version < Gem::Version.create("2.7")
44
# Use byebug in code

0 commit comments

Comments
 (0)