class Fangorn::StaticFile

Public Class Methods

new(input) click to toggle source
Calls superclass method Fangorn::Output::new
# File lib/fangorn/static_file.rb, line 5
def initialize(input)
  output = File.join(Output::dest, input.sub(File.join(Output::source, ''), ''))
  super input, output
end

Protected Instance Methods

create_command() click to toggle source
# File lib/fangorn/static_file.rb, line 11
def create_command
  FileUtils.cp @input, @output
end