class Zenweb::Page::Binary
A file representing a binary. This file is not rendered in any way, and doesnβt have the usual dependencies because its content would not be modified to changes in config or the like.
Public Instance Methods
Source
# File lib/zenweb/page.rb, line 509 def generate warn "Copying #{url_path}" cp path, url_path, preserve:true, verbose: Rake.application.options.trace # touch url_path, mtime: date, verbose: Rake.application.options.trace end
Source
# File lib/zenweb/page.rb, line 515 def wire file self.path directory url_dir file url_path => url_dir file url_path => path do self.generate end task :site => url_path end