class AwsPublicIps::Formatters::Prettyjson
Public Class Methods
new(results, options)
click to toggle source
# File lib/aws_public_ips/formatters/prettyjson.rb, line 8 def initialize(results, options) @results = results @options = options end
Public Instance Methods
format()
click to toggle source
# File lib/aws_public_ips/formatters/prettyjson.rb, line 13 def format ::JSON.pretty_generate(@results) end