Class: DTK::DSL::DirectoryGenerator
- Inherits:
-
Object
- Object
- DTK::DSL::DirectoryGenerator
- 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
-
.add_file?(file_type, file_content, opts = {}) ⇒ Boolean
Adds or modifies file; returns true if new file or any change.
Class Method Details
.add_file?(file_type, file_content, opts = {}) ⇒ Boolean
Adds or modifies file; returns true if new file or any change
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 |