Module: Ritsu::SrcFiles::AddHeaderFile

Included in:
Project, AddUnit, Target
Defined in:
lib/ritsu/src_files/header_file.rb

Instance Method Summary collapse

Instance Method Details

#add_header_file(path, options = {}) ⇒ Object



39
40
41
42
# File 'lib/ritsu/src_files/header_file.rb', line 39

def add_header_file(path, options={})
  src_path = compute_src_path(path, options)
  HeaderFile.new(src_path, self)
end

#add_header_files(*paths) ⇒ Object



44
45
46
47
48
# File 'lib/ritsu/src_files/header_file.rb', line 44

def add_header_files(*paths)
  paths.each do |path|
    add_header_file(path)
  end
end