Method: Project#initialize

Defined in:
lib/project.rb

#initialize(name) {|_self| ... } ⇒ Project

Returns a new instance of Project.

Yields:

  • (_self)

Yield Parameters:

  • _self (Project)

    the object that the method was called on



23
24
25
26
27
28
29
30
31
# File 'lib/project.rb', line 23

def initialize(name)

  @name = name
  @targets = []
  @config_files = {}
    
  yield self

end