lib/allen/project.rb in allen-0.1.1 vs lib/allen/project.rb in allen-0.1.2

- old
+ new

@@ -1,6 +1,7 @@ require 'allen/settings' +require 'allen/preprocessors' module Allen class Project attr_accessor :name, :settings @@ -9,8 +10,16 @@ @settings = Allen.settings.clone @settings.configure do name name end @settings.configure(block) if block + end + + def css_preprocessor + Preprocessors.for(settings.css_preprocessor) + end + + def js_preprocessor + Preprocessors.for(settings.js_preprocessor) end end end