Sha256: 3775dee0a220950f0bc744dfe915c63bf1879d237a89649cbed1ab3361eeeb68

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 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.0 lib/file-types/json-file.rb
distil-0.7.0 lib/file-types/json-file.rb