Class: Arborist::Loader

Inherits:
Object
  • Object
show all
Extended by:
Loggability, Pluggability
Defined in:
lib/arborist/loader.rb

Overview

Abstract base class for Arborist loader strategies

Direct Known Subclasses

File

Defined Under Namespace

Classes: File

Instance Method Summary collapse

Instance Method Details

#monitorsObject

Return an Enumerator that yields Arborist::Monitors loaded from the target directory.

Raises:

  • (NotImplementedError)


30
31
32
# File 'lib/arborist/loader.rb', line 30

def monitors
  raise NotImplementedError, "%p needs to implement #monitors"
end

#nodesObject

Return an Enumerator that yields Arborist::Nodes loaded from the target directory.

Raises:

  • (NotImplementedError)


23
24
25
# File 'lib/arborist/loader.rb', line 23

def nodes
  raise NotImplementedError, "%p needs to implement #nodes"
end

#observersObject

Return an Enumerator that yields Arborist::Observers loaded from the target directory.

Raises:

  • (NotImplementedError)


37
38
39
# File 'lib/arborist/loader.rb', line 37

def observers
  raise NotImplementedError, "%p needs to implement #observers"
end