Class: WorkOn::Project

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

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Project

Returns a new instance of Project.



5
6
7
8
# File 'lib/work_on/project.rb', line 5

def initialize(config)
  @config = config
  @terminal = Terminal.instance
end

Instance Method Details

#project_dirObject



10
11
12
# File 'lib/work_on/project.rb', line 10

def project_dir
  @config.project_dir
end

#work!Object

Start working on this project



15
16
17
# File 'lib/work_on/project.rb', line 15

def work!
  initialize_windows
end