Class: Exegesis::BaseDirectory
- Defined in:
- lib/exegesis/base_directory.rb
Instance Method Summary collapse
-
#initialize(root, searcher = FileSearcher) ⇒ BaseDirectory
constructor
A new instance of BaseDirectory.
-
#path ⇒ Object
(also: #root)
The path to the root of the project.
Constructor Details
#initialize(root, searcher = FileSearcher) ⇒ BaseDirectory
Returns a new instance of BaseDirectory.
21 22 23 |
# File 'lib/exegesis/base_directory.rb', line 21 def initialize(root, searcher = FileSearcher) super(nil, root, searcher) end |
Instance Method Details
#path ⇒ Object Also known as: root
The path to the root of the project
26 27 28 |
# File 'lib/exegesis/base_directory.rb', line 26 def path name end |