Class: Filemerger::MergefileGenerator
- Inherits:
-
Object
- Object
- Filemerger::MergefileGenerator
- Defined in:
- lib/filemerger/generation/mergefile_generator.rb
Class Method Summary collapse
Class Method Details
.generate ⇒ Object
5 6 7 8 9 |
# File 'lib/filemerger/generation/mergefile_generator.rb', line 5 def self.generate file_contents = IO.read(File.dirname(__FILE__) + '/mergefile.template') File.open('Mergefile', 'w+') { |file| file.write(file_contents) } Poster.post_mergefile_generated end |