Sha256: 7b111415bb34af6d625de5c8fba1d53540792d4da28b44e8e13307f33ddfb84c
Contents?: true
Size: 285 Bytes
Versions: 83
Compression:
Stored size: 285 Bytes
Contents
module Octopress module Ink class StaticFileContent < StaticFile def write(dest) dest_path = destination(dest) FileUtils.mkdir_p(File.dirname(dest_path)) File.open(dest_path, 'w') { |f| f.write(@source) } true end end end end
Version data entries
83 entries across 83 versions & 1 rubygems