Sha256: b7f45d8d6f5580a8d80ee5853987ca7fb43f1b62df33255b5f92b61b36b3303d
Contents?: true
Size: 491 Bytes
Versions: 8
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true 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
8 entries across 8 versions & 2 rubygems