Module: DruidClient::CLi::OutputFormat

Included in:
JsonFormat, TableFormat
Defined in:
lib/druid_client/cli/output_format.rb

Instance Method Summary collapse

Instance Method Details

#format(data) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/druid_client/cli/output_format.rb', line 6

def format(data)
  raise NotImplementedError, "Subclasses must implement #format method"
end