Method: Ore::Project#add_file
- Defined in:
- lib/ore/project.rb
#add_file(path) ⇒ Object (protected)
Adds a file to the project.
485 486 487 |
# File 'lib/ore/project.rb', line 485 def add_file(path) check_file(path) { |file| @files << file } end |