Sha256: 12dfe750440ada0eabb84bfe3f3098416ef4dc8577c3697ac3a049d92dbfec04
Contents?: true
Size: 546 Bytes
Versions: 22
Compression:
Stored size: 546 Bytes
Contents
module Garage module Docs class Application def initialize(application) @application = application end def name @application.class.name.split("::")[0] end def documents cached = Garage.configuration.docs.docs_cache_enabled @documents ||= pathnames.map {|pathname| Garage::Docs::Document.new(pathname, cached) } end private def pathnames Pathname.glob("#{Garage.configuration.docs.document_root}/resources/**/*.md").sort end end end end
Version data entries
22 entries across 22 versions & 1 rubygems