Class: ObjectOculus::DummyOut

Inherits:
Object
  • Object
show all
Defined in:
lib/object_oculus/dummy_out.rb

Overview

A class to suppress anything that would normally output to $stdout

Instance Method Summary collapse

Instance Method Details

#write(*args) ⇒ Object Also known as: print, puts

Does nothing (instead of writing to an IO stream)



5
6
# File 'lib/object_oculus/dummy_out.rb', line 5

def write(*args)
end