Sha256: 1800e6e2c0f2d82de1011c7050d899ed0cb6a57b5528ed3384b4740fcf4b8752

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

class SmashingDocs::Conf
  class << self
    attr_accessor :template_file, :output_file

    @output_file = 'documentation.md'

    def template
      raise 'You must set a template file.' unless template_file
      @template ||= File.read(template_file)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smashing_docs-0.1.0 lib/conf.rb
smashing_docs-0.0.2 lib/conf.rb