Sha256: 9622fa1e34d5c55ff866e6ace0a83cf551ff26e41c2623c68c6bce5d74d08353

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

module Boom
  module Output
    # 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.
    def output(s)
      puts(s)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaboom-0.3.3 lib/kaboom/output.rb
kaboom-0.3.2 lib/kaboom/output.rb
kaboom-0.3.1 lib/kaboom/output.rb