module FoxPage::Builders::FileCopy
Public Instance Methods
copy_public_files()
click to toggle source
# File lib/fox_page/builders/file_copy.rb, line 6 def copy_public_files puts "COPY\tpublic/* => #{OUTPUT_DIRECTORY}/" FileUtils.cp_r public_path, output_path end
Private Instance Methods
output_path()
click to toggle source
# File lib/fox_page/builders/file_copy.rb, line 17 def output_path app.root.join(OUTPUT_DIRECTORY) end
public_path()
click to toggle source
# File lib/fox_page/builders/file_copy.rb, line 13 def public_path app.root.join("public", ".") end