Class: Bhook::RootDirectory

Inherits:
Directory show all
Extended by:
T::Sig
Defined in:
lib/bhook/root_directory.rb

Constant Summary

Constants inherited from Directory

Directory::GIT_DIR, Directory::MD_EXT

Instance Method Summary collapse

Methods inherited from Directory

#all_md_files, new_root_directory, #to_s, #write!

Constructor Details

#initialize(src_path, out_path) ⇒ RootDirectory

Returns a new instance of RootDirectory.



9
10
11
# File 'lib/bhook/root_directory.rb', line 9

def initialize(src_path, out_path)
  super(src_path, out_path, Git.open(src_path), Bhook::SourceConfig.new(src_path))
end