Class: Elm::RunStatus
- Inherits:
-
Object
- Object
- Elm::RunStatus
- Includes:
- Contracts::Builtin, Contracts::Core
- Defined in:
- lib/elm/runnable.rb
Overview
Status if execution of Runnable
Direct Known Subclasses
Instance Attribute Summary collapse
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(stdout, with_error: '') ⇒ RunStatus
constructor
A new instance of RunStatus.
Constructor Details
#initialize(stdout, with_error: '') ⇒ RunStatus
Returns a new instance of RunStatus.
18 19 20 21 22 23 |
# File 'lib/elm/runnable.rb', line 18 def initialize(stdout, with_error: '') @stdout = stdout @stderr = with_error self end |
Instance Attribute Details
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
15 16 17 |
# File 'lib/elm/runnable.rb', line 15 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
15 16 17 |
# File 'lib/elm/runnable.rb', line 15 def stdout @stdout end |