Class: DevSuite::Utils::FileLoader::Loader::Base

Inherits:
Construct::Component::Base show all
Defined in:
lib/dev_suite/utils/file_loader/loader/base.rb

Direct Known Subclasses

Json, Text, Yaml

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Construct::Component::Base

component_key

Class Method Details

.extensionsObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/dev_suite/utils/file_loader/loader/base.rb', line 9

def extensions
  raise NotImplementedError, "You must implement the extensions method"
end

Instance Method Details

#load(_path) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/dev_suite/utils/file_loader/loader/base.rb', line 14

def load(_path)
  raise NotImplementedError, "You must implement the load method"
end