Sha256: 559ee2b5a69ec02767bd786e17407c3f1afa6a2ac5fb593acfa75bdf1920a750

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

class SmashingDocs::Conf
  class << self
    attr_accessor :template_file, :output_file, :auto_push, :run_all
    @output_file = 'documentation.md'
    
    def template
      raise 'You must set a template file.' unless template_file
      File.read(template_file)
    end

    def run_all_tests
      run_all
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
smashing_docs-1.2.1 lib/conf.rb
smashing_docs-1.2.0 lib/conf.rb
smashing_docs-1.1.0 lib/conf.rb