require "assetify/colored" require "assetify/helpers" require "assetify/asset" require "assetify/tui" require "assetify/dsl" require "assetify/pkg" module Assetify class NoJSFile < StandardError end Opt = { :jspath => "public/javascripts", :csspath => "public/stylesheets", :imgpath => "public/images", :newname => true } TSIZE = 80 LINE = TUI.new class << self def no_jsfile! print "Jsfile not found, create one? [Y/n] " res = gets.chomp unless res =~ /n|N/ File.open("Jsfile", "w+") do |f| f.print <