class AwsInventory::Presenter::Json
Public Instance Methods
display()
click to toggle source
# File lib/aws_inventory/presenters/json.rb, line 4 def display json_data = { header: data.shift, data: data } puts JSON.pretty_generate(json_data) end