Method: YARD::Logger#puts

Defined in:
lib/yard/logging.rb

#puts(msg = '') ⇒ void

This method returns an undefined value.

Displays an unformatted line to the logger output stream, adding a newline.

Parameters:

  • msg (String) (defaults to: '')

    the message to display

Since:

  • 0.8.2



132
133
134
# File 'lib/yard/logging.rb', line 132

def puts(msg = '')
  print("#{msg}\n")
end