Sha256: 9f014d98ff16dc99f7e71449db0c510b310b314667f3e18c883a37cf154436a9
Contents?: true
Size: 651 Bytes
Versions: 2
Compression:
Stored size: 651 Bytes
Contents
module QEDProject module Libraries class Skeleton < QEDProject::Libraries::Base library :skeleton set_js_files ["tabs.js"] set_css_files ["base.css", "skeleton.css", "layout.css" ] set_image_files [ "apple-touch-icon-114x114.png", "apple-touch-icon-72x72.png", "apple-touch-icon.png", "favicon.ico" ] def generate! super index_file = File.join(self.project.path, self.project.public_dir, "index.html") FileUtils.rm_rf index_file if File.exist?(index_file) render_template_to_file "index.html", index_file, binding end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qedproject-0.0.9 | lib/qedproject/libraries/skeleton.rb |
qedproject-0.0.8 | lib/qedproject/libraries/skeleton.rb |