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.
109 110 111 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 109 def runner @runner end |
Instance Method Details
#[]=(runner) ⇒ Object
Backwardscompatibility with Rails 5.0 generated plugin test scripts.
113 114 115 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 113 def []=(runner, *) @runner = runner end |
#rake? ⇒ Boolean
121 122 123 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 121 def rake? runner == :rake end |
#ruby? ⇒ Boolean
117 118 119 |
# File 'lib/rails/test_unit/minitest_plugin.rb', line 117 def ruby? runner == :ruby end |