Method: Assette::CompiledFile#add_dependency
- Defined in:
- lib/assette/compiled_file.rb
#add_dependency(d) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/assette/compiled_file.rb', line 10 def add_dependency d c = [] c << "\n" c << file.comment_str % "Start: #{d.path}" c << code_for_dependency(d) c << file.comment_str % "End: #{d.path}" self << c.join("\n") end |