Class: Ichiban::PartialHTMLFile
- Inherits:
-
ProjectFile
- Object
- ProjectFile
- Ichiban::PartialHTMLFile
- Defined in:
- lib/ichiban/project_file.rb
Instance Attribute Summary
Attributes inherited from ProjectFile
Instance Method Summary collapse
-
#partial_name ⇒ Object
Returns something like ‘foo/bar’.
- #update ⇒ Object
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
#partial_name ⇒ Object
Returns something like ‘foo/bar’
93 94 95 96 97 98 |
# File 'lib/ichiban/project_file.rb', line 93 def partial_name File.basename( @abs.slice(Ichiban.project_root.length + 1..-1), File.extname(@abs) ) end |
#update ⇒ Object
100 101 102 |
# File 'lib/ichiban/project_file.rb', line 100 def update # no-op end |