Class: ScriptCore::Result
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#measurements ⇒ Object
Returns the value of attribute measurements.
-
#output ⇒ Object
Returns the value of attribute output.
-
#stat ⇒ Object
Returns the value of attribute stat.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
Methods inherited from Struct
#_inspect, #dig, #each, #each_pair, #inspect, #select
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
4 5 6 |
# File 'lib/script_core/result.rb', line 4 def errors @errors end |
#measurements ⇒ Object
Returns the value of attribute measurements
4 5 6 |
# File 'lib/script_core/result.rb', line 4 def measurements @measurements end |
#output ⇒ Object
Returns the value of attribute output
4 5 6 |
# File 'lib/script_core/result.rb', line 4 def output @output end |
#stat ⇒ Object
Returns the value of attribute stat
4 5 6 |
# File 'lib/script_core/result.rb', line 4 def stat @stat end |
#stdout ⇒ Object
Returns the value of attribute stdout
4 5 6 |
# File 'lib/script_core/result.rb', line 4 def stdout @stdout end |
Instance Method Details
#success? ⇒ Boolean
5 6 7 |
# File 'lib/script_core/result.rb', line 5 def success? errors.empty? end |