lib/ruby/2.0.0/gems/compass-1.0.1/lib/compass/compiler.rb
# Determines if the configuration file is newer than any css file
Determines if the configuration file is newer than any css file
Determines if the configuration file is newer than any css file
def new_config?
      config_file = Compass.detect_configuration_file
      return false unless config_file
      config_mtime = File.mtime(config_file)
      css_files.each do |css_filename|
        return config_file if File.exists?(css_filename) && config_mtime > File.mtime(css_filename)
      end
      nil
    end
def new_config? config_file = Compass . detect_configuration_file return false unless config_file config_mtime = File . mtime ( config_file ) css_files . each do | css_filename | return config_file if File . exists? ( css_filename ) && config_mtime > File . mtime ( css_filename ) end nil end
Determines if the configuration file is newer than any css file
Determines if the configuration file is newer than any css file