class method
self.attach_before_load_options
Ruby on Rails 6.1.7.10
Since v5.2.8.1Signature
self.attach_before_load_options(opts)
No documentation comment.
Parameters
-
optsreq
Source
# File railties/lib/rails/test_unit/runner.rb, line 14
def attach_before_load_options(opts)
opts.on("--warnings", "-w", "Run with Ruby warnings enabled") { }
opts.on("-e", "--environment ENV", "Run tests in the ENV environment") { }
end
Defined in railties/lib/rails/test_unit/runner.rb line 14
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::TestUnit::Runner