module Compass::Configuration::Inheritance
The inheritance module makes it easy for configuration data to inherit from other instances of configuration data. This makes it easier for external code to layer bits of configuration from various sources.
Public Class Methods
included(base)
click to toggle source
# File lib/compass/configuration/inheritance.rb, line 8 def self.included(base) # inherited_data stores configuration data that this configuration object will # inherit if not provided explicitly. base.send :attr_accessor, :inherited_data, :set_attributes, :top_level base.send(:include, InstanceMethods) base.extend(ClassMethods) end