Sha256: 912e3f3e9d3c211a732cc6dd2a1424b2919e28c06259bc217f3d9c13d1163314
Contents?: true
Size: 460 Bytes
Versions: 82
Compression:
Stored size: 460 Bytes
Contents
dir = File.join(Rails.root, "..", "..", "lib", "generators", "ckeditor", "templates") # Load the CKEditor initializer from the codebase. initializer = ERB.new(File.read(File.join(dir, "ckeditor.rb"))) options = { :orm => CKEDITOR_ORM } eval initializer.result(binding) # Also load the specific initializer for the selected backend. initializer = File.join(dir, "base", CKEDITOR_BACKEND.to_s, "initializer.rb") require initializer if File.exist?(initializer)
Version data entries
82 entries across 82 versions & 6 rubygems