Skip to content

Commit e25b350

Browse files
committed
[DOC] Fix the broken format of RubyVM::YJIT.enable docs
1 parent 7245d3e commit e25b350

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

yjit.rb

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@ def self.reset_stats!
3636
# Enable \YJIT compilation. `stats` option decides whether to enable \YJIT stats or not. `compilation_log` decides
3737
# whether to enable \YJIT compilation logging or not.
3838
#
39-
# `stats`:
40-
# * `false`: Don't enable stats.
41-
# * `true`: Enable stats. Print stats at exit.
42-
# * `:quiet`: Enable stats. Do not print stats at exit.
43-
#
44-
# `log`:
45-
# * `false`: Don't enable the log.
46-
# * `true`: Enable the log. Print log at exit.
47-
# * `:quiet`: Enable the log. Do not print log at exit.
39+
# * `stats`:
40+
# * `false`: Don't enable stats.
41+
# * `true`: Enable stats. Print stats at exit.
42+
# * `:quiet`: Enable stats. Do not print stats at exit.
43+
# * `log`:
44+
# * `false`: Don't enable the log.
45+
# * `true`: Enable the log. Print log at exit.
46+
# * `:quiet`: Enable the log. Do not print log at exit.
4847
def self.enable(stats: false, log: false)
4948
return false if enabled?
5049
at_exit { print_and_dump_stats } if stats

0 commit comments

Comments
 (0)