Sha256: 64aac79cf616b6c3b3e72173b12c323f10b205d2077c2998606d2e0d074241e6

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

require 'sass'

class Sass::Engine
  alias initialize_without_zip_importer initialize
  
  def initialize(template, options={})
    if options[:load_paths]
      options[:load_paths].map! do |load_path|
        next load_path unless load_path.is_a?(::String) && load_path =~ /\.zip$/
        Sass::ZipImporter::Importer.new(load_path)
      end
    end

    initialize_without_zip_importer(template, options)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sass-zip-importer-1.0.0.beta.0 lib/sass/zip_importer/monkey_patches.rb