Sha256: 33e884e18e21c9b41eb7b186bed59a17b0969ce21e8499ae31833164f8c3093d

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

require "neat/generator"

module Neat
  if defined?(Rails) && defined?(Rails::Engine)
    class Engine < ::Rails::Engine
      config.assets.paths << File.expand_path("../core", __dir__)
    end
  else
    begin
      require "sass"
      Sass.load_paths << File.expand_path("../core", __dir__)
    rescue LoadError
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neat-4.0.0 lib/neat.rb