Method: FileCreator#print_file_content
- Defined in:
- lib/ccios/file_creator.rb
#print_file_content(prefix, suffix) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/ccios/file_creator.rb', line 39 def print_file_content(prefix, suffix) file_path = @classes_path + '/' + suffix + '.swift' code_templater = CodeTemplater.new() template = code_templater.content_for_suffix(prefix, suffix) puts "Add this snippet to #{file_path}" puts template puts "\n" end |