Method: Bhook::ThemeGenerator#initialize
- Defined in:
- lib/bhook/theme_generator.rb
#initialize(output_path) ⇒ ThemeGenerator
Returns a new instance of ThemeGenerator.
9 10 11 12 13 |
# File 'lib/bhook/theme_generator.rb', line 9 def initialize(output_path) @output_path = T.let(File.join(output_path, 'theme'), String) @template_files = T.let([Bhook::PAGE_TEMPLATE_PATH, Bhook::AFTER_H1_TEMPLATE_PATH], T::Array[String]) end |