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.
529 530 531 532 533 534 535 536 537 538 539 |
# File 'lib/openc3/script/suite.rb', line 529 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.
522 523 524 |
# File 'lib/openc3/script/suite.rb', line 522 def exceptions @exceptions end |
#group ⇒ Object
Returns the value of attribute group.
519 520 521 |
# File 'lib/openc3/script/suite.rb', line 519 def group @group end |
#message ⇒ Object
Returns the value of attribute message.
525 526 527 |
# File 'lib/openc3/script/suite.rb', line 525 def @message end |
#output ⇒ Object
Returns the value of attribute output.
521 522 523 |
# File 'lib/openc3/script/suite.rb', line 521 def output @output end |
#result ⇒ Object
Returns the value of attribute result.
524 525 526 |
# File 'lib/openc3/script/suite.rb', line 524 def result @result end |
#script ⇒ Object
Returns the value of attribute script.
520 521 522 |
# File 'lib/openc3/script/suite.rb', line 520 def script @script end |
#stopped ⇒ Object
Returns the value of attribute stopped.
523 524 525 |
# File 'lib/openc3/script/suite.rb', line 523 def stopped @stopped end |
#suite ⇒ Object
Returns the value of attribute suite.
518 519 520 |
# File 'lib/openc3/script/suite.rb', line 518 def suite @suite end |
Class Method Details
.suite=(suite) ⇒ Object
541 542 543 |
# File 'lib/openc3/script/suite.rb', line 541 def self.suite=(suite) @@suite = suite end |