Method: ModJS::Blueprint#write_temp_file
- Defined in:
- lib/modjs-architecture.rb
#write_temp_file ⇒ Object
92 93 94 95 96 97 98 99 100 101 |
# File 'lib/modjs-architecture.rb', line 92 def write_temp_file tmp_file = "#{@root}/#{@config[:name].downcase}.js" File.open(tmp_file, "w+") do |file| write_dependencies file write_core file write_autoload file end tmp_file end |