lib/haml_lint/configuration_loader.rb
# Loads a configuration, ensuring it extends the default configuration.
Loads a configuration, ensuring it extends the default configuration.
Loads a configuration ensuring it extends the default configuration .
def load_file(file)
        config = load_from_file(file)
        default_configuration.merge(config)
      rescue => error
        raise HamlLint::Exceptions::ConfigurationError,
              "Unable to load configuration from '#{file}': #{error}",
              error.backtrace
      end
def load_file ( file ) config = load_from_file ( file ) default_configuration . merge ( config ) rescue => error raise HamlLint :: Exceptions :: ConfigurationError , "Unable to load configuration from '#{file}': #{error}" , error . backtrace end
Loads a configuration, ensuring it extends the default configuration.
Loads a configuration ensuring it extends the default configuration .
file