Class: Ichiban::EJSFile
- Inherits:
-
ProjectFile
- Object
- ProjectFile
- Ichiban::EJSFile
- Defined in:
- lib/ichiban/project_file.rb
Instance Attribute Summary
Attributes inherited from ProjectFile
Instance Method Summary collapse
Methods inherited from ProjectFile
#dest, from_abs, #has_dest?, #initialize, register_type, #rel_to, #replace_ext
Constructor Details
This class inherits a constructor from Ichiban::ProjectFile
Instance Method Details
#dest_rel_to_compiled ⇒ Object
122 123 124 |
# File 'lib/ichiban/project_file.rb', line 122 def dest_rel_to_compiled File.join('ejs', File.basename(@rel, '.ejs') + '.js') end |
#update ⇒ Object
126 127 128 |
# File 'lib/ichiban/project_file.rb', line 126 def update Ichiban::EJSCompiler.new(self).compile end |