8000 ensure that all string literals can be frozen · rubychan/coderay@e94b1a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit e94b1a9

Browse files
committed
ensure that all string literals can be frozen
(thanks, @pat)
1 parent 457ffbf commit e94b1a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ rvm:
1616
branches:
1717
only:
1818
- master
19+
before_script:
20+
- if (ruby -e "exit RUBY_VERSION.to_f >= 2.4"); then export RUBYOPT="--enable-frozen-string-literal"; fi; echo $RUBYOPT
1921
matrix:
2022
allow_failures:
2123
- rvm: ruby-head

0 commit comments

Comments
 (0)
0