Module: Boom::Output
- Included in:
- Command, Remote, Storage::Json, Storage::Redis
- Defined in:
- lib/kaboom/output.rb
Instance Method Summary collapse
-
#output(s) ⇒ Object
Public: prints any given string.
Instance Method Details
#output(s) ⇒ Object
Public: prints any given string.
s = String output
Prints to STDOUT and returns. This method exists to standardize output and for easy mocking or overriding.
9 10 11 |
# File 'lib/kaboom/output.rb', line 9 def output(s) puts(s) end |