Method: Capucine::Settings#check_valid
- Defined in:
- lib/settings.rb
#check_valid ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/settings.rb', line 69 def check_valid # puts self.conf['use_compass'] # expand_coffee_out = File.join self.working_dir, self.conf['coffeescript_output_dir'] # expand_coffee_in = File.join self.working_dir, self.conf['coffeescript_files_dir'] # expand_sass_out = File.join self.working_dir, self.conf['compass'] # expand_sass_in = File.join self.working_dir, self.conf['compass'] # if expand_coffee_out == self.working_dir or expand_coffee_in == self.working_dir or expand_coffee_in == expand_coffee_out # puts 'Illegal path for CoffeeScript' # Process.exit # end # if expand_sass_out == self.working_dir or expand_sass_in == self.working_dir or expand_sass_in == expand_sass_out # puts 'Illegal path for Sass' # Process.exit # end end |