class BundleOutdatedFormatter::JSONFormatter
Formatter
for JSON
Public Instance Methods
convert()
click to toggle source
# File lib/bundle_outdated_formatter/formatter/json_formatter.rb, line 7 def convert text = @pretty ? JSON.pretty_generate(@outdated_gems) : @outdated_gems.to_json text.chomp end