Skip to content

Commit c325216

Browse files
authored
Wrap YJIT guard clause in parentheses
1 parent 6d3fd5b commit c325216

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/config/initializers

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/config/initializers/enable_yjit.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# If you are deploying to a memory constrained environment
55
# you may want to delete this file, but otherwise it's free
66
# performance.
7-
if defined? RubyVM::YJIT.enable
7+
if defined?(RubyVM::YJIT.enable)
88
Rails.application.config.after_initialize do
99
RubyVM::YJIT.enable
1010
end

0 commit comments

Comments
 (0)