Sha256: 4aee3b7a90d1c1a17a7bcd4ec9372ae41282f97ddb95298f2b50453ef5c5fe49

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

module Rakyll
  module Compiler
    class Copy
      include SetFilename

      def initialize(source_filename)
        @source_filename = source_filename
        set_filename(source_filename)
      end

      def save
        FileUtils.copy(@source_filename, @filename)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rakyll-0.1.0 lib/rakyll/compiler/copy.rb