Class: DTK::DSL::DirectoryGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/dsl/directory_generator.rb

Overview

Abstract class; application that uses this library must provide a concrete class that inherits from this

Class Method Summary collapse

Class Method Details

.add_file?(file_type, file_content, opts = {}) ⇒ Boolean

Adds or modifies file; returns true if new file or any change

Returns:

  • (Boolean)

Raises:



23
24
25
# File 'lib/dsl/directory_generator.rb', line 23

def self.add_file?(file_type, file_content, opts = {})
  raise Error::NoMethodForConcreteClass.new(self.class)
end