Method: CompositeCode#initialize

Defined in:
lib/compositecode.rb

#initialize(command) ⇒ CompositeCode

Returns a new instance of CompositeCode.



10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/compositecode.rb', line 10

def initialize(command)
	@template_dir 	= command.template_dir
	@classes 		= command.classes
	@operations 	= command.operations
	@target_dir 	= command.target_dir
	@base_name		= command.base_name
	
	@template_files = Array.new
	@template_replace_keys = Array.new
	
	@codes = []
end