Class: QEDProject::Libraries::Jquerymobile

Inherits:
Base
  • Object
show all
Defined in:
lib/qedproject/libraries/jquerymobile.rb

Instance Attribute Summary

Attributes inherited from Base

#lib_root, #project, #template_root

Instance Method Summary collapse

Methods inherited from Base

#copy_css, #copy_images, #copy_js, depends_on, #initialize, library, #render_template, set_css_files, set_image_files, set_js_files

Methods included from Helpers

#cp, #cp_r, #create_file, #mkdir_p, #render_template_to_file

Constructor Details

This class inherits a constructor from QEDProject::Libraries::Base

Instance Method Details

#generate!Object



16
17
18
19
20
# File 'lib/qedproject/libraries/jquerymobile.rb', line 16

def generate!
  super         
  file = File.join(self.project.path, self.project.public_dir, "index-mobile.html")
  render_template "index.html", file
end