Method: AsProject::EclipseProject#file_path=
- Defined in:
- lib/eclipse_project.rb
#file_path=(path) ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/eclipse_project.rb', line 16 def file_path=(path) @file_path = path begin File.open(path, 'r') do |f| parse(f.read) end rescue @project_name = File.dirname(Dir.pwd) end end |