Method: AsProject::EclipseProject#initialize
- Defined in:
- lib/eclipse_project.rb
#initialize(dir = nil) ⇒ EclipseProject
Returns a new instance of EclipseProject.
7 8 9 10 11 12 13 14 |
# File 'lib/eclipse_project.rb', line 7 def initialize(dir=nil) super(dir) @project_name = '' @file_path = nil if(!dir.nil?) self.file_path = File.join(dir, '.project') end end |