Module: Distil::Debug

Included in:
CssDebugProduct, JavascriptDebugProduct
Defined in:
lib/distil/product/debug.rb

Overview

Mix in for concatenating products

Instance Method Summary collapse

Instance Method Details

#after_files(f) ⇒ Object



13
14
# File 'lib/distil/product/debug.rb', line 13

def after_files(f)
end

#before_files(f) ⇒ Object

files -> an enumerable collection of SourceFiles join_string -> a string to use to join the files together target -> the container of the files



10
11
# File 'lib/distil/product/debug.rb', line 10

def before_files(f)
end

#external_filesObject



20
21
22
23
24
25
26
27
28
# File 'lib/distil/product/debug.rb', line 20

def external_files
  return @external_files if @external_files
  @external_files= []
  
  target.include_projects.each { |ext|
    @external_files << ext.product_name(:debug, File.extname(filename)[1..-1])
  }
  @external_files
end

#filenameObject



16
17
18
# File 'lib/distil/product/debug.rb', line 16

def filename
  debug_name
end