Class: KnapsackPro::Batch
- Inherits:
-
Object
- Object
- KnapsackPro::Batch
- Defined in:
- lib/knapsack_pro/batch.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#test_file_paths ⇒ Object
readonly
Returns the value of attribute test_file_paths.
Instance Method Summary collapse
- #_failed ⇒ Object
- #_passed ⇒ Object
-
#initialize(test_file_paths) ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize(test_file_paths) ⇒ Batch
Returns a new instance of Batch.
7 8 9 10 |
# File 'lib/knapsack_pro/batch.rb', line 7 def initialize(test_file_paths) @test_file_paths = test_file_paths @status = :not_executed end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/knapsack_pro/batch.rb', line 5 def status @status end |
#test_file_paths ⇒ Object (readonly)
Returns the value of attribute test_file_paths.
5 6 7 |
# File 'lib/knapsack_pro/batch.rb', line 5 def test_file_paths @test_file_paths end |
Instance Method Details
#_failed ⇒ Object
16 17 18 |
# File 'lib/knapsack_pro/batch.rb', line 16 def _failed @status = :failed end |
#_passed ⇒ Object
12 13 14 |
# File 'lib/knapsack_pro/batch.rb', line 12 def _passed @status = :passed end |