Class: PointRb::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/pointrb/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Project

Returns a new instance of Project.



6
7
8
9
# File 'lib/pointrb/project.rb', line 6

def initialize(name)
  @name = name
  @path = File.join(Dir.pwd, name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/pointrb/project.rb', line 4

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



4
5
6
# File 'lib/pointrb/project.rb', line 4

def path
  @path
end