Class: IO
- Defined in:
- lib/ttk/loaders/Loader.rb,
lib/ttk/strategies/Streams.rb,
lib/ttk/strategies/Streams/Diff.rb
Instance Method Summary collapse
- #compare_stream(stream) ⇒ Object
- #testify(opts = {}, &block) ⇒ Object
- #to_diff_for_ttk_log(my) ⇒ Object
- #to_s_for_ttk_log ⇒ Object
Instance Method Details
#compare_stream(stream) ⇒ Object
63 64 65 66 |
# File 'lib/ttk/strategies/Streams.rb', line 63 def compare_stream ( stream ) rewind read.compare_stream(stream) end |
#testify(opts = {}, &block) ⇒ Object
91 92 93 |
# File 'lib/ttk/loaders/Loader.rb', line 91 def testify ( opts={}, &block ) read.testify(opts, &block) end |
#to_diff_for_ttk_log(my) ⇒ Object
55 56 57 58 |
# File 'lib/ttk/strategies/Streams/Diff.rb', line 55 def to_diff_for_ttk_log ( my ) rewind readlines.join.to_diff_for_ttk_log(my) end |
#to_s_for_ttk_log ⇒ Object
67 68 69 70 |
# File 'lib/ttk/strategies/Streams.rb', line 67 def to_s_for_ttk_log rewind read end |