Class: KCommercial::Resources::FileGenerator
- Inherits:
-
Object
- Object
- KCommercial::Resources::FileGenerator
- Defined in:
- lib/KCommercialPipeline/core/resource/file_generator.rb,
lib/KCommercialPipeline/core/resource/code_generator/file_generator.rb
Overview
Generator an code file
Instance Method Summary collapse
- #generate(path, bind_params) ⇒ Object
-
#initialize(template_path) ⇒ FileGenerator
constructor
initialize a new file generator.
Constructor Details
#initialize(template_path) ⇒ FileGenerator
initialize a new file generator
7 8 9 |
# File 'lib/KCommercialPipeline/core/resource/file_generator.rb', line 7 def initialize(template_path) @template_path = template_path end |
Instance Method Details
#generate(path, bind_params) ⇒ Object
11 12 13 |
# File 'lib/KCommercialPipeline/core/resource/file_generator.rb', line 11 def generate(path, bind_params) end |