Sha256: f2255bf7611483f3c5f96123dfee00b980040657ffc493e092208bda2bf102ad
Contents?: true
Size: 202 Bytes
Versions: 2
Compression:
Stored size: 202 Bytes
Contents
require "#{$script_dir}/file-types/javascript-file.rb" class JsonFile < JavascriptFile def self.extension ".json" end def minify_content(source) super("(#{source})")[1..-3] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
distil-0.8.2 | lib/file-types/json-file.rb |
distil-0.8.1 | lib/file-types/json-file.rb |