Module: Seek::SampleTemplates
- Defined in:
- lib/seek/sample_templates.rb,
lib/seek/sample_templates/column.rb,
lib/seek/sample_templates/version.rb,
lib/seek/sample_templates/generator.rb
Overview
Main entry point for generating templates
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.5.1'.freeze
Class Method Summary collapse
-
.generate(sheet_name, sheet_index, columns, base_template_path, output_path) ⇒ Object
generates a template at the specific path.
Class Method Details
.generate(sheet_name, sheet_index, columns, base_template_path, output_path) ⇒ Object
generates a template at the specific path
8 9 10 11 12 |
# File 'lib/seek/sample_templates.rb', line 8 def self.generate(sheet_name, sheet_index, columns, base_template_path, output_path) Seek::SampleTemplates::Generator.new( output_path, create_json(sheet_name,sheet_index,columns,base_template_path) ).generate end |