Method: YARD::CLI::Display#format_objects

Defined in:
lib/yard/cli/display.rb

#format_objectsString

Returns the output data for all formatted objects.

Returns:

  • (String)

    the output data for all formatted objects

Since:

  • 0.8.6



27
28
29
30
31
# File 'lib/yard/cli/display.rb', line 27

def format_objects
  @objects.inject([]) do |arr, obj|
    arr.push obj.format(options)
  end.join("\n")
end