require "modular/version" unless defined?(Sass) require 'sass' end module Modular if defined?(Rails) && defined?(Rails::Engine) class Engine < ::Rails::Engine require 'modular/engine' end else Sass.load_paths << File.expand_path("../../app/assets/stylesheets", __FILE__) end end