Sha256: 37aaccd182813dcf0d10fcc8f7764cd640dc21de8dfec7461ffbdb5c3768c082

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

class Tbbcejs < Rails::Generator::Base
	def manifest
		record do |m|
			#Controller and Javascripts
			m.file "tbbce.js", "public/javascripts/tbbce.js"
			m.file "jquery.fieldselection.js", "public/javascripts/jquery.fieldselection.js"
			m.directory "app/views/tbbce"
			m.file "index.js.erb", "app/views/tbbce/index.js.erb"
			m.file "tbbce_controller.js", "app/controllers/tbbce_controller.js"
			#Icons
			m.directory "public/images/tbbce"
			Dir.foreach("icons") do |f|
				if f != "." && f != ".." then
					m.file "icons/#{f}", "public/images/tbbce/#{f}"
				end
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trainbbcodeeditor-0.1.0 rails_generators/tbbcejs/tbbcejs_generator.rb