Sha256: 2835e1416606bc19928ea98adb15b8f4b7098e31daf947616fc534c4299d5eb0
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 Bytes
Contents
# frozen_string_literal: true module Trifle module Docs class Configuration attr_accessor :path, :views, :layout, :namespace, :cache def initialize @harvesters = [] @path = nil @namespace = nil @cache = true end def harvester @harvester ||= Trifle::Docs::Harvester::Walker.new( path: path, harvesters: @harvesters, namespace: namespace, cache: cache ) end def register_harvester(harvester) @harvesters << harvester end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trifle-docs-0.3.1 | lib/trifle/docs/configuration.rb |
trifle-docs-0.3.0 | lib/trifle/docs/configuration.rb |