Class: Smartgen::Configuration

Inherits:
ObjectHash
  • Object
show all
Defined in:
lib/smartgen/configuration.rb

Overview

Holds configurations for each smartgen resource.

Instance Attribute Summary collapse

Method Summary

Methods inherited from ObjectHash

#dup, #inspect, #respond_to?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Smartgen::ObjectHash

Instance Attribute Details

#output_folderObject

The output folder, where all generated files will be located.

default:

nil


19
20
21
# File 'lib/smartgen/configuration.rb', line 19

def output_folder
  @output_folder
end

#src_filesObject

An array with all the source files that should be generated.

Each entry may be a glob, such as ‘doc/*/’. Only files with extensions supported by the registered engines will be used. Files without extensions will be used as well, but they will use the highest priority engine.

default:

[]


13
14
15
# File 'lib/smartgen/configuration.rb', line 13

def src_files
  @src_files
end