Class: Arborist::Loader
- Inherits:
-
Object
- Object
- Arborist::Loader
- Extended by:
- Loggability, Pluggability
- Defined in:
- lib/arborist/loader.rb
Overview
Abstract base class for Arborist loader strategies
Direct Known Subclasses
Defined Under Namespace
Classes: File
Instance Method Summary collapse
-
#monitors ⇒ Object
Return an Enumerator that yields Arborist::Monitors loaded from the target directory.
-
#nodes ⇒ Object
Return an Enumerator that yields Arborist::Nodes loaded from the target directory.
-
#observers ⇒ Object
Return an Enumerator that yields Arborist::Observers loaded from the target directory.
Instance Method Details
#monitors ⇒ Object
Return an Enumerator that yields Arborist::Monitors loaded from the target directory.
30 31 32 |
# File 'lib/arborist/loader.rb', line 30 def monitors raise NotImplementedError, "%p needs to implement #monitors" end |
#nodes ⇒ Object
Return an Enumerator that yields Arborist::Nodes loaded from the target directory.
23 24 25 |
# File 'lib/arborist/loader.rb', line 23 def nodes raise NotImplementedError, "%p needs to implement #nodes" end |
#observers ⇒ Object
Return an Enumerator that yields Arborist::Observers loaded from the target directory.
37 38 39 |
# File 'lib/arborist/loader.rb', line 37 def observers raise NotImplementedError, "%p needs to implement #observers" end |