Class: Smartgen::Configuration
- Inherits:
-
ObjectHash
- Object
- HashWithIndifferentAccess
- ObjectHash
- Smartgen::Configuration
- Defined in:
- lib/smartgen/configuration.rb
Overview
Holds configurations for each smartgen resource.
Instance Attribute Summary collapse
-
#output_folder ⇒ Object
The output folder, where all generated files will be located.
-
#src_files ⇒ Object
An array with all the source files that should be generated.
Method Summary
Methods inherited from ObjectHash
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Smartgen::ObjectHash
Instance Attribute Details
#output_folder ⇒ Object
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_files ⇒ Object
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 |