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.3.2'.freeze
Class Method Summary collapse
-
.generate(sheet_name, sheet_index, columns, path) ⇒ Object
generates a template at the specific path.
Class Method Details
.generate(sheet_name, sheet_index, columns, 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, path) Seek::SampleTemplates::Generator.new( path, create_json(columns, sheet_index, sheet_name) ).generate end |