Sha256: 08d6e93530968451e1b859ababc2565c0e29ad65fd83a92f54a9d8177e3cd79e
Contents?: true
Size: 430 Bytes
Versions: 5
Compression:
Stored size: 430 Bytes
Contents
require 'esp-ckeditor/engine' require 'pathname' module EspCkeditor def self.root_path @root_path ||= Pathname.new( File.dirname(File.expand_path('../', __FILE__)) ) end def self.assets Dir[root_path.join('app/assets/javascripts/esp-ckeditor/**', '*.{js,css}')].inject([]) do |list, path| list << Pathname.new(path).relative_path_from(root_path.join('app/assets/javascripts')) list end end end
Version data entries
5 entries across 5 versions & 1 rubygems