Class: Ichiban::MiscAssetFile

Inherits:
ProjectFile show all
Defined in:
lib/ichiban/project_file.rb

Instance Attribute Summary

Attributes inherited from ProjectFile

#abs, #rel

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_compiledObject



167
168
169
# File 'lib/ichiban/project_file.rb', line 167

def dest_rel_to_compiled
  @rel.slice(@rel.slice('assets/misc/'.length..-1))
end

#updateObject



171
172
173
# File 'lib/ichiban/project_file.rb', line 171

def update
  Ichiban::AssetCompiler.new(self).compile
end