Class: Dicey::CLI::Formatters::NullFormatter Private

Inherits:
Object
  • Object
show all
Defined in:
lib/dicey/cli/formatters/null_formatter.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Formatter that doesn’t format anything and always returns an empty string.

Instance Method Summary collapse

Instance Method Details

#call(hash, description = nil) ⇒ String

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns always an empty string.

Parameters:

  • hash (Hash{Object => Object})
  • description (String) (defaults to: nil)

    text to add as a comment.

Returns:

  • (String)

    always an empty string



11
12
13
# File 'lib/dicey/cli/formatters/null_formatter.rb', line 11

def call(hash, description = nil) # rubocop:disable Lint/UnusedMethodArgument
  ""
end