Module: Card::FileCardCreator::AbstractFileCard::SourceFile
- Included in:
- Card::FileCardCreator::AbstractFileCard
- Defined in:
- lib/card/tasks/card/file_card_creator/abstract_file_card/source_file.rb
Overview
Module that provides #create_source_file method for a classes that inherit from AbstractFileCard
Instance Method Summary collapse
Instance Method Details
#create_source_file ⇒ Object
7 8 9 10 11 |
# File 'lib/card/tasks/card/file_card_creator/abstract_file_card/source_file.rb', line 7 def create_source_file write_to_mod source_file_dir, source_file_name do |f| f.puts source_file_content end end |