Module: Documentarian::Configuration

Defined in:
lib/documentarian.rb

Class Method Summary collapse

Class Method Details

.asset_pathObject



22
23
24
# File 'lib/documentarian.rb', line 22

def self.asset_path
  Pathname.new(File.join(self.root, 'assets'))
end

.documentation_pathObject



18
19
20
# File 'lib/documentarian.rb', line 18

def self.documentation_path
  Pathname.new(File.join(self.root, 'documentation'))
end

.root=(value) ⇒ Object



14
15
16
# File 'lib/documentarian.rb', line 14

def self.root=(value)
  @@root ||= Pathname.new(value)
end