lib/conf.rb in smashing_docs-0.1.0 vs lib/conf.rb in smashing_docs-1.0.0
- old
+ new
@@ -1,12 +1,14 @@
class SmashingDocs::Conf
class << self
- attr_accessor :template_file, :output_file
+ attr_accessor :template_file, :output_file, :run_all
- @output_file = 'documentation.md'
-
def template
raise 'You must set a template file.' unless template_file
- @template ||= File.read(template_file)
+ File.read(template_file)
+ end
+
+ def run_all_tests
+ run_all
end
end
end