Class: Target

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Target.

Yields:

  • (_self)

Yield Parameters:

  • _self (Target)

    the object that the method was called on



6
7
8
9
10
11
12
13
# File 'lib/project.rb', line 6

def initialize(name)
	
	@config_files = {}
	@name = name
		
	yield self
	
end

Instance Attribute Details

#config_filesObject (readonly)

Returns the value of attribute config_files.



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

def config_files
  @config_files
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end