Method: Coveralls::Output#print

Defined in:
lib/coveralls/output.rb

Public: Passes .format to Kernel#print

string - the text to be formatted options - The hash of options used for formatting the text:

:color - The color to be passed as a method to
         Term::ANSIColor

Example

Coveralls::Output.print("Hello World!", :color => "underline")

Returns nil.



105
106
107
108
# File 'lib/coveralls/output.rb', line 105

def print(string, options = {})
  return if silent?
  (options[:output] || output).print self.format(string, options)
end