Module: Flak::Template::Maya::Settings
Class Method Summary
collapse
Instance Method Summary
collapse
flatten_yaml, flatten_yaml_file, infuse, settings_modifications
Class Method Details
.extended(target) ⇒ Object
10
11
12
|
# File 'lib/flak/rake/templates/maya.rb', line 10
def self.extended target
infuse target
end
|
.settings_modifications(settings) ⇒ Object
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/flak/rake/templates/maya.rb', line 14
def self.settings_modifications settings
mods = Hash.new
bind = binding()
Flak::Errors.assert("settings[:revision_directory]", "String", bind,__FILE__)
mods[:maya_release_path] = File.join( settings[:revision_directory],"maya" )
mods
end
|
Instance Method Details
#dg_icon_build_filename(file) ⇒ Object
29
30
31
|
# File 'lib/flak/rake/templates/maya.rb', line 29
def dg_icon_build_filename(file)
icon_build_filename(file)
end
|
#icon_build_filename(file) ⇒ Object
33
34
35
36
37
|
# File 'lib/flak/rake/templates/maya.rb', line 33
def icon_build_filename(file)
bind = binding()
Flak::Errors.assert("@settings[:build_directory]", "String", bind,__FILE__)
File.join(@settings[:build_directory],'icons', file.pathmap('%f').ext('xpm') )
end
|
#outliner_icon_build_filename(file) ⇒ Object
25
26
27
|
# File 'lib/flak/rake/templates/maya.rb', line 25
def outliner_icon_build_filename(file)
icon_build_filename("out_#{file}")
end
|