Class: OpenC3::ScriptResult
Overview
Helper class to collect script result information
Direct Known Subclasses
Constant Summary collapse
- @@suite =
nil
Instance Attribute Summary collapse
-
#exceptions ⇒ Object
Returns the value of attribute exceptions.
-
#group ⇒ Object
Returns the value of attribute group.
-
#message ⇒ Object
Returns the value of attribute message.
-
#output ⇒ Object
Returns the value of attribute output.
-
#result ⇒ Object
Returns the value of attribute result.
-
#script ⇒ Object
Returns the value of attribute script.
-
#stopped ⇒ Object
Returns the value of attribute stopped.
-
#suite ⇒ Object
Returns the value of attribute suite.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ScriptResult
constructor
A new instance of ScriptResult.
Constructor Details
#initialize ⇒ ScriptResult
Returns a new instance of ScriptResult.
538 539 540 541 542 543 544 545 546 547 548 |
# File 'lib/openc3/script/suite.rb', line 538 def initialize @suite = nil @suite = @@suite.clone if @@suite @group = nil @script = nil @output = nil @exceptions = nil @stopped = false @result = :SKIP @message = nil end |
Instance Attribute Details
#exceptions ⇒ Object
Returns the value of attribute exceptions.
531 532 533 |
# File 'lib/openc3/script/suite.rb', line 531 def exceptions @exceptions end |
#group ⇒ Object
Returns the value of attribute group.
528 529 530 |
# File 'lib/openc3/script/suite.rb', line 528 def group @group end |
#message ⇒ Object
Returns the value of attribute message.
534 535 536 |
# File 'lib/openc3/script/suite.rb', line 534 def @message end |
#output ⇒ Object
Returns the value of attribute output.
530 531 532 |
# File 'lib/openc3/script/suite.rb', line 530 def output @output end |
#result ⇒ Object
Returns the value of attribute result.
533 534 535 |
# File 'lib/openc3/script/suite.rb', line 533 def result @result end |
#script ⇒ Object
Returns the value of attribute script.
529 530 531 |
# File 'lib/openc3/script/suite.rb', line 529 def script @script end |
#stopped ⇒ Object
Returns the value of attribute stopped.
532 533 534 |
# File 'lib/openc3/script/suite.rb', line 532 def stopped @stopped end |
#suite ⇒ Object
Returns the value of attribute suite.
527 528 529 |
# File 'lib/openc3/script/suite.rb', line 527 def suite @suite end |
Class Method Details
.suite=(suite) ⇒ Object
550 551 552 |
# File 'lib/openc3/script/suite.rb', line 550 def self.suite=(suite) @@suite = suite end |