Sha256: 1a669e1df4f6899d18155f59c85816863a74ed21dda9496684f8854537df87da

Contents?: true

Size: 179 Bytes

Versions: 20

Compression:

Stored size: 179 Bytes

Contents

module Distil

  class HtmlFile < SourceFile

    extension "html"
    content_type "html"

    def minified_content(source)
      source.gsub(/>\s+</, "><")
    end
  
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
distil-0.13.6 lib/distil/source-file/html-file.rb
distil-0.13.5 lib/distil/source-file/html-file.rb
distil-0.13.4 lib/distil/source-file/html-file.rb
distil-0.13.3 lib/distil/source-file/html-file.rb
distil-0.13.2 lib/distil/source-file/html-file.rb
distil-0.13.1 lib/distil/source-file/html-file.rb
distil-0.13.0 lib/distil/source-file/html-file.rb
distil-0.12.6 lib/distil/source-file/html-file.rb
distil-0.12.4 lib/distil/source-file/html-file.rb
distil-0.12.3 lib/distil/source-file/html-file.rb
distil-0.12.2 lib/distil/source-file/html-file.rb
distil-0.12.1 lib/distil/source-file/html-file.rb
distil-0.12.0 lib/distil/source-file/html-file.rb
distil-0.11.8 lib/distil/source-file/html-file.rb
distil-0.11.6 lib/distil/source-file/html-file.rb
distil-0.11.5 lib/distil/source-file/html-file.rb
distil-0.11.4 lib/distil/source-file/html-file.rb
distil-0.11.3 lib/distil/source-file/html-file.rb
distil-0.11.1 lib/distil/source-file/html-file.rb
distil-0.11.0 lib/distil/source-file/html-file.rb