Class: Brainstem::ApiDocs::Sinks::StdoutSink

Inherits:
AbstractSink show all
Defined in:
lib/brainstem/api_docs/sinks/stdout_sink.rb

Instance Method Summary collapse

Methods included from Concerns::Optional

#initialize

Instance Method Details

#<<(output) ⇒ Object

Writes the output using stdout.puts.



11
12
13
# File 'lib/brainstem/api_docs/sinks/stdout_sink.rb', line 11

def <<(output)
  puts_method.call(output)
end