Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
make module file path its own method
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase committed Jul 23, 2020
1 parent 4a38743 commit 440f69d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion generator/generic/generic_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ def generate_sequence(metadata)
File.write(file_name, output)
end

def module_file_path
"#{module_yml_out_path}/#{@path}_module.yml"
end

def generate_module
file_name = "#{module_yml_out_path}/#{@path}_module.yml"
file_name = module_file_path

module_info = {
title: @path,
Expand Down

0 comments on commit 440f69d

Please # to comment.