class method self.options

Ruby on Rails 5.1.7

Since v5.0.7.2 Last seen in v5.1.7

Available in: v5.0.7.2 v5.1.7

Signature

self.options(opts)

No documentation comment.

Parameters

opts req
Source
# File railties/lib/rails/test_unit/runner.rb, line 14
        def 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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close