Module: Compass::ConfigHelpers

Included in:
Compass
Defined in:
lib/compass/configuration.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject



145
146
147
148
149
150
# File 'lib/compass/configuration.rb', line 145

def configuration
  if block_given?
    yield Configuration.instance
  end
  Configuration.instance
end

#configure_sass_plugin!Object



156
157
158
# File 'lib/compass/configuration.rb', line 156

def configure_sass_plugin!
  Sass::Plugin.options.merge!(sass_plugin_configuration)
end

#sass_engine_optionsObject



160
161
162
# File 'lib/compass/configuration.rb', line 160

def sass_engine_options
  configuration.to_sass_engine_options
end

#sass_plugin_configurationObject



152
153
154
# File 'lib/compass/configuration.rb', line 152

def sass_plugin_configuration
  configuration.to_sass_plugin_options
end