Class: Idcf::Cli::Lib::Convert::Formatter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/idcf/cli/lib/convert/formatter/base.rb

Overview

formatter base

Direct Known Subclasses

CsvFormat, JsonFormat, XmlFormat

Instance Method Summary collapse

Instance Method Details

#format(_data) ⇒ Object

format

Parameters:

  • _data (Hash)

Returns:

  • String

Raises:



12
13
14
# File 'lib/idcf/cli/lib/convert/formatter/base.rb', line 12

def format(_data)
  raise Idcf::Cli::Error::CliError, 'override'
end