Sha256: 566e312013097804f85a186cd8261151e988fbd6699983f7c4c398f096754aa6

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

class DocYoSelf::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
doc_yo_self-0.0.2 lib/conf.rb
doc_yo_self-0.0.1 lib/conf.rb