Class: Minitest::RunVia
- Inherits:
-
Object
- Object
- Minitest::RunVia
- Defined in:
- lib/rails/test_unit/minitest_plugin.rb
Instance Attribute Summary collapse
-
#runner ⇒ Object
(also: #set?)
Returns the value of attribute runner.
Instance Method Summary collapse
-
#[]=(runner) ⇒ Object
Backwardscompatibility with Rails 5.0 generated plugin test scripts.
- #rake? ⇒ Boolean
- #ruby? ⇒ Boolean
Instance Attribute Details
#runner ⇒ Object Also known as: set?
Returns the value of attribute runner.
120 121 122 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 120 def runner @runner end |
Instance Method Details
#[]=(runner) ⇒ Object
Backwardscompatibility with Rails 5.0 generated plugin test scripts.
124 125 126 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 124 def []=(runner, *) @runner = runner end |
#rake? ⇒ Boolean
132 133 134 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 132 def rake? runner == :rake end |
#ruby? ⇒ Boolean
128 129 130 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 128 def ruby? runner == :ruby end |