Module: Jzip::Assets

Extended by:
Assets
Included in:
Assets
Defined in:
lib/jzip/assets.rb

Instance Method Summary collapse

Instance Method Details

#install_defaultsObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/jzip/assets.rb', line 6

def install_defaults
  puts "Installing defaults..."

  create_default_template_location
  File.open(File.join(default_template_location, "defaults.jz"), "w") do |f|
    f.write("\n//= require /defaults\n")
  end

  puts "Done"
end