Class: BooticCli::Formatters::Json

Inherits:
Object
  • Object
show all
Defined in:
lib/bootic_cli/formatters.rb

Instance Method Summary collapse

Instance Method Details

#format(data) ⇒ Object



40
41
42
# File 'lib/bootic_cli/formatters.rb', line 40

def format(data)
  JSON.dump data
end