Module: Travis::Builder::Stdout
- Defined in:
- lib/travis/builder/stdout.rb
Instance Attribute Summary collapse
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
Instance Attribute Details
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
6 7 8 |
# File 'lib/travis/builder/stdout.rb', line 6 def stdout @stdout end |
Instance Method Details
#work! ⇒ Object
8 9 10 11 12 13 |
# File 'lib/travis/builder/stdout.rb', line 8 def work! $_stdout = @stdout = EM.split_stdout do |c| c.callback { |data| on_log(data) } end super end |