Class: Elm::CompileOutput
- Inherits:
-
Object
- Object
- Elm::CompileOutput
- Includes:
- Contracts::Builtin, Contracts::Core
- Defined in:
- lib/elm/files.rb
Overview
Compilation output including status
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#run_status ⇒ Object
readonly
Returns the value of attribute run_status.
Instance Method Summary collapse
-
#initialize(output, run_status) ⇒ CompileOutput
constructor
A new instance of CompileOutput.
- #stderr ⇒ Object
- #stdout ⇒ Object
Constructor Details
#initialize(output, run_status) ⇒ CompileOutput
Returns a new instance of CompileOutput.
19 20 21 22 23 24 |
# File 'lib/elm/files.rb', line 19 def initialize(output, run_status) @output = output @run_status = run_status self end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
16 17 18 |
# File 'lib/elm/files.rb', line 16 def output @output end |
#run_status ⇒ Object (readonly)
Returns the value of attribute run_status.
16 17 18 |
# File 'lib/elm/files.rb', line 16 def run_status @run_status end |
Instance Method Details
#stderr ⇒ Object
32 33 34 |
# File 'lib/elm/files.rb', line 32 def stderr @run_status.stderr end |
#stdout ⇒ Object
27 28 29 |
# File 'lib/elm/files.rb', line 27 def stdout @run_status.stdout end |