[Core] The compass configuration class is no longer a singleton. This allows other projects to manage multiple compass projects by creating multiple configurations within the same ruby process.

This commit is contained in:
Chris Eppstein 2009-08-12 17:46:48 -07:00
parent 1a9156c010
commit f27e184c7f

View File

@ -2,7 +2,6 @@ require 'singleton'
module Compass
class Configuration
include Singleton
ATTRIBUTES = [
:project_type,
@ -295,10 +294,11 @@ module Compass
module ConfigHelpers
def configuration
@configuration ||= Configuration.new
if block_given?
yield Configuration.instance
yield @configuration
end
Configuration.instance
@configuration
end
def sass_plugin_configuration