Module: Ritsu::SrcFiles::AddUiFile

Included in:
Project, Target
Defined in:
lib/ritsu/ext/qt/src_files/ui_file.rb

Instance Method Summary collapse

Instance Method Details

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



25
26
27
28
# File 'lib/ritsu/ext/qt/src_files/ui_file.rb', line 25

def add_ui_file(path, options={})
  src_path = compute_src_path(path, options)
  UiFile.new(src_path, self)
end

#add_ui_files(*paths) ⇒ Object



30
31
32
33
34
# File 'lib/ritsu/ext/qt/src_files/ui_file.rb', line 30

def add_ui_files(*paths)
  paths.each do |path|
    add_ui_file(path)
  end
end