This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
6f2b0eb44a
rails--rails
/
activesupport
/
test
/
autoloading_fixtures
/
throws.rb
5 lines
81 B
Ruby
Raw
Normal View
History
Unescape
Escape
adds coverage for throwing while autoloading References #24205.
2016-03-15 18:44:40 -04:00
Throws
=
1
Prevent void context warnings The constant reference A::B used to trigger autoloading causes a warning to be logged about the possible use of :: in a void context so assign it to the _ variable to prevent the warnings from being triggered.
2016-04-03 18:35:15 -04:00
_
=
A
::
B
# Autoloading recursion, expected to be discarded.
adds coverage for throwing while autoloading References #24205.
2016-03-15 18:44:40 -04:00
throw
:t
Copy permalink