Module: Flak::Template::Shell::Settings

Extended by:
MergeEngine
Defined in:
lib/flak/rake/templates/shell.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from MergeEngine

flatten_yaml, flatten_yaml_file, infuse, settings_modifications

Class Method Details

.extended(target) ⇒ Object



12
13
14
# File 'lib/flak/rake/templates/shell.rb', line 12

def self.extended target
  infuse target
end

Instance Method Details

#shell_script_destination(file) ⇒ Object



19
20
21
22
23
24
# File 'lib/flak/rake/templates/shell.rb', line 19

def shell_script_destination(file)     
  bind = binding()
  Flak::Errors.assert("@settings[:revision_directory]", "String", bind,__FILE__)

  File.join(@settings[:revision_directory], 'bin', file.pathmap('%f'))   
end