Sha256: 90a91fe54f2cd72571abd23be7e95b32a0a8fdad898cae999f911cac8df5bdc2
Contents?: true
Size: 227 Bytes
Versions: 74
Compression:
Stored size: 227 Bytes
Contents
module CMSScanner module Formatter # JSON Formatter class Json < Base include Buffer def beautify puts JSON.pretty_generate(JSON.parse("{#{buffer.chomp.chomp(',')}}")) end end end end
Version data entries
74 entries across 74 versions & 1 rubygems