Class: PetitFelix::Output
- Inherits:
-
Object
- Object
- PetitFelix::Output
- Defined in:
- lib/petit-felix.rb
Instance Method Summary collapse
-
#initialize(cl_args: [], options: {}) ⇒ Output
constructor
cl_args - command line arguments passed from CLI options - hash passed by developer containing default rendering options.
Constructor Details
#initialize(cl_args: [], options: {}) ⇒ Output
cl_args - command line arguments passed from CLI options - hash passed by developer containing default rendering options
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/petit-felix.rb', line 14 def initialize(cl_args: [], options: {}) # Creates a new worker manager, which has all the worker stuff wm = PetitFelix::TaskManager.new ## Loads options from default values, ./default.cfg config = PetitFelix::Config.new = config.load_config wm, , cl_args ## Starts producing stuff PetitFelix::Generator.new.render_files wm, end |