Class: Ki::Tester::DummyIO

Inherits:
Array show all
Defined in:
lib/util/test.rb

Overview

Dummy IO class that implements stream methods

See Also:

Instance Method Summary collapse

Methods included from KiEnumerable

#any_matches?, #find_first, #size!, #to_h

Instance Method Details

#flushObject



321
322
323
# File 'lib/util/test.rb', line 321

def flush

end

#write(s) ⇒ Object



318
319
320
# File 'lib/util/test.rb', line 318

def write(s)
  self.<< s
end