Sha256: 33e42ea206f25278f4ad72639e46d21de2189f36c2cd5b1a2bd7b477e4fcbdd5
Contents?: true
Size: 858 Bytes
Versions: 3
Compression:
Stored size: 858 Bytes
Contents
module Toadie module Configuration def output_path output_path = File.join(root, output_dir) FileUtils.mkdir_p output_path output_path end def assets_path(filename = '') File.join(Toadie.output_path, 'assets', Toadie.version, filename) end def file_extensions=(values) @file_extensions = values end def file_extensions @file_extensions end def default_todo_markers [ 'TODO' ] end def todo_markers=(values) @todo_markers = values end def todo_markers @todo_markers || Toadie.default_todo_markers end def output_dir 'toadie' end def root File.expand_path(Dir.getwd) end def version Toadie::VERSION end def test? @test end def test=(value) @test = value end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
toadie-0.0.8 | lib/toadie/configuration.rb |
toadie-0.0.7 | lib/toadie/configuration.rb |
toadie-0.0.6 | lib/toadie/configuration.rb |