Skip to content

Commit

Permalink
requireだとそのまま動かなかったので、loadに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
universato committed May 18, 2021
1 parent ca70426 commit 9c6eb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refm/api/src/coverage.rd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ end
#@samplecode
require "coverage"
Coverage.start
require "foo"
load "foo.rb"
p Coverage.result # => {"foo.rb"=>[1, 1, 10, nil, nil, 1, 1, nil, 0, nil]}
#@end

Expand Down

0 comments on commit 9c6eb19

Please sign in to comment.