Class: TTK::Streams::Diff

Inherits:
Stream show all
Defined in:
lib/ttk/strategies/Streams/Diff.rb

Instance Attribute Summary

Attributes inherited from Stream

#my, #name, #ref

Instance Method Summary collapse

Methods inherited from Stream

#clean, #compare_streams, #initialize, #status

Constructor Details

This class inherits a constructor from TTK::Streams::Stream

Instance Method Details

#to_ttk_log(log) ⇒ Object



13
14
15
# File 'lib/ttk/strategies/Streams/Diff.rb', line 13

def to_ttk_log ( log )
  log["diff_#@name"] = @ref.to_diff_for_ttk_log(@my) if @ref.can_diff?
end