Module: HeaderGenerator
- Defined in:
- lib/header_generator.rb
Class Method Summary collapse
Class Method Details
.create_for(path, config) ⇒ Object
21 22 23 24 25 |
# File 'lib/header_generator.rb', line 21 def HeaderGenerator.create_for(path, config) info = config.project_info.merge({file_name: File.basename(path)}) = config.template % info Comment.comment(, config.get_comment(File.extname(path))) end |